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