diff options
Diffstat (limited to 'src/gui/redirectform.ui')
-rw-r--r-- | src/gui/redirectform.ui | 538 |
1 files changed, 249 insertions, 289 deletions
diff --git a/src/gui/redirectform.ui b/src/gui/redirectform.ui index e3f1e53..b0c5311 100644 --- a/src/gui/redirectform.ui +++ b/src/gui/redirectform.ui @@ -1,308 +1,268 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>RedirectForm</class> -<widget class="QDialog"> - <property name="name"> - <cstring>RedirectForm</cstring> - </property> +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>RedirectForm</class> + <widget class="QDialog" name="RedirectForm"> <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>588</width> - <height>190</height> - </rect> + <rect> + <x>0</x> + <y>0</y> + <width>588</width> + <height>190</height> + </rect> </property> <property name="sizePolicy"> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="caption"> - <string>Twinkle - Redirect</string> + <property name="windowTitle"> + <string>Twinkle - Redirect</string> </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QGroupBox"> - <property name="name"> - <cstring>redirectGroupBox</cstring> - </property> - <property name="title"> - <string>Redirect incoming call to</string> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> + <layout class="QVBoxLayout"> + <item> + <widget class="Q3GroupBox" name="redirectGroupBox"> + <property name="title"> + <string>Redirect incoming call to</string> + </property> + <layout class="QGridLayout"> + <item row="2" column="1"> + <widget class="QLineEdit" name="contact3LineEdit"> + <property name="whatsThis" stdset="0"> + <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="contact3TextLabel"> + <property name="text"> + <string>&3rd choice destination:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>contact3LineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="contact2TextLabel"> + <property name="text"> + <string>&2nd choice destination:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>contact2LineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="contact2LineEdit"> + <property name="whatsThis" stdset="0"> + <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="contact1LineEdit"> + <property name="whatsThis" stdset="0"> + <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="contact1TextLabel"> + <property name="text"> + <string>&1st choice destination:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>contact1LineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QToolButton" name="address1ToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>F10</string> + </property> + <property name="icon"> + <iconset>kontact_contacts.png</iconset> + </property> + <property name="toolTip" stdset="0"> + <string>Address book</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Select an address from the address book.</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QToolButton" name="address3ToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>F12</string> + </property> + <property name="icon"> + <iconset>kontact_contacts.png</iconset> + </property> + <property name="toolTip" stdset="0"> + <string>Address book</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Select an address from the address book.</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QToolButton" name="address2ToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> </property> - <widget class="QLineEdit" row="2" column="1"> - <property name="name"> - <cstring>contact3LineEdit</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> - </property> - </widget> - <widget class="QLabel" row="2" column="0"> - <property name="name"> - <cstring>contact3TextLabel</cstring> - </property> - <property name="text"> - <string>&3rd choice destination:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>contact3LineEdit</cstring> - </property> - </widget> - <widget class="QLabel" row="1" column="0"> - <property name="name"> - <cstring>contact2TextLabel</cstring> - </property> - <property name="text"> - <string>&2nd choice destination:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>contact2LineEdit</cstring> - </property> - </widget> - <widget class="QLineEdit" row="1" column="1"> - <property name="name"> - <cstring>contact2LineEdit</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> - </property> - </widget> - <widget class="QLineEdit" row="0" column="1"> - <property name="name"> - <cstring>contact1LineEdit</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>You can specify up to 3 destinations to which you want to redirect the call. If the first destination does not answer the call, the second destination will be tried and so on.</string> - </property> - </widget> - <widget class="QLabel" row="0" column="0"> - <property name="name"> - <cstring>contact1TextLabel</cstring> - </property> - <property name="text"> - <string>&1st choice destination:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>contact1LineEdit</cstring> - </property> - </widget> - <widget class="QToolButton" row="0" column="2"> - <property name="name"> - <cstring>address1ToolButton</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string></string> - </property> - <property name="accel"> - <string>F10</string> - </property> - <property name="iconSet"> - <iconset>kontact_contacts.png</iconset> - </property> - <property name="toolTip" stdset="0"> - <string>Address book</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Select an address from the address book.</string> - </property> - </widget> - <widget class="QToolButton" row="2" column="2"> - <property name="name"> - <cstring>address3ToolButton</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string></string> - </property> - <property name="accel"> - <string>F12</string> - </property> - <property name="iconSet"> - <iconset>kontact_contacts.png</iconset> - </property> - <property name="toolTip" stdset="0"> - <string>Address book</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Select an address from the address book.</string> - </property> - </widget> - <widget class="QToolButton" row="1" column="2"> - <property name="name"> - <cstring>address2ToolButton</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string></string> - </property> - <property name="accel"> - <string>F11</string> - </property> - <property name="iconSet"> - <iconset>kontact_contacts.png</iconset> - </property> - <property name="toolTip" stdset="0"> - <string>Address book</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Select an address from the address book.</string> - </property> - </widget> - </grid> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>F11</string> + </property> + <property name="icon"> + <iconset>kontact_contacts.png</iconset> + </property> + <property name="toolTip" stdset="0"> + <string>Address book</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Select an address from the address book.</string> + </property> + </widget> + </item> + </layout> </widget> - <spacer> - <property name="name"> - <cstring>spacer14</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> + </item> + <item> + <spacer name="spacer14"> + <property name="sizeHint"> + <size> + <width>20</width> + <height>16</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <spacer name="spacer11"> + <property name="sizeHint"> <size> - <width>20</width> - <height>16</height> + <width>361</width> + <height>20</height> </size> - </property> - </spacer> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout15</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <spacer> - <property name="name"> - <cstring>spacer11</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>361</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QPushButton"> - <property name="name"> - <cstring>okPushButton</cstring> - </property> - <property name="text"> - <string>&OK</string> - </property> - <property name="default"> - <bool>true</bool> - </property> - </widget> - <widget class="QPushButton"> - <property name="name"> - <cstring>cancelPushButton</cstring> - </property> - <property name="text"> - <string>&Cancel</string> - </property> - </widget> - </hbox> - </widget> - </vbox> -</widget> -<connections> + </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="default"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelPushButton"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>contact1LineEdit</tabstop> + <tabstop>contact2LineEdit</tabstop> + <tabstop>contact3LineEdit</tabstop> + <tabstop>address1ToolButton</tabstop> + <tabstop>address2ToolButton</tabstop> + <tabstop>address3ToolButton</tabstop> + <tabstop>okPushButton</tabstop> + <tabstop>cancelPushButton</tabstop> + </tabstops> + <includes> + <include location="global">list</include> + <include location="local">sockets/url.h</include> + <include location="local">ui_getaddressform.h</include> + <include location="local">user.h</include> + </includes> + <connections> <connection> - <sender>cancelPushButton</sender> - <signal>clicked()</signal> - <receiver>RedirectForm</receiver> - <slot>reject()</slot> + <sender>cancelPushButton</sender> + <signal>clicked()</signal> + <receiver>RedirectForm</receiver> + <slot>reject()</slot> </connection> <connection> - <sender>okPushButton</sender> - <signal>clicked()</signal> - <receiver>RedirectForm</receiver> - <slot>validate()</slot> + <sender>okPushButton</sender> + <signal>clicked()</signal> + <receiver>RedirectForm</receiver> + <slot>validate()</slot> </connection> <connection> - <sender>address1ToolButton</sender> - <signal>clicked()</signal> - <receiver>RedirectForm</receiver> - <slot>showAddressBook1()</slot> + <sender>address1ToolButton</sender> + <signal>clicked()</signal> + <receiver>RedirectForm</receiver> + <slot>showAddressBook1()</slot> </connection> <connection> - <sender>address2ToolButton</sender> - <signal>clicked()</signal> - <receiver>RedirectForm</receiver> - <slot>showAddressBook2()</slot> + <sender>address2ToolButton</sender> + <signal>clicked()</signal> + <receiver>RedirectForm</receiver> + <slot>showAddressBook2()</slot> </connection> <connection> - <sender>address3ToolButton</sender> - <signal>clicked()</signal> - <receiver>RedirectForm</receiver> - <slot>showAddressBook3()</slot> + <sender>address3ToolButton</sender> + <signal>clicked()</signal> + <receiver>RedirectForm</receiver> + <slot>showAddressBook3()</slot> </connection> -</connections> -<tabstops> - <tabstop>contact1LineEdit</tabstop> - <tabstop>contact2LineEdit</tabstop> - <tabstop>contact3LineEdit</tabstop> - <tabstop>address1ToolButton</tabstop> - <tabstop>address2ToolButton</tabstop> - <tabstop>address3ToolButton</tabstop> - <tabstop>okPushButton</tabstop> - <tabstop>cancelPushButton</tabstop> -</tabstops> -<includes> - <include location="local" impldecl="in implementation">gui.h</include> - <include location="local" impldecl="in implementation">audits/memman.h</include> - <include location="global" impldecl="in declaration">list</include> - <include location="local" impldecl="in declaration">sockets/url.h</include> - <include location="local" impldecl="in declaration">getaddressform.h</include> - <include location="local" impldecl="in declaration">user.h</include> - <include location="local" impldecl="in implementation">redirectform.ui.h</include> -</includes> -<variables> - <variable access="private">GetAddressForm *getAddressForm;</variable> - <variable access="private">int nrAddressBook;</variable> - <variable access="private">t_user *user_config;</variable> -</variables> -<signals> - <signal>destinations(const list<t_display_url> &)</signal> -</signals> -<slots> - <slot>show( t_user * user, const list<string> & contacts )</slot> - <slot>validate()</slot> - <slot>showAddressBook()</slot> - <slot>showAddressBook1()</slot> - <slot>showAddressBook2()</slot> - <slot>showAddressBook3()</slot> - <slot>selectedAddress( const QString & address )</slot> -</slots> -<functions> - <function access="private" specifier="non virtual">init()</function> - <function access="private" specifier="non virtual">destroy()</function> -</functions> -<pixmapinproject/> -<layoutdefaults spacing="6" margin="11"/> -</UI> + </connections> +</ui> |