diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-06-01 22:04:50 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-06-01 22:04:50 +0200 |
commit | aa9b140a7bb49eb9666678bcbbb544cc536bd6de (patch) | |
tree | af36808d3322315335cf1e1da5f66435c3282fa5 /src/gui/getaddressform.ui | |
parent | 4423e9c3d3a1894359d11ba6097b5cc1aa49ad91 (diff) | |
download | twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.gz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.lz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.xz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.zip |
GUI build in progress.
The next step is to adapt .ui.h files to use Qt4 UIC-generated headers.
Diffstat (limited to 'src/gui/getaddressform.ui')
-rw-r--r-- | src/gui/getaddressform.ui | 786 |
1 files changed, 349 insertions, 437 deletions
diff --git a/src/gui/getaddressform.ui b/src/gui/getaddressform.ui index 153fdd1..74a8d12 100644 --- a/src/gui/getaddressform.ui +++ b/src/gui/getaddressform.ui @@ -1,476 +1,388 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>GetAddressForm</class> -<widget class="QDialog"> - <property name="name"> - <cstring>GetAddressForm</cstring> - </property> +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>GetAddressForm</class> + <widget class="QDialog" name="GetAddressForm"> <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>655</width> - <height>474</height> - </rect> + <rect> + <x>0</x> + <y>0</y> + <width>655</width> + <height>474</height> + </rect> </property> - <property name="caption"> - <string>Twinkle - Select address</string> + <property name="windowTitle"> + <string>Twinkle - Select address</string> </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QTabWidget"> - <property name="name"> - <cstring>addressTabWidget</cstring> - </property> - <property name="tabShape"> - <enum>Rounded</enum> - </property> - <widget class="QWidget"> - <property name="name"> - <cstring>tabKABC</cstring> - </property> - <attribute name="title"> - <string>&KAddressBook</string> - </attribute> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> + <layout class="QVBoxLayout"> + <item> + <widget class="QTabWidget" name="addressTabWidget"> + <property name="tabShape"> + <enum>QTabWidget::Rounded</enum> + </property> + <widget class="QWidget" name="tabKABC"> + <attribute name="title"> + <string>&KAddressBook</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="Q3ListView" name="addressListView"> + <property name="resizePolicy"> + <enum>Q3ScrollView::Manual</enum> + </property> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + <property name="showSortIndicator"> + <bool>true</bool> + </property> + <property name="itemMargin"> + <number>1</number> + </property> + <property name="resizeMode"> + <enum>Q3ListView::LastColumn</enum> + </property> + <property name="whatsThis" stdset="0"> + <string>This list of addresses is taken from <b>KAddressBook</b>. Contacts for which you did not provide a phone number are not shown here. To add, delete or modify address information you have to use KAddressBook.</string> + </property> + <column> + <property name="text"> + <string>Name</string> </property> - <widget class="QListView"> - <column> - <property name="text"> - <string>Name</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <column> - <property name="text"> - <string>Type</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <column> - <property name="text"> - <string>Phone</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <property name="name"> - <cstring>addressListView</cstring> - </property> - <property name="resizePolicy"> - <enum>Manual</enum> - </property> - <property name="allColumnsShowFocus"> - <bool>true</bool> - </property> - <property name="showSortIndicator"> - <bool>true</bool> - </property> - <property name="itemMargin"> - <number>1</number> - </property> - <property name="resizeMode"> - <enum>LastColumn</enum> - </property> - <property name="whatsThis" stdset="0"> - <string>This list of addresses is taken from <b>KAddressBook</b>. Contacts for which you did not provide a phone number are not shown here. To add, delete or modify address information you have to use KAddressBook.</string> - </property> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout17</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QCheckBox"> - <property name="name"> - <cstring>sipOnlyCheckBox</cstring> - </property> - <property name="text"> - <string>&Show only SIP addresses</string> - </property> - <property name="accel"> - <string>Alt+S</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Check this option when you only want to see contacts with SIP addresses, i.e. starting with "<b>sip:</b>".</string> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer16</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>201</width> - <height>20</height> - </size> - </property> - </spacer> - </hbox> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout69</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QPushButton"> - <property name="name"> - <cstring>reloadPushButton</cstring> - </property> - <property name="text"> - <string>&Reload</string> - </property> - <property name="accel"> - <string>Alt+R</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Reload the list of addresses from KAddressbook.</string> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer59</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>491</width> - <height>20</height> - </size> - </property> - </spacer> - </hbox> - </widget> - </vbox> - </widget> - <widget class="QWidget"> - <property name="name"> - <cstring>tabLocal</cstring> - </property> - <attribute name="title"> - <string>&Local address book</string> - </attribute> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> + <property name="clickable"> + <bool>true</bool> </property> - <widget class="QListView"> - <column> - <property name="text"> - <string>Name</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <column> - <property name="text"> - <string>Phone</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <column> - <property name="text"> - <string>Remark</string> - </property> - <property name="clickable"> - <bool>true</bool> - </property> - <property name="resizable"> - <bool>true</bool> - </property> - </column> - <property name="name"> - <cstring>localListView</cstring> - </property> - <property name="allColumnsShowFocus"> - <bool>true</bool> - </property> - <property name="showSortIndicator"> - <bool>true</bool> - </property> - <property name="resizeMode"> - <enum>LastColumn</enum> - </property> - <property name="whatsThis" stdset="0"> - <string>Contacts in the local address book of Twinkle.</string> - </property> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout67</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QPushButton"> - <property name="name"> - <cstring>addPushButton</cstring> - </property> - <property name="text"> - <string>&Add</string> - </property> - <property name="accel"> - <string>Alt+A</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Add a new contact to the local address book.</string> - </property> - </widget> - <widget class="QPushButton"> - <property name="name"> - <cstring>deletePushButton</cstring> - </property> - <property name="text"> - <string>&Delete</string> - </property> - <property name="accel"> - <string>Alt+D</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Delete a contact from the local address book.</string> - </property> - </widget> - <widget class="QPushButton"> - <property name="name"> - <cstring>editPushButton</cstring> - </property> - <property name="text"> - <string>&Edit</string> - </property> - <property name="accel"> - <string>Alt+E</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Edit a contact from the local address book.</string> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer97</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>161</width> - <height>20</height> - </size> - </property> - </spacer> - </hbox> - </widget> - </vbox> - </widget> - </widget> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout68</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <spacer> - <property name="name"> - <cstring>spacer5</cstring> + <property name="resizable"> + <bool>true</bool> </property> - <property name="orientation"> - <enum>Horizontal</enum> + </column> + <column> + <property name="text"> + <string>Type</string> </property> - <property name="sizeType"> - <enum>Expanding</enum> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>Phone</string> </property> - <property name="sizeHint"> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QCheckBox" name="sipOnlyCheckBox"> + <property name="text"> + <string>&Show only SIP addresses</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Check this option when you only want to see contacts with SIP addresses, i.e. starting with "<b>sip:</b>".</string> + </property> + </widget> + </item> + <item> + <spacer name="spacer16"> + <property name="sizeHint"> + <size> + <width>201</width> + <height>20</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QPushButton" name="reloadPushButton"> + <property name="text"> + <string>&Reload</string> + </property> + <property name="shortcut"> + <string>Alt+R</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Reload the list of addresses from KAddressbook.</string> + </property> + </widget> + </item> + <item> + <spacer name="spacer59"> + <property name="sizeHint"> <size> - <width>378</width> - <height>20</height> + <width>491</width> + <height>20</height> </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tabLocal"> + <attribute name="title"> + <string>&Local address book</string> + </attribute> + <layout class="QVBoxLayout"> + <item> + <widget class="Q3ListView" name="localListView"> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + <property name="showSortIndicator"> + <bool>true</bool> + </property> + <property name="resizeMode"> + <enum>Q3ListView::LastColumn</enum> + </property> + <property name="whatsThis" stdset="0"> + <string>Contacts in the local address book of Twinkle.</string> + </property> + <column> + <property name="text"> + <string>Name</string> </property> - </spacer> - <widget class="QPushButton"> - <property name="name"> - <cstring>okPushButton</cstring> + <property name="clickable"> + <bool>true</bool> </property> - <property name="text"> - <string>&OK</string> + <property name="resizable"> + <bool>true</bool> </property> - <property name="accel"> - <string>Alt+O</string> + </column> + <column> + <property name="text"> + <string>Phone</string> </property> - <property name="default"> - <bool>true</bool> + <property name="clickable"> + <bool>true</bool> </property> - </widget> - <widget class="QPushButton"> - <property name="name"> - <cstring>cancelPushButton</cstring> + <property name="resizable"> + <bool>true</bool> </property> + </column> + <column> <property name="text"> - <string>&Cancel</string> + <string>Remark</string> + </property> + <property name="clickable"> + <bool>true</bool> </property> - <property name="accel"> - <string>Alt+C</string> + <property name="resizable"> + <bool>true</bool> </property> + </column> </widget> - </hbox> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QPushButton" name="addPushButton"> + <property name="text"> + <string>&Add</string> + </property> + <property name="shortcut"> + <string>Alt+A</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Add a new contact to the local address book.</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="deletePushButton"> + <property name="text"> + <string>&Delete</string> + </property> + <property name="shortcut"> + <string>Alt+D</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Delete a contact from the local address book.</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="editPushButton"> + <property name="text"> + <string>&Edit</string> + </property> + <property name="shortcut"> + <string>Alt+E</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Edit a contact from the local address book.</string> + </property> + </widget> + </item> + <item> + <spacer name="spacer97"> + <property name="sizeHint"> + <size> + <width>161</width> + <height>20</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> </widget> - </vbox> -</widget> -<connections> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <spacer name="spacer5"> + <property name="sizeHint"> + <size> + <width>378</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> + <widget class="QPushButton" name="okPushButton"> + <property name="text"> + <string>&OK</string> + </property> + <property name="shortcut"> + <string>Alt+O</string> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelPushButton"> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="shortcut"> + <string>Alt+C</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>addressListView</tabstop> + <tabstop>sipOnlyCheckBox</tabstop> + <tabstop>reloadPushButton</tabstop> + <tabstop>addressTabWidget</tabstop> + <tabstop>localListView</tabstop> + <tabstop>addPushButton</tabstop> + <tabstop>deletePushButton</tabstop> + <tabstop>editPushButton</tabstop> + <tabstop>okPushButton</tabstop> + <tabstop>cancelPushButton</tabstop> + </tabstops> + <includes> + <include location="local">user.h</include> + </includes> + <connections> <connection> - <sender>okPushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>selectAddress()</slot> + <sender>okPushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>selectAddress()</slot> </connection> <connection> - <sender>cancelPushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>reject()</slot> + <sender>cancelPushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>reject()</slot> </connection> <connection> - <sender>addressListView</sender> - <signal>doubleClicked(QListViewItem*)</signal> - <receiver>GetAddressForm</receiver> - <slot>selectKABCAddress()</slot> + <sender>addressListView</sender> + <signal>doubleClicked(Q3ListViewItem*)</signal> + <receiver>GetAddressForm</receiver> + <slot>selectKABCAddress()</slot> </connection> <connection> - <sender>sipOnlyCheckBox</sender> - <signal>toggled(bool)</signal> - <receiver>GetAddressForm</receiver> - <slot>toggleSipOnly(bool)</slot> + <sender>sipOnlyCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>GetAddressForm</receiver> + <slot>toggleSipOnly(bool)</slot> </connection> <connection> - <sender>reloadPushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>reload()</slot> + <sender>reloadPushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>reload()</slot> </connection> <connection> - <sender>localListView</sender> - <signal>doubleClicked(QListViewItem*)</signal> - <receiver>GetAddressForm</receiver> - <slot>selectLocalAddress()</slot> + <sender>localListView</sender> + <signal>doubleClicked(Q3ListViewItem*)</signal> + <receiver>GetAddressForm</receiver> + <slot>selectLocalAddress()</slot> </connection> <connection> - <sender>addPushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>addLocalAddress()</slot> + <sender>addPushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>addLocalAddress()</slot> </connection> <connection> - <sender>deletePushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>deleteLocalAddress()</slot> + <sender>deletePushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>deleteLocalAddress()</slot> </connection> <connection> - <sender>editPushButton</sender> - <signal>clicked()</signal> - <receiver>GetAddressForm</receiver> - <slot>editLocalAddress()</slot> + <sender>editPushButton</sender> + <signal>clicked()</signal> + <receiver>GetAddressForm</receiver> + <slot>editLocalAddress()</slot> </connection> -</connections> -<tabstops> - <tabstop>addressListView</tabstop> - <tabstop>sipOnlyCheckBox</tabstop> - <tabstop>reloadPushButton</tabstop> - <tabstop>addressTabWidget</tabstop> - <tabstop>localListView</tabstop> - <tabstop>addPushButton</tabstop> - <tabstop>deletePushButton</tabstop> - <tabstop>editPushButton</tabstop> - <tabstop>okPushButton</tabstop> - <tabstop>cancelPushButton</tabstop> -</tabstops> -<includes> - <include location="local" impldecl="in declaration">user.h</include> - <include location="local" impldecl="in implementation">qlistview.h</include> - <include location="local" impldecl="in implementation">qstring.h</include> - <include location="local" impldecl="in implementation">qmessagebox.h</include> - <include location="local" impldecl="in implementation">protocol.h</include> - <include location="local" impldecl="in implementation">sys_settings.h</include> - <include location="local" impldecl="in implementation">util.h</include> - <include location="local" impldecl="in implementation">qregexp.h</include> - <include location="local" impldecl="in implementation">sockets/url.h</include> - <include location="local" impldecl="in implementation">gui.h</include> - <include location="local" impldecl="in implementation">address_book.h</include> - <include location="local" impldecl="in implementation">addresslistviewitem.h</include> - <include location="local" impldecl="in implementation">addresscardform.h</include> - <include location="local" impldecl="in implementation">getaddressform.ui.h</include> -</includes> -<variables> - <variable access="private">void *addrBook;</variable> -</variables> -<signals> - <signal>address(const QString &, const QString &)</signal> - <signal>address(const QString &)</signal> -</signals> -<slots> - <slot>reload()</slot> - <slot>show()</slot> - <slot>loadAddresses()</slot> - <slot>loadLocalAddresses()</slot> - <slot>selectAddress()</slot> - <slot>selectKABCAddress()</slot> - <slot>selectLocalAddress()</slot> - <slot>toggleSipOnly( bool on )</slot> - <slot>addLocalAddress()</slot> - <slot>deleteLocalAddress()</slot> - <slot>editLocalAddress()</slot> -</slots> -<functions> - <function access="private" specifier="non virtual">init()</function> -</functions> -<pixmapinproject/> -<layoutdefaults spacing="6" margin="11"/> -</UI> + </connections> +</ui> |