summaryrefslogtreecommitdiffstats
path: root/src/gui/selectuserform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/selectuserform.ui')
-rw-r--r--src/gui/selectuserform.ui368
1 files changed, 198 insertions, 170 deletions
diff --git a/src/gui/selectuserform.ui b/src/gui/selectuserform.ui
index 87d723e..d379340 100644
--- a/src/gui/selectuserform.ui
+++ b/src/gui/selectuserform.ui
@@ -1,173 +1,201 @@
<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0" stdsetdef="1">
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>SelectUserForm</class>
- <widget class="QDialog" name="SelectUserForm">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>584</width>
- <height>228</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Twinkle - Select user</string>
- </property>
- <layout class="QGridLayout">
- <item row="1" column="4">
- <widget class="QPushButton" name="cancelPushButton">
- <property name="text">
- <string>&amp;Cancel</string>
- </property>
- <property name="shortcut">
- <string>Alt+C</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QPushButton" name="selectPushButton">
- <property name="text">
- <string>&amp;Select all</string>
- </property>
- <property name="shortcut">
- <string>Alt+S</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <spacer name="spacer47">
- <property name="sizeHint">
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </spacer>
- </item>
- <item row="1" column="3">
- <widget class="QPushButton" name="okPushButton">
- <property name="text">
- <string>&amp;OK</string>
- </property>
- <property name="shortcut">
- <string>Alt+O</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="clearPushButton">
- <property name="text">
- <string>C&amp;lear all</string>
- </property>
- <property name="shortcut">
- <string>Alt+L</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" rowspan="1" colspan="5">
- <layout class="QVBoxLayout">
- <item>
- <widget class="QLabel" name="purposeTextLabel">
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string comment="No need to translate">purpose</string>
- </property>
- <property name="wordWrap">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="Q3ListView" name="userListView">
- <property name="resizePolicy">
- <enum>Q3ScrollView::Manual</enum>
- </property>
- <property name="selectionMode">
- <enum>Q3ListView::NoSelection</enum>
- </property>
- <property name="resizeMode">
- <enum>Q3ListView::LastColumn</enum>
- </property>
- <column>
- <property name="text">
- <string>User</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- </widget>
- </item>
- </layout>
- </item>
+<ui version="4.0">
+ <class>SelectUserForm</class>
+ <widget class="QDialog" name="SelectUserForm">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>582</width>
+ <height>226</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Twinkle - Select user</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="1" column="4">
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QPushButton" name="selectPushButton">
+ <property name="text">
+ <string>&amp;Select all</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+S</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <spacer name="spacer47">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>41</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="3">
+ <widget class="QPushButton" name="okPushButton">
+ <property name="text">
+ <string>&amp;OK</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+O</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QPushButton" name="clearPushButton">
+ <property name="text">
+ <string>C&amp;lear all</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" colspan="5">
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="purposeTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">purpose</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QListWidget" name="userListView">
+ <property name="selectionMode">
+ <enum>QAbstractItemView::NoSelection</enum>
+ </property>
+ </widget>
+ </item>
</layout>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>userListView</tabstop>
- <tabstop>selectPushButton</tabstop>
- <tabstop>clearPushButton</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
- </tabstops>
- <includes>
- <include location="local">user.h</include>
- <include location="local">phone.h</include>
- <include location="local">gui.h</include>
- </includes>
- <connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>validate()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>reject()</slot>
- </connection>
- <connection>
- <sender>selectPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>selectAll()</slot>
- </connection>
- <connection>
- <sender>clearPushButton</sender>
- <signal>clicked()</signal>
- <receiver>SelectUserForm</receiver>
- <slot>clearAll()</slot>
- </connection>
- <connection>
- <sender>userListView</sender>
- <signal>doubleClicked(Q3ListViewItem*)</signal>
- <receiver>SelectUserForm</receiver>
- <slot>toggle(Q3ListViewItem*)</slot>
- </connection>
- </connections>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <tabstops>
+ <tabstop>userListView</tabstop>
+ <tabstop>selectPushButton</tabstop>
+ <tabstop>clearPushButton</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ <include location="local">phone.h</include>
+ <include location="local">gui.h</include>
+ </includes>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>validate()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>selectPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>selectAll()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>clearPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>clearAll()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>userListView</sender>
+ <signal>doubleClicked(Q3ListViewItem*)</signal>
+ <receiver>SelectUserForm</receiver>
+ <slot>toggle(Q3ListViewItem*)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>