summaryrefslogtreecommitdiffstats
path: root/src/gui/getprofilenameform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/getprofilenameform.ui')
-rw-r--r--src/gui/getprofilenameform.ui283
1 files changed, 123 insertions, 160 deletions
diff --git a/src/gui/getprofilenameform.ui b/src/gui/getprofilenameform.ui
index 599d778..e6d17ba 100644
--- a/src/gui/getprofilenameform.ui
+++ b/src/gui/getprofilenameform.ui
@@ -1,174 +1,137 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>GetProfileNameForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>GetProfileNameForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>GetProfileNameForm</class>
+ <widget class="QDialog" name="GetProfileNameForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>430</width>
- <height>127</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>430</width>
+ <height>127</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Profile name</string>
+ <property name="windowTitle">
+ <string>Twinkle - Profile name</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>userIconTextLabel</cstring>
- </property>
- <property name="backgroundOrigin">
- <enum>WidgetOrigin</enum>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>penguin_big.png</pixmap>
- </property>
- </widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
- <property name="name">
- <cstring>layout24</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer41</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>81</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>okPushButton</cstring>
- </property>
- <property name="text">
- <string>&amp;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>&amp;Cancel</string>
- </property>
- </widget>
- </hbox>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="userIconTextLabel">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>penguin_big.png</pixmap>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
- <property name="name">
- <cstring>layout26</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>profileTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Enter a name for your profile:</string>
- </property>
- <property name="scaledContents">
- <bool>false</bool>
- </property>
- <property name="alignment">
- <set>AlignVCenter</set>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>profileLineEdit</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>&lt;b&gt;The name of your profile&lt;/b&gt;
+ </item>
+ <item row="1" column="0" rowspan="1" colspan="2">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer41">
+ <property name="sizeHint">
+ <size>
+ <width>81</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>&amp;OK</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="cancelPushButton">
+ <property name="text">
+ <string>&amp;Cancel</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="profileTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Enter a name for your profile:</string>
+ </property>
+ <property name="scaledContents">
+ <bool>false</bool>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="profileLineEdit">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;b&gt;The name of your profile&lt;/b&gt;
&lt;br&gt;&lt;br&gt;
A profile contains your user settings, e.g. your user name and password. You have to give each profile a name.
&lt;br&gt;&lt;br&gt;
If you have multiple SIP accounts, you can create multiple profiles. When you startup Twinkle it will show you the list of profile names from which you can select the profile you want to run.
&lt;br&gt;&lt;br&gt;
To remember your profiles easily you could use your SIP user name as a profile name, e.g. &lt;b&gt;example@example.com&lt;/b&gt;</string>
- </property>
- </widget>
- </vbox>
- </widget>
- </grid>
-</widget>
-<connections>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
+ <tabstop>profileLineEdit</tabstop>
+ <tabstop>okPushButton</tabstop>
+ <tabstop>cancelPushButton</tabstop>
+ </tabstops>
+ <connections>
<connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetProfileNameForm</receiver>
- <slot>reject()</slot>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetProfileNameForm</receiver>
+ <slot>reject()</slot>
</connection>
<connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>GetProfileNameForm</receiver>
- <slot>validate()</slot>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>GetProfileNameForm</receiver>
+ <slot>validate()</slot>
</connection>
-</connections>
-<tabstops>
- <tabstop>profileLineEdit</tabstop>
- <tabstop>okPushButton</tabstop>
- <tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in implementation">qlineedit.h</include>
- <include location="local" impldecl="in implementation">qregexp.h</include>
- <include location="local" impldecl="in implementation">qvalidator.h</include>
- <include location="local" impldecl="in implementation">protocol.h</include>
- <include location="local" impldecl="in implementation">qmessagebox.h</include>
- <include location="local" impldecl="in implementation">qdir.h</include>
- <include location="local" impldecl="in implementation">qfile.h</include>
- <include location="local" impldecl="in implementation">user.h</include>
- <include location="local" impldecl="in implementation">getprofilenameform.ui.h</include>
-</includes>
-<slots>
- <slot>validate()</slot>
-</slots>
-<functions>
- <function access="private" specifier="non virtual">init()</function>
- <function returnType="QString">getProfileName()</function>
- <function returnType="int">execNewName()</function>
- <function returnType="int">execRename( const QString &amp; oldName )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </connections>
+</ui>