Article editing fully implemented
[biaweb_qt.git] / article_dialog.ui
index a4259ef..1e8557c 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>654</width>
-    <height>544</height>
+    <height>548</height>
    </rect>
   </property>
   <property name="windowTitle">
    <bool>true</bool>
   </property>
   <layout class="QGridLayout" name="gridLayout">
-   <item row="0" column="0">
+   <item row="0" column="0" colspan="3">
     <widget class="QLabel" name="label">
+     <property name="font">
+      <font>
+       <weight>75</weight>
+       <bold>true</bold>
+      </font>
+     </property>
      <property name="text">
       <string>Title</string>
      </property>
    <item row="0" column="3" colspan="19">
     <widget class="QLineEdit" name="article_title"/>
    </item>
-   <item row="1" column="0" colspan="2">
+   <item row="1" column="0" colspan="3">
     <widget class="QLabel" name="label_2">
+     <property name="font">
+      <font>
+       <weight>50</weight>
+       <bold>false</bold>
+      </font>
+     </property>
      <property name="text">
       <string>Keywords</string>
      </property>
    <item row="1" column="3" colspan="19">
     <widget class="QLineEdit" name="keywords"/>
    </item>
-   <item row="2" column="0" colspan="2">
+   <item row="2" column="0" colspan="3">
     <widget class="QLabel" name="label_3">
+     <property name="font">
+      <font>
+       <weight>50</weight>
+       <bold>false</bold>
+      </font>
+     </property>
      <property name="text">
       <string>Summary</string>
      </property>
      </property>
     </widget>
    </item>
-   <item row="3" column="0" colspan="3">
+   <item row="3" column="0" colspan="4">
     <widget class="QLabel" name="label_5">
+     <property name="font">
+      <font>
+       <weight>75</weight>
+       <bold>true</bold>
+      </font>
+     </property>
      <property name="text">
       <string>Article content</string>
      </property>
@@ -414,19 +438,6 @@ p, li { white-space: pre-wrap; }
      </property>
     </widget>
    </item>
-   <item row="5" column="0" colspan="22">
-    <widget class="QPlainTextEdit" name="content">
-     <property name="minimumSize">
-      <size>
-       <width>0</width>
-       <height>210</height>
-      </size>
-     </property>
-     <property name="verticalScrollBarPolicy">
-      <enum>Qt::ScrollBarAlwaysOn</enum>
-     </property>
-    </widget>
-   </item>
    <item row="6" column="0" colspan="2">
     <widget class="QLabel" name="label_4">
      <property name="text">
@@ -447,7 +458,7 @@ p, li { white-space: pre-wrap; }
    <item row="6" column="16" colspan="6">
     <widget class="QSpinBox" name="rating">
      <property name="minimum">
-      <number>1</number>
+      <number>-1</number>
      </property>
      <property name="maximum">
       <number>10</number>
@@ -456,6 +467,12 @@ p, li { white-space: pre-wrap; }
    </item>
    <item row="7" column="0" colspan="11">
     <widget class="QLabel" name="label_7">
+     <property name="font">
+      <font>
+       <weight>75</weight>
+       <bold>true</bold>
+      </font>
+     </property>
      <property name="text">
       <string>Stub (file name without HTML extension)</string>
      </property>
@@ -543,7 +560,7 @@ p, li { white-space: pre-wrap; }
 p, li { white-space: pre-wrap; }
 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Center para&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Shortcut: Ctrl+C&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Shortcut: Ctrl+O&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
      </property>
      <property name="text">
       <string/>
@@ -553,7 +570,7 @@ p, li { white-space: pre-wrap; }
        <normaloff>:/bia/resources/center.gif</normaloff>:/bia/resources/center.gif</iconset>
      </property>
      <property name="shortcut">
-      <string>Ctrl+C</string>
+      <string>Ctrl+O</string>
      </property>
      <property name="autoRaise">
       <bool>false</bool>
@@ -616,29 +633,33 @@ p, li { white-space: pre-wrap; }
      </property>
     </widget>
    </item>
+   <item row="5" column="0" colspan="22">
+    <widget class="QPlainTextEdit" name="content">
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>210</height>
+      </size>
+     </property>
+     <property name="font">
+      <font>
+       <family>Monospace</family>
+      </font>
+     </property>
+     <property name="verticalScrollBarPolicy">
+      <enum>Qt::ScrollBarAlwaysOn</enum>
+     </property>
+     <property name="tabChangesFocus">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
   </layout>
  </widget>
  <tabstops>
   <tabstop>article_title</tabstop>
   <tabstop>keywords</tabstop>
   <tabstop>summary</tabstop>
-  <tabstop>bold</tabstop>
-  <tabstop>italic</tabstop>
-  <tabstop>preformat</tabstop>
-  <tabstop>image</tabstop>
-  <tabstop>link</tabstop>
-  <tabstop>paraleft</tabstop>
-  <tabstop>paracenter</tabstop>
-  <tabstop>pararight</tabstop>
-  <tabstop>parajustify</tabstop>
-  <tabstop>bullets</tabstop>
-  <tabstop>numbered</tabstop>
-  <tabstop>blockquote</tabstop>
-  <tabstop>codeblock</tabstop>
-  <tabstop>table</tabstop>
-  <tabstop>hrule</tabstop>
-  <tabstop>paragraph</tabstop>
-  <tabstop>linebreak</tabstop>
   <tabstop>content</tabstop>
   <tabstop>category</tabstop>
   <tabstop>rating</tabstop>
@@ -816,8 +837,8 @@ p, li { white-space: pre-wrap; }
    <slot>onJustify()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>302</x>
-     <y>211</y>
+     <x>332</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>98</x>
@@ -832,8 +853,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBullet()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>355</x>
-     <y>199</y>
+     <x>386</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>336</x>
@@ -848,8 +869,8 @@ p, li { white-space: pre-wrap; }
    <slot>onNumber()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>387</x>
-     <y>195</y>
+     <x>422</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>372</x>
@@ -864,8 +885,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBQuote()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>423</x>
-     <y>203</y>
+     <x>458</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -880,8 +901,8 @@ p, li { white-space: pre-wrap; }
    <slot>onCode()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>457</x>
-     <y>203</y>
+     <x>494</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -896,8 +917,8 @@ p, li { white-space: pre-wrap; }
    <slot>onTable()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>492</x>
-     <y>203</y>
+     <x>530</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -912,8 +933,8 @@ p, li { white-space: pre-wrap; }
    <slot>onHRule()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>532</x>
-     <y>203</y>
+     <x>572</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -928,8 +949,8 @@ p, li { white-space: pre-wrap; }
    <slot>onPara()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>566</x>
-     <y>203</y>
+     <x>608</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -944,8 +965,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBreak()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>601</x>
-     <y>203</y>
+     <x>644</x>
+     <y>219</y>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -972,5 +993,6 @@ p, li { white-space: pre-wrap; }
   <slot>onHRule()</slot>
   <slot>onPara()</slot>
   <slot>onBreak()</slot>
+  <slot>onTextChanged()</slot>
  </slots>
 </ui>