OpenSecurity/bin/ui/PasswordDialog.ui
author Oliver Maurhart <oliver.maurhart@ait.ac.at>
Tue, 30 Sep 2014 11:48:14 +0200
changeset 230 d2d4421e42ed
parent 102 d352d09f8832
child 233 bab44ef66a3c
permissions -rw-r--r--
made password-dialogs desktop-wide modal
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <ui version="4.0">
     3  <class>PasswordDialog</class>
     4  <widget class="QDialog" name="PasswordDialog">
     5   <property name="windowModality">
     6    <enum>Qt::ApplicationModal</enum>
     7   </property>
     8   <property name="geometry">
     9    <rect>
    10     <x>0</x>
    11     <y>0</y>
    12     <width>420</width>
    13     <height>120</height>
    14    </rect>
    15   </property>
    16   <property name="sizePolicy">
    17    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    18     <horstretch>0</horstretch>
    19     <verstretch>0</verstretch>
    20    </sizepolicy>
    21   </property>
    22   <property name="windowTitle">
    23    <string>OpenSecuirty Password Request</string>
    24   </property>
    25   <property name="windowIcon">
    26    <iconset resource="opensecurity.qrc">
    27     <normaloff>:/opensecurity/gfx/opensecurity_icon_64.png</normaloff>:/opensecurity/gfx/opensecurity_icon_64.png</iconset>
    28   </property>
    29   <property name="modal">
    30    <bool>true</bool>
    31   </property>
    32   <layout class="QVBoxLayout" name="lyMain">
    33    <item>
    34     <layout class="QHBoxLayout" name="lyContent">
    35      <property name="spacing">
    36       <number>16</number>
    37      </property>
    38      <item>
    39       <widget class="QLabel" name="lblIcon">
    40        <property name="text">
    41         <string/>
    42        </property>
    43        <property name="pixmap">
    44         <pixmap resource="opensecurity.qrc">:/opensecurity/gfx/opensecurity_icon_64.png</pixmap>
    45        </property>
    46        <property name="alignment">
    47         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
    48        </property>
    49       </widget>
    50      </item>
    51      <item>
    52       <layout class="QGridLayout" name="lyCredentials" rowstretch="0,0,0" columnstretch="0,0">
    53        <property name="spacing">
    54         <number>4</number>
    55        </property>
    56        <item row="1" column="1">
    57         <widget class="QLineEdit" name="edtPassword">
    58          <property name="echoMode">
    59           <enum>QLineEdit::Password</enum>
    60          </property>
    61         </widget>
    62        </item>
    63        <item row="0" column="0" colspan="2">
    64         <widget class="QLabel" name="lblText">
    65          <property name="text">
    66           <string>TextLabel</string>
    67          </property>
    68         </widget>
    69        </item>
    70        <item row="2" column="0" colspan="2">
    71         <widget class="QWidget" name="wdCredentialsSpacer" native="true"/>
    72        </item>
    73        <item row="1" column="0">
    74         <widget class="QLabel" name="lblPassword">
    75          <property name="text">
    76           <string>&amp;Password:</string>
    77          </property>
    78          <property name="buddy">
    79           <cstring>edtPassword</cstring>
    80          </property>
    81         </widget>
    82        </item>
    83       </layout>
    84      </item>
    85     </layout>
    86    </item>
    87    <item>
    88     <layout class="QHBoxLayout" name="lyButtons">
    89      <item>
    90       <spacer name="spButtons">
    91        <property name="orientation">
    92         <enum>Qt::Horizontal</enum>
    93        </property>
    94        <property name="sizeHint" stdset="0">
    95         <size>
    96          <width>40</width>
    97          <height>20</height>
    98         </size>
    99        </property>
   100       </spacer>
   101      </item>
   102      <item>
   103       <widget class="QPushButton" name="btnAbout">
   104        <property name="minimumSize">
   105         <size>
   106          <width>100</width>
   107          <height>0</height>
   108         </size>
   109        </property>
   110        <property name="text">
   111         <string>&amp;About</string>
   112        </property>
   113       </widget>
   114      </item>
   115      <item>
   116       <widget class="QPushButton" name="btnCancel">
   117        <property name="minimumSize">
   118         <size>
   119          <width>100</width>
   120          <height>0</height>
   121         </size>
   122        </property>
   123        <property name="text">
   124         <string>&amp;Cancel</string>
   125        </property>
   126       </widget>
   127      </item>
   128      <item>
   129       <widget class="QPushButton" name="btnOk">
   130        <property name="minimumSize">
   131         <size>
   132          <width>100</width>
   133          <height>0</height>
   134         </size>
   135        </property>
   136        <property name="text">
   137         <string>&amp;Ok</string>
   138        </property>
   139        <property name="default">
   140         <bool>true</bool>
   141        </property>
   142       </widget>
   143      </item>
   144     </layout>
   145    </item>
   146   </layout>
   147  </widget>
   148  <tabstops>
   149   <tabstop>edtPassword</tabstop>
   150   <tabstop>btnAbout</tabstop>
   151   <tabstop>btnCancel</tabstop>
   152   <tabstop>btnOk</tabstop>
   153  </tabstops>
   154  <resources>
   155   <include location="opensecurity.qrc"/>
   156  </resources>
   157  <connections/>
   158 </ui>