diff options
Diffstat (limited to 'src/loginform.ui')
-rw-r--r-- | src/loginform.ui | 267 |
1 files changed, 267 insertions, 0 deletions
diff --git a/src/loginform.ui b/src/loginform.ui new file mode 100644 index 0000000..3525a9d --- /dev/null +++ b/src/loginform.ui @@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>LoginForm</class> + <widget class="QWidget" name="LoginForm"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>350</width> + <height>325</height> + </rect> + </property> + <property name="font"> + <font> + <family>Andale Mono</family> + <pointsize>12</pointsize> + </font> + </property> + <property name="windowTitle"> + <string>LoginForm</string> + </property> + <property name="styleSheet"> + <string notr="true">QWidget { + border-radius: 5px; +} + +#hostnameLabel { + color: white; +} + +#formFrame { + background-color: rgba(80,80,80, 180); + border-radius: 10px; +} + +QComboBox, +QPushButton { + border: 1px solid silver; + background-color: rgb(200, 200, 200); +} + +QComboBox::drop-down { + border: none; + width: 24px; + text-align: center; +} + +QComboBox::down-arrow { + image: url(:/resources/dropdown.svg); +} +</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QFrame" name="formFrame"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <layout class="QGridLayout" name="gridLayout"> + <property name="bottomMargin"> + <number>25</number> + </property> + <property name="verticalSpacing"> + <number>8</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="hostnameLabel"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>60</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>10000</width> + <height>60</height> + </size> + </property> + <property name="font"> + <font> + <family>Bitstream Vera Sans</family> + <pointsize>14</pointsize> + <weight>50</weight> + <italic>true</italic> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>Hostname</string> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="indent"> + <number>10</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="iconLabel"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="qt-lightdm-greeter.qrc">:/resources/rqt-2.png</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QLineEdit" name="userInput"> + <property name="minimumSize"> + <size> + <width>200</width> + <height>60</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>10000</width> + <height>60</height> + </size> + </property> + <property name="font"> + <font> + <family>Bitstream Vera Sans</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="echoMode"> + <enum>QLineEdit::Normal</enum> + </property> + <property name="placeholderText"> + <string>user id</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QLineEdit" name="passwordInput"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>60</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>10000</width> + <height>60</height> + </size> + </property> + <property name="font"> + <font> + <family>Bitstream Vera Sans</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string/> + </property> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + <property name="placeholderText"> + <string>password</string> + </property> + <property name="margin" stdset="0"> + <number>0</number> + </property> + <property name="indent" stdset="0"> + <number>10</number> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QComboBox" name="sessionCombo"> + <property name="minimumSize"> + <size> + <width>200</width> + <height>60</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>10000</width> + <height>60</height> + </size> + </property> + <property name="font"> + <font> + <family>Bitstream Vera Sans</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToContents</enum> + </property> + <property name="frame"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QComboBox" name="leaveComboBox"> + <property name="minimumSize"> + <size> + <width>80</width> + <height>60</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>80</width> + <height>60</height> + </size> + </property> + <item> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="qt-lightdm-greeter.qrc"> + <normaloff>:/resources/leaveIcon.svg</normaloff>:/resources/leaveIcon.svg</iconset> + </property> + </item> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="qt-lightdm-greeter.qrc"/> + </resources> + <connections/> +</ui> |