123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <ui version="4.0" stdsetdef="1" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>SelectStyle</class>
- <widget class="QDialog" name="SelectStyle" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>200</width>
- <height>143</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Select Style</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QCheckBox" name="customStyle" >
- <property name="text" >
- <string>Custom &Style</string>
- </property>
- <property name="shortcut" >
- <string>Alt+S</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <spacer name="spacer42" >
- <property name="sizeHint" >
- <size>
- <width>33</width>
- <height>20</height>
- </size>
- </property>
- <property name="sizeType" >
- <enum>Expanding</enum>
- </property>
- <property name="orientation" >
- <enum>Horizontal</enum>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item row="0" column="1" >
- <widget class="QCheckBox" name="underlineChk" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&Underline</string>
- </property>
- <property name="shortcut" >
- <string>Alt+U</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QCheckBox" name="boldChk" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&Bold</string>
- </property>
- <property name="shortcut" >
- <string>Alt+B</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QCheckBox" name="italicChk" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&Italic</string>
- </property>
- <property name="shortcut" >
- <string>Alt+I</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QCheckBox" name="strikeoutChk" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>S&trike Out</string>
- </property>
- <property name="shortcut" >
- <string>Alt+T</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="spacer18" >
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>3</height>
- </size>
- </property>
- <property name="sizeType" >
- <enum>Expanding</enum>
- </property>
- <property name="orientation" >
- <enum>Vertical</enum>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <widget class="KPushButton" name="okButton" >
- <property name="text" >
- <string>&OK</string>
- </property>
- <property name="shortcut" >
- <string>Alt+O</string>
- </property>
- <property name="stdItem" stdset="0" >
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="KPushButton" name="cancelButton" >
- <property name="text" >
- <string>&Cancel</string>
- </property>
- <property name="shortcut" >
- <string>Alt+C</string>
- </property>
- <property name="stdItem" stdset="0" >
- <number>2</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <tabstops>
- <tabstop>customStyle</tabstop>
- <tabstop>boldChk</tabstop>
- <tabstop>underlineChk</tabstop>
- <tabstop>italicChk</tabstop>
- <tabstop>strikeoutChk</tabstop>
- <tabstop>okButton</tabstop>
- <tabstop>cancelButton</tabstop>
- </tabstops>
- <includes>
- <include location="local" >kpushbutton.h</include>
- <include location="local" >kpushbutton.h</include>
- </includes>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectStyle</receiver>
- <slot>accept()</slot>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectStyle</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>customStyle</sender>
- <signal>toggled(bool)</signal>
- <receiver>SelectStyle</receiver>
- <slot>customStyle_toggled(bool)</slot>
- </connection>
- </connections>
- </ui>
|