--- /dev/null
+/* XPM */\r
+static char *demote[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"20 20 5 1",\r
+" c black",\r
+". c #0000BC",\r
+"X c blue",\r
+"o c #C71302",\r
+"O c None",\r
+/* pixels */\r
+"OOOOOOOOOOOOOOOOOOOO",\r
+"OOOO OOOOOOOOOOOOOOO",\r
+"OOO OOOOOOOOOOOOOOO",\r
+"OOOO OOOO OOO",\r
+"OOOO OOOOOOOOOOOOOOO",\r
+"OOOO OOOOOOOOX.OOOOO",\r
+"OOOOOOOOOOOOOXX.OOOO",\r
+"OOOO OOOOOOOOXXX.OOO",\r
+"OOO O OOXXXXXXXXX.OO",\r
+"OOOOO OOXXXXXXXXXX.O",\r
+"OOOO OOOXXXXXXXXX.OO",\r
+"OOO OOOOOOOXXX.OOO",\r
+"OOOOOOOOOOOOOXX.OOOO",\r
+"OOO OOOOOOOOX.OOOOO",\r
+"OOOOO OOOOOOOOOOOOOO",\r
+"OOOO OOOO OOO",\r
+"OOOOO OOOOOOOOOOOOOO",\r
+"OOO OOOOOOOOOOOOOOO",\r
+"OOOOOOOOOOOOOOOOOOOO",\r
+"OOOOOOOOOOOOOOOOOOOO"\r
+};\r
--- /dev/null
+/* XPM */\r
+static char *promote[] = {\r
+/* columns rows colors chars-per-pixel */\r
+"20 20 4 1",\r
+" c black",\r
+". c #0000BC",\r
+"X c blue",\r
+"o c None",\r
+/* pixels */\r
+"oooooooooooooooooooo",\r
+"oooo ooooooooooooooo",\r
+"ooo ooooooooooooooo",\r
+"oooo oooo ooo",\r
+"oooo ooooooooooooooo",\r
+"oooo o.Xoooooooooooo",\r
+"ooooo.XXoooooooooooo",\r
+"oooo.XXXoooooo oooo ",\r
+"ooo.XXXXXXXXX o oo ",\r
+"oo.XXXXXXXXXXoo ooo ",\r
+"ooo.XXXXXXXXXo oooo ",\r
+"oooo.XXXooooo o o ",\r
+"ooooo.XXoooooooooooo",\r
+"oooo o.Xoooooooooooo",\r
+"ooo o oooooooooooooo",\r
+"ooooo ooo ooo",\r
+"oooo ooooooooooooooo",\r
+"ooo oooooooooooooo",\r
+"oooooooooooooooooooo",\r
+"oooooooooooooooooooo"\r
+};\r
<rect>
<x>0</x>
<y>0</y>
- <width>257</width>
- <height>404</height>
+ <width>251</width>
+ <height>378</height>
</rect>
</property>
<property name="windowTitle" >
<property name="spacing" >
<number>6</number>
</property>
- <item row="3" column="0" colspan="2" >
- <layout class="QGridLayout" >
+ <item row="4" column="0" >
+ <layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="0" column="0" >
- <widget class="QPushButton" name="moveOutPB" >
+ <item>
+ <widget class="QToolButton" name="updateTB" >
<property name="toolTip" >
- <string>Decrease nesting depth of selected item</string>
+ <string>Update navigation tree</string>
</property>
<property name="text" >
- <string><- P&romote</string>
+ <string>...</string>
+ </property>
+ <property name="icon" >
+ <iconset>../../../../lib/images/reload.xpm</iconset>
+ </property>
+ <property name="iconSize" >
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
</widget>
</item>
- <item row="1" column="2" >
- <widget class="QPushButton" name="moveDownPB" >
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>16</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="moveOutTB" >
<property name="toolTip" >
- <string>Move selected item down by one</string>
+ <string>Decrease nesting depth of selected item</string>
</property>
<property name="text" >
- <string>D&own</string>
+ <string>...</string>
+ </property>
+ <property name="icon" >
+ <iconset>../../../../lib/images/promote.xpm</iconset>
+ </property>
+ <property name="iconSize" >
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
</widget>
</item>
- <item row="0" column="1" >
- <widget class="QPushButton" name="moveInPB" >
+ <item>
+ <widget class="QToolButton" name="moveInTB" >
<property name="toolTip" >
<string>Increase nesting depth of selected item</string>
</property>
<property name="text" >
- <string>De&mote -></string>
+ <string>...</string>
+ </property>
+ <property name="icon" >
+ <iconset>../../../../lib/images/demote.xpm</iconset>
+ </property>
+ <property name="iconSize" >
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
</widget>
</item>
- <item row="1" column="0" colspan="2" >
- <widget class="QPushButton" name="updatePB" >
+ <item>
+ <widget class="QToolButton" name="moveDownTB" >
<property name="toolTip" >
- <string>Update navigation tree</string>
+ <string>Move selected item down by one</string>
</property>
<property name="text" >
- <string>Upd&ate</string>
+ <string>...</string>
+ </property>
+ <property name="icon" >
+ <iconset>../../../../lib/images/down.xpm</iconset>
+ </property>
+ <property name="iconSize" >
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
</widget>
</item>
- <item row="0" column="2" >
- <widget class="QPushButton" name="moveUpPB" >
+ <item>
+ <widget class="QToolButton" name="moveUpTB" >
<property name="toolTip" >
<string>Move selected item up by one</string>
</property>
<property name="text" >
- <string>&Up</string>
+ <string>...</string>
+ </property>
+ <property name="icon" >
+ <iconset>../../../../lib/images/up.xpm</iconset>
+ </property>
+ <property name="iconSize" >
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
</widget>
</item>
</layout>
</item>
- <item row="0" column="1" >
- <widget class="QComboBox" name="typeCO" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip" >
- <string>Switch between table of contents, list of figures or list of tables, if available</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="QTreeView" name="tocTV" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="2" >
+ <item row="3" column="0" >
<widget class="QSlider" name="depthSL" >
<property name="toolTip" >
<string>Adjust the depth of the navigation tree</string>
</property>
</widget>
</item>
- <item row="0" column="0" >
+ <item row="2" column="0" >
+ <widget class="QTreeView" name="tocTV" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" >
<widget class="QLabel" name="typeLA" >
<property name="text" >
<string>&Type:</string>
</property>
</widget>
</item>
+ <item row="0" column="0" >
+ <widget class="QComboBox" name="typeCO" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip" >
+ <string>Switch between table of contents, list of figures or list of tables, if available</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<tabstops>
<tabstop>typeCO</tabstop>
<tabstop>tocTV</tabstop>
<tabstop>depthSL</tabstop>
- <tabstop>moveUpPB</tabstop>
- <tabstop>moveDownPB</tabstop>
- <tabstop>moveInPB</tabstop>
- <tabstop>moveOutPB</tabstop>
</tabstops>
<includes>
<include location="local" >qt_helpers.h</include>