diff options
Diffstat (limited to 'src/gui/buddyform.ui')
-rw-r--r-- | src/gui/buddyform.ui | 443 |
1 files changed, 200 insertions, 243 deletions
diff --git a/src/gui/buddyform.ui b/src/gui/buddyform.ui index 16369d2..27e596d 100644 --- a/src/gui/buddyform.ui +++ b/src/gui/buddyform.ui @@ -1,255 +1,212 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>BuddyForm</class> -<widget class="QDialog"> - <property name="name"> - <cstring>BuddyForm</cstring> - </property> +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>BuddyForm</class> + <widget class="QDialog" name="BuddyForm"> <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>484</width> - <height>154</height> - </rect> + <rect> + <x>0</x> + <y>0</y> + <width>484</width> + <height>154</height> + </rect> </property> - <property name="caption"> - <string>Twinkle - Buddy</string> + <property name="windowTitle"> + <string>Twinkle - Buddy</string> </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout12</cstring> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <spacer row="1" column="2" rowspan="2" colspan="1"> - <property name="name"> - <cstring>spacer25</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>47</height> - </size> - </property> - </spacer> - <widget class="QToolButton" row="0" column="2"> - <property name="name"> - <cstring>addressToolButton</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string></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="QLabel" row="1" column="0"> - <property name="name"> - <cstring>phoneTextLabel</cstring> - </property> - <property name="text"> - <string>&Phone:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>phoneLineEdit</cstring> - </property> - </widget> - <widget class="QLineEdit" row="0" column="1"> - <property name="name"> - <cstring>nameLineEdit</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>Name of your buddy.</string> - </property> - </widget> - <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>subscribeCheckBox</cstring> - </property> - <property name="text"> - <string>&Show availability</string> - </property> - <property name="accel"> - <string>Alt+S</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Check this option if you want to see the availability of your buddy. This will only work if your provider offers a presence agent.</string> - </property> - </widget> - <widget class="QLabel" row="0" column="0"> - <property name="name"> - <cstring>nameTextLabel</cstring> - </property> - <property name="text"> - <string>&Name:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>nameLineEdit</cstring> - </property> - </widget> - <widget class="QLineEdit" row="1" column="1"> - <property name="name"> - <cstring>phoneLineEdit</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>SIP address your buddy.</string> - </property> - </widget> - </grid> - </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"> + <layout class="QVBoxLayout"> + <item> + <layout class="QGridLayout"> + <item row="1" column="2" rowspan="2" colspan="1"> + <spacer name="spacer25"> + <property name="sizeHint"> <size> - <width>20</width> - <height>16</height> + <width>20</width> + <height>47</height> </size> - </property> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + </spacer> + </item> + <item row="0" column="2"> + <widget class="QToolButton" name="addressToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="text"> + <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="0"> + <widget class="QLabel" name="phoneTextLabel"> + <property name="text"> + <string>&Phone:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>phoneLineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="nameLineEdit"> + <property name="whatsThis" stdset="0"> + <string>Name of your buddy.</string> + </property> + </widget> + </item> + <item row="2" column="0" rowspan="1" colspan="2"> + <widget class="QCheckBox" name="subscribeCheckBox"> + <property name="text"> + <string>&Show availability</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Check this option if you want to see the availability of your buddy. This will only work if your provider offers a presence agent.</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="nameTextLabel"> + <property name="text"> + <string>&Name:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>nameLineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="phoneLineEdit"> + <property name="whatsThis" stdset="0"> + <string>SIP address your buddy.</string> + </property> + </widget> + </item> + </layout> + </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> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout54</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <spacer> - <property name="name"> - <cstring>spacer13</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>131</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="accel"> - <string>Alt+O</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> - <property name="accel"> - <string>Alt+C</string> - </property> - </widget> - </hbox> - </widget> - </vbox> -</widget> -<connections> - <connection> - <sender>okPushButton</sender> - <signal>clicked()</signal> - <receiver>BuddyForm</receiver> - <slot>validate()</slot> - </connection> - <connection> - <sender>cancelPushButton</sender> - <signal>clicked()</signal> - <receiver>BuddyForm</receiver> - <slot>reject()</slot> - </connection> - <connection> - <sender>addressToolButton</sender> - <signal>clicked()</signal> - <receiver>BuddyForm</receiver> - <slot>showAddressBook()</slot> - </connection> -</connections> -<tabstops> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <spacer name="spacer13"> + <property name="sizeHint"> + <size> + <width>131</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>nameLineEdit</tabstop> <tabstop>phoneLineEdit</tabstop> <tabstop>subscribeCheckBox</tabstop> <tabstop>addressToolButton</tabstop> <tabstop>okPushButton</tabstop> <tabstop>cancelPushButton</tabstop> -</tabstops> -<includes> - <include location="local" impldecl="in declaration">presence/buddy.h</include> - <include location="local" impldecl="in declaration">user.h</include> - <include location="local" impldecl="in declaration">qlistview.h</include> - <include location="local" impldecl="in declaration">getaddressform.h</include> - <include location="local" impldecl="in implementation">gui.h</include> - <include location="local" impldecl="in implementation">sockets/url.h</include> - <include location="local" impldecl="in implementation">buddylistview.h</include> - <include location="local" impldecl="in implementation">audits/memman.h</include> - <include location="local" impldecl="in implementation">buddyform.ui.h</include> -</includes> -<variables> - <variable access="private">GetAddressForm *getAddressForm;</variable> - <variable access="private">t_user *user_config;</variable> - <variable access="private">bool edit_mode;</variable> - <variable access="private">t_buddy_list *buddy_list;</variable> - <variable access="private">t_buddy *edit_buddy;</variable> - <variable access="private">QListViewItem *profileItem;</variable> -</variables> -<slots> - <slot>showNew( t_buddy_list & _buddy_list, QListViewItem * _profileItem )</slot> - <slot>showEdit( t_buddy & buddy )</slot> - <slot>validate()</slot> - <slot>showAddressBook()</slot> - <slot>selectedAddress( const QString & name, const QString & phone )</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> + </tabstops> + <includes> + <include location="local">presence/buddy.h</include> + <include location="local">user.h</include> + <include location="local">q3listview.h</include> + <include location="local">getaddressform.h</include> + </includes> + <connections> + <connection> + <sender>okPushButton</sender> + <signal>clicked()</signal> + <receiver>BuddyForm</receiver> + <slot>validate()</slot> + </connection> + <connection> + <sender>cancelPushButton</sender> + <signal>clicked()</signal> + <receiver>BuddyForm</receiver> + <slot>reject()</slot> + </connection> + <connection> + <sender>addressToolButton</sender> + <signal>clicked()</signal> + <receiver>BuddyForm</receiver> + <slot>showAddressBook()</slot> + </connection> + </connections> +</ui> |