summaryrefslogtreecommitdiffstats
path: root/src/gui/authenticationform.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/authenticationform.ui')
-rw-r--r--src/gui/authenticationform.ui611
1 files changed, 281 insertions, 330 deletions
diff --git a/src/gui/authenticationform.ui b/src/gui/authenticationform.ui
index acd98d1..1fdfffc 100644
--- a/src/gui/authenticationform.ui
+++ b/src/gui/authenticationform.ui
@@ -1,340 +1,291 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>AuthenticationForm</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>AuthenticationForm</cstring>
- </property>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>AuthenticationForm</class>
+ <widget class="QDialog" name="AuthenticationForm">
<property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>582</width>
- <height>198</height>
- </rect>
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>582</width>
+ <height>198</height>
+ </rect>
</property>
- <property name="caption">
- <string>Twinkle - Authentication</string>
+ <property name="windowTitle">
+ <string>Twinkle - Authentication</string>
</property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget" row="0" column="0" rowspan="5" colspan="1">
- <property name="name">
- <cstring>layout33</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>authIconTextLabel</cstring>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="pixmap">
- <pixmap>password.png</pixmap>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer46</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>51</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- <widget class="QLayoutWidget" row="0" column="1">
- <property name="name">
- <cstring>layout9</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="1">
- <property name="name">
- <cstring>userValueTextLabel</cstring>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>user</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user for which authentication is requested.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="1">
- <property name="name">
- <cstring>profileValueTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>profile</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The user profile of the user for which authentication is requested.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>profileTextLabel</cstring>
- </property>
- <property name="text">
- <string>User profile:</string>
- </property>
- </widget>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>userTextLabel</cstring>
- </property>
- <property name="text">
- <string>User:</string>
- </property>
- </widget>
- </grid>
- </widget>
- <widget class="QLayoutWidget" row="2" column="1">
- <property name="name">
- <cstring>layout10</cstring>
- </property>
- <grid>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel" row="1" column="0">
- <property name="name">
- <cstring>passwordTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>passwordLineEdit</cstring>
- </property>
- </widget>
- <widget class="QLineEdit" row="1" column="1">
- <property name="name">
- <cstring>passwordLineEdit</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="echoMode">
- <enum>Password</enum>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your password for authentication.</string>
- </property>
- </widget>
- <widget class="QLineEdit" row="0" column="1">
- <property name="name">
- <cstring>usernameLineEdit</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="whatsThis" stdset="0">
- <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
- </property>
- </widget>
- <widget class="QLabel" row="0" column="0">
- <property name="name">
- <cstring>usernameTextLabel</cstring>
- </property>
- <property name="text">
- <string>&amp;User name:</string>
- </property>
- <property name="buddy" stdset="0">
- <cstring>usernameLineEdit</cstring>
- </property>
- </widget>
- </grid>
- </widget>
- <spacer row="3" column="1">
- <property name="name">
- <cstring>spacer13</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
+ <layout class="QGridLayout">
+ <item row="0" column="0" rowspan="5" colspan="1">
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="authIconTextLabel">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="pixmap">
+ <pixmap>password.png</pixmap>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer46">
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>51</height>
+ </size>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
+ <layout class="QGridLayout">
+ <item row="1" column="1">
+ <widget class="QLabel" name="userValueTextLabel">
+ <property name="text">
+ <string comment="No need to translate">user</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user for which authentication is requested.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="profileValueTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">profile</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The user profile of the user for which authentication is requested.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="profileTextLabel">
+ <property name="text">
+ <string>User profile:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="userTextLabel">
+ <property name="text">
+ <string>User:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="1">
+ <layout class="QGridLayout">
+ <item row="1" column="0">
+ <widget class="QLabel" name="passwordTextLabel">
+ <property name="text">
+ <string>&amp;Password:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>passwordLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="passwordLineEdit">
+ <property name="minimumSize">
+ <size>
+ <width>200</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Your password for authentication.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="usernameLineEdit">
+ <property name="minimumSize">
<size>
- <width>20</width>
- <height>16</height>
+ <width>200</width>
+ <height>0</height>
</size>
- </property>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Your SIP authentication name. Quite often this is the same as your SIP user name. It can be a different name though.</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="usernameTextLabel">
+ <property name="text">
+ <string>&amp;User name:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>usernameLineEdit</cstring>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="3" column="1">
+ <spacer name="spacer13">
+ <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" row="4" column="1">
- <property name="name">
- <cstring>layout22</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer12</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>101</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>
- </widget>
- <widget class="QLayoutWidget" row="1" column="1">
- <property name="name">
- <cstring>layout13</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>authTextLabel</cstring>
- </property>
- <property name="maximumSize">
- <size>
- <width>32767</width>
- <height>32767</height>
- </size>
- </property>
- <property name="text">
- <string>Login required for realm:</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>realmTextLabel</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="paletteForegroundColor">
- <color>
- <red>0</red>
- <green>85</green>
- <blue>255</blue>
- </color>
- </property>
- <property name="text">
- <string>realm</string>
- <comment>No need to translate</comment>
- </property>
- <property name="whatsThis" stdset="0">
- <string>The realm for which you need to authenticate.</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </grid>
-</widget>
-<connections>
- <connection>
- <sender>okPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AuthenticationForm</receiver>
- <slot>accept()</slot>
- </connection>
- <connection>
- <sender>cancelPushButton</sender>
- <signal>clicked()</signal>
- <receiver>AuthenticationForm</receiver>
- <slot>reject()</slot>
- </connection>
-</connections>
-<tabstops>
+ </item>
+ <item row="4" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <spacer name="spacer12">
+ <property name="sizeHint">
+ <size>
+ <width>101</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="1" column="1">
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QLabel" name="authTextLabel">
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Login required for realm:</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="realmTextLabel">
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string comment="No need to translate">realm</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The realm for which you need to authenticate.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <tabstops>
<tabstop>usernameLineEdit</tabstop>
<tabstop>passwordLineEdit</tabstop>
<tabstop>okPushButton</tabstop>
<tabstop>cancelPushButton</tabstop>
-</tabstops>
-<includes>
- <include location="local" impldecl="in declaration">user.h</include>
- <include location="local" impldecl="in implementation">authenticationform.ui.h</include>
-</includes>
-<functions>
- <function returnType="int">exec( t_user * user_config, const QString &amp; realm, QString &amp; username, QString &amp; password )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </tabstops>
+ <includes>
+ <include location="local">user.h</include>
+ </includes>
+ <connections>
+ <connection>
+ <sender>okPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AuthenticationForm</receiver>
+ <slot>accept()</slot>
+ </connection>
+ <connection>
+ <sender>cancelPushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>AuthenticationForm</receiver>
+ <slot>reject()</slot>
+ </connection>
+ </connections>
+</ui>