Code highlighting implemented
[biaweb_qt.git] / article_dialog.ui
index a4259ef..3d3b726 100644 (file)
@@ -414,19 +414,6 @@ p, li { white-space: pre-wrap; }
      </property>
     </widget>
    </item>
      </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">
    <item row="6" column="0" colspan="2">
     <widget class="QLabel" name="label_4">
      <property name="text">
@@ -543,7 +530,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;
 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/>
      </property>
      <property name="text">
       <string/>
@@ -553,7 +540,7 @@ p, li { white-space: pre-wrap; }
        <normaloff>:/bia/resources/center.gif</normaloff>:/bia/resources/center.gif</iconset>
      </property>
      <property name="shortcut">
        <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>
      </property>
      <property name="autoRaise">
       <bool>false</bool>
@@ -616,6 +603,24 @@ p, li { white-space: pre-wrap; }
      </property>
     </widget>
    </item>
      </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>
+    </widget>
+   </item>
   </layout>
  </widget>
  <tabstops>
   </layout>
  </widget>
  <tabstops>
@@ -816,8 +821,8 @@ p, li { white-space: pre-wrap; }
    <slot>onJustify()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>98</x>
@@ -832,8 +837,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBullet()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>336</x>
@@ -848,8 +853,8 @@ p, li { white-space: pre-wrap; }
    <slot>onNumber()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>372</x>
@@ -864,8 +869,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBQuote()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -880,8 +885,8 @@ p, li { white-space: pre-wrap; }
    <slot>onCode()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -896,8 +901,8 @@ p, li { white-space: pre-wrap; }
    <slot>onTable()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -912,8 +917,8 @@ p, li { white-space: pre-wrap; }
    <slot>onHRule()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -928,8 +933,8 @@ p, li { white-space: pre-wrap; }
    <slot>onPara()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -944,8 +949,8 @@ p, li { white-space: pre-wrap; }
    <slot>onBreak()</slot>
    <hints>
     <hint type="sourcelabel">
    <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>
     </hint>
     <hint type="destinationlabel">
      <x>311</x>
@@ -972,5 +977,6 @@ p, li { white-space: pre-wrap; }
   <slot>onHRule()</slot>
   <slot>onPara()</slot>
   <slot>onBreak()</slot>
   <slot>onHRule()</slot>
   <slot>onPara()</slot>
   <slot>onBreak()</slot>
+  <slot>onTextChanged()</slot>
  </slots>
 </ui>
  </slots>
 </ui>