OpenSecurity/bin/ui/KeyfileDialog.ui
author Oliver Maurhart <oliver.maurhart@ait.ac.at>
Thu, 02 Oct 2014 13:20:37 +0200
changeset 233 bab44ef66a3c
parent 230 d2d4421e42ed
permissions -rw-r--r--
fixed dumb typo in Gui dialogs
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <ui version="4.0">
     3  <class>KeyfileDialog</class>
     4  <widget class="QDialog" name="KeyfileDialog">
     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>OpenSecurity Keyfile 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,0" columnstretch="0,0,0">
    53        <property name="spacing">
    54         <number>4</number>
    55        </property>
    56        <item row="0" column="0" colspan="2">
    57         <widget class="QLabel" name="lblText">
    58          <property name="text">
    59           <string>TextLabel</string>
    60          </property>
    61         </widget>
    62        </item>
    63        <item row="3" column="0" colspan="2">
    64         <widget class="QWidget" name="wdCredentialsSpacer" native="true"/>
    65        </item>
    66        <item row="1" column="0">
    67         <widget class="QLabel" name="lblPassword">
    68          <property name="text">
    69           <string>&amp;Password:</string>
    70          </property>
    71          <property name="buddy">
    72           <cstring>edtPassword</cstring>
    73          </property>
    74         </widget>
    75        </item>
    76        <item row="2" column="0">
    77         <widget class="QLabel" name="lblKeyfile">
    78          <property name="text">
    79           <string>&amp;Keyfile:</string>
    80          </property>
    81          <property name="buddy">
    82           <cstring>edtKeyfile</cstring>
    83          </property>
    84         </widget>
    85        </item>
    86        <item row="2" column="1">
    87         <widget class="QLineEdit" name="edtKeyfile"/>
    88        </item>
    89        <item row="2" column="2">
    90         <widget class="QToolButton" name="btnBrowse">
    91          <property name="text">
    92           <string>...</string>
    93          </property>
    94         </widget>
    95        </item>
    96        <item row="1" column="1" colspan="2">
    97         <widget class="QLineEdit" name="edtPassword">
    98          <property name="echoMode">
    99           <enum>QLineEdit::Password</enum>
   100          </property>
   101         </widget>
   102        </item>
   103       </layout>
   104      </item>
   105     </layout>
   106    </item>
   107    <item>
   108     <layout class="QHBoxLayout" name="lyButtons">
   109      <item>
   110       <spacer name="spButtons">
   111        <property name="orientation">
   112         <enum>Qt::Horizontal</enum>
   113        </property>
   114        <property name="sizeHint" stdset="0">
   115         <size>
   116          <width>40</width>
   117          <height>20</height>
   118         </size>
   119        </property>
   120       </spacer>
   121      </item>
   122      <item>
   123       <widget class="QPushButton" name="btnAbout">
   124        <property name="minimumSize">
   125         <size>
   126          <width>100</width>
   127          <height>0</height>
   128         </size>
   129        </property>
   130        <property name="text">
   131         <string>&amp;About</string>
   132        </property>
   133       </widget>
   134      </item>
   135      <item>
   136       <widget class="QPushButton" name="btnCancel">
   137        <property name="minimumSize">
   138         <size>
   139          <width>100</width>
   140          <height>0</height>
   141         </size>
   142        </property>
   143        <property name="text">
   144         <string>&amp;Cancel</string>
   145        </property>
   146       </widget>
   147      </item>
   148      <item>
   149       <widget class="QPushButton" name="btnOk">
   150        <property name="minimumSize">
   151         <size>
   152          <width>100</width>
   153          <height>0</height>
   154         </size>
   155        </property>
   156        <property name="text">
   157         <string>&amp;Ok</string>
   158        </property>
   159        <property name="default">
   160         <bool>true</bool>
   161        </property>
   162       </widget>
   163      </item>
   164     </layout>
   165    </item>
   166   </layout>
   167  </widget>
   168  <tabstops>
   169   <tabstop>edtPassword</tabstop>
   170   <tabstop>edtKeyfile</tabstop>
   171   <tabstop>btnBrowse</tabstop>
   172   <tabstop>btnAbout</tabstop>
   173   <tabstop>btnCancel</tabstop>
   174   <tabstop>btnOk</tabstop>
   175  </tabstops>
   176  <resources>
   177   <include location="opensecurity.qrc"/>
   178  </resources>
   179  <connections/>
   180 </ui>