diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kopete/protocols/winpopup/ui | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/winpopup/ui')
-rw-r--r-- | kopete/protocols/winpopup/ui/Makefile.am | 10 | ||||
-rw-r--r-- | kopete/protocols/winpopup/ui/empty.cpp | 1 | ||||
-rw-r--r-- | kopete/protocols/winpopup/ui/wpaddcontactbase.ui | 190 | ||||
-rw-r--r-- | kopete/protocols/winpopup/ui/wpeditaccountbase.ui | 358 | ||||
-rw-r--r-- | kopete/protocols/winpopup/ui/wpuserinfowidget.ui | 219 |
5 files changed, 778 insertions, 0 deletions
diff --git a/kopete/protocols/winpopup/ui/Makefile.am b/kopete/protocols/winpopup/ui/Makefile.am new file mode 100644 index 00000000..11d8a7bc --- /dev/null +++ b/kopete/protocols/winpopup/ui/Makefile.am @@ -0,0 +1,10 @@ +METASOURCES = AUTO + +noinst_LTLIBRARIES = libkopetewpui.la +AM_CPPFLAGS = $(KOPETE_INCLUDES) \ + -I$(srcdir)/.. \ + $(all_includes) + + +libkopetewpui_la_SOURCES = wpaddcontactbase.ui wpeditaccountbase.ui empty.cpp wpuserinfowidget.ui +EXTRA_DIST = wpaddcontactbase.ui wpeditaccountbase.ui diff --git a/kopete/protocols/winpopup/ui/empty.cpp b/kopete/protocols/winpopup/ui/empty.cpp new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/kopete/protocols/winpopup/ui/empty.cpp @@ -0,0 +1 @@ + diff --git a/kopete/protocols/winpopup/ui/wpaddcontactbase.ui b/kopete/protocols/winpopup/ui/wpaddcontactbase.ui new file mode 100644 index 00000000..21286d54 --- /dev/null +++ b/kopete/protocols/winpopup/ui/wpaddcontactbase.ui @@ -0,0 +1,190 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>WPAddContactBase</class> +<widget class="QWidget"> + <property name="name"> + <cstring>WPAddContactBase</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>396</width> + <height>342</height> + </rect> + </property> + <property name="font"> + <font> + </font> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout59</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout57</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel2_2</cstring> + </property> + <property name="text"> + <string>Com&puter hostname:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>mHostName</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages to.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages to.</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="text"> + <string>&Workgroup/domain:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>mHostGroup</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The workgroup or domain the computer is on that you would like to use to send WinPopup messages to.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The workgroup or domain the computer is on that you would like to use to send WinPopup messages to.</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout58</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KComboBox"> + <property name="name"> + <cstring>mHostName</cstring> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages to.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages to.</string> + </property> + </widget> + <widget class="KComboBox"> + <property name="name"> + <cstring>mHostGroup</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The workgroup or domain the computer is on that you would like to use to send WinPopup messages to.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The workgroup or domain the computer is on that you would like to use to send WinPopup messages to.</string> + </property> + </widget> + </vbox> + </widget> + </hbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout11</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer> + <property name="name"> + <cstring>Spacer2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="KPushButton"> + <property name="name"> + <cstring>mRefresh</cstring> + </property> + <property name="text"> + <string>&Refresh</string> + </property> + <property name="toolTip" stdset="0"> + <string>Refresh the list of available workgroups & domains on the Windows network.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Refresh the list of available workgroups & domains on the Windows network.</string> + </property> + </widget> + </hbox> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer4</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>50</height> + </size> + </property> + </spacer> + </vbox> +</widget> +<tabstops> + <tabstop>mHostName</tabstop> + <tabstop>mHostGroup</tabstop> + <tabstop>mRefresh</tabstop> +</tabstops> +<layoutdefaults spacing="6" margin="11"/> +<includehints> + <includehint>kcombobox.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>kcombobox.h</includehint> + <includehint>kpushbutton.h</includehint> +</includehints> +</UI> diff --git a/kopete/protocols/winpopup/ui/wpeditaccountbase.ui b/kopete/protocols/winpopup/ui/wpeditaccountbase.ui new file mode 100644 index 00000000..464c426d --- /dev/null +++ b/kopete/protocols/winpopup/ui/wpeditaccountbase.ui @@ -0,0 +1,358 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>WPEditAccountBase</class> +<widget class="QWidget"> + <property name="name"> + <cstring>WPEditAccountBase</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>398</width> + <height>445</height> + </rect> + </property> + <property name="caption"> + <string>Account Preferences - WinPopup</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <widget class="QLabel" row="0" column="1"> + <property name="name"> + <cstring>labelStatusMessage</cstring> + </property> + <property name="text"> + <string></string> + </property> + <property name="alignment"> + <set>AlignCenter</set> + </property> + </widget> + <widget class="QTabWidget" row="0" column="0"> + <property name="name"> + <cstring>tabWidget10</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>Basi&c Setup</string> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>groupBox51</cstring> + </property> + <property name="title"> + <string>Account Information</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout40</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>label1</cstring> + </property> + <property name="text"> + <string>Hos&tname:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>mHostName</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages as.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages as. Note that this does not have to be the actual hostname of the machine to send messages, but it does to receive them.</string> + </property> + </widget> + <widget class="QLineEdit"> + <property name="name"> + <cstring>mHostName</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages as.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname you would like to use to send WinPopup messages as. Note that this does not have to be the actual hostname of the machine to send messages, but it does to receive them.</string> + </property> + </widget> + <widget class="KPushButton"> + <property name="name"> + <cstring>doInstallSamba</cstring> + </property> + <property name="text"> + <string>I&nstall Into Samba</string> + </property> + <property name="toolTip" stdset="0"> + <string>Install support into Samba to enable this service.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Install support into Samba to enable this service.</string> + </property> + </widget> + </hbox> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>groupBox22</cstring> + </property> + <property name="title"> + <string>Information</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel12</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>1</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>To receive WinPopup messages sent from other machines, the hostname above must be set to this machine's hostname.</string> + </property> + <property name="alignment"> + <set>WordBreak|AlignTop</set> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel1_3</cstring> + </property> + <property name="text"> + <string>The samba server must be configured and running.</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel1_2</cstring> + </property> + <property name="text"> + <string>"Install into Samba" is a simple method to create the directory for the temporary message files and configure your samba server.<br> +However, the recommended way is to ask your administrator to create this directory ('mkdir -p -m 0777 /var/lib/winpopup') and add +'message command = _PATH_TO_/winpopup-send.sh %s %m %t &' (substitute _PATH_TO_ by the real path) to your smb.conf [global]-section.</string> + </property> + <property name="alignment"> + <set>WordBreak|AlignTop</set> + </property> + </widget> + </vbox> + </widget> + <spacer> + <property name="name"> + <cstring>spacer7</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>21</width> + <height>16</height> + </size> + </property> + </spacer> + </vbox> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>TabPage</cstring> + </property> + <attribute name="title"> + <string>S&ystem</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer row="2" column="0"> + <property name="name"> + <cstring>spacer4</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>135</height> + </size> + </property> + </spacer> + <widget class="QGroupBox" row="1" column="0"> + <property name="name"> + <cstring>groupBox5</cstring> + </property> + <property name="title"> + <string>Information</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>textLabel2_2</cstring> + </property> + <property name="text"> + <string><i>These options apply to all WinPopup accounts.</i></string> + </property> + </widget> + </grid> + </widget> + <widget class="QGroupBox" row="0" column="0"> + <property name="name"> + <cstring>groupBox4</cstring> + </property> + <property name="title"> + <string>Protocol Preferences</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>textLabel4</cstring> + </property> + <property name="text"> + <string>Host check frequency:</string> + </property> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>textLabel1</cstring> + </property> + <property name="text"> + <string>Path to 'smbclient' executable:</string> + </property> + </widget> + <widget class="QLayoutWidget" row="0" column="1" rowspan="2" colspan="1"> + <property name="name"> + <cstring>layout6</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout5</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KIntSpinBox"> + <property name="name"> + <cstring>mHostCheckFreq</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maxValue"> + <number>3600</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel6</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>second(s)</string> + </property> + </widget> + </hbox> + </widget> + <widget class="KURLRequester"> + <property name="name"> + <cstring>mSmbcPath</cstring> + </property> + </widget> + </vbox> + </widget> + </grid> + </widget> + </grid> + </widget> + </widget> + </grid> +</widget> +<connections> + <connection> + <sender>doInstallSamba</sender> + <signal>clicked()</signal> + <receiver>WPEditAccountBase</receiver> + <slot>installSamba()</slot> + </connection> +</connections> +<tabstops> + <tabstop>tabWidget10</tabstop> + <tabstop>mHostName</tabstop> + <tabstop>doInstallSamba</tabstop> +</tabstops> +<slots> + <slot>installSamba()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +<includehints> + <includehint>kpushbutton.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>kurlrequester.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>kpushbutton.h</includehint> +</includehints> +</UI> diff --git a/kopete/protocols/winpopup/ui/wpuserinfowidget.ui b/kopete/protocols/winpopup/ui/wpuserinfowidget.ui new file mode 100644 index 00000000..a899e3ca --- /dev/null +++ b/kopete/protocols/winpopup/ui/wpuserinfowidget.ui @@ -0,0 +1,219 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>WPUserInfoWidget</class> +<widget class="QWidget"> + <property name="name"> + <cstring>WPUserInfoWidget</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>402</width> + <height>175</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget" row="0" column="0"> + <property name="name"> + <cstring>layout6</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout5</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>lblComputerName</cstring> + </property> + <property name="text"> + <string>&Computer name:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>sComputerName</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname of the computer for this contact.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname of the computer for this contact.</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel2_2</cstring> + </property> + <property name="text"> + <string>Comment:</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel2</cstring> + </property> + <property name="text"> + <string>&Workgroup/domain:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>sWorkgroup</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The workgroup or domain the contact's computer is on.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The workgroup or domain the contact's computer is on.</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel3</cstring> + </property> + <property name="text"> + <string>Operating s&ystem:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>sOS</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The operating system the contact's computer is running.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The operating system the contact's computer is running.</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel1</cstring> + </property> + <property name="text"> + <string>Ser&ver software:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>sServer</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>The software the contact's computer is running.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The software the contact's computer is running.</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout4</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KLineEdit"> + <property name="name"> + <cstring>sComputerName</cstring> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The hostname of the computer for this contact.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The hostname of the computer for this contact.</string> + </property> + </widget> + <widget class="KLineEdit"> + <property name="name"> + <cstring>sComment</cstring> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The comment of the computer for this contact.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The comment of the computer for this contact.</string> + </property> + </widget> + <widget class="KLineEdit"> + <property name="name"> + <cstring>sWorkgroup</cstring> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The workgroup or domain the contact's computer is on.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The workgroup or domain the contact's computer is on.</string> + </property> + </widget> + <widget class="KLineEdit"> + <property name="name"> + <cstring>sOS</cstring> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The operating system the contact's computer is running.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The operating system the contact's computer is running.</string> + </property> + </widget> + <widget class="KLineEdit"> + <property name="name"> + <cstring>sServer</cstring> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="toolTip" stdset="0"> + <string>The software the contact's computer is running.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>The software the contact's computer is running.</string> + </property> + </widget> + </vbox> + </widget> + </hbox> + </widget> + </grid> +</widget> +<tabstops> + <tabstop>sComputerName</tabstop> + <tabstop>sWorkgroup</tabstop> + <tabstop>sOS</tabstop> + <tabstop>sServer</tabstop> +</tabstops> +<layoutdefaults spacing="6" margin="0"/> +<includehints> + <includehint>klineedit.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>klineedit.h</includehint> +</includehints> +</UI> |