OpenSecurity/bin/ui/ConfigureDialog.ui
author Oliver Maurhart <oliver.maurhart@ait.ac.at>
Mon, 29 Sep 2014 12:42:58 +0200
changeset 224 dc7cee534574
parent 198 c80f38c424fd
permissions -rw-r--r--
fixed #19
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <ui version="4.0">
     3  <class>ConfigureDialog</class>
     4  <widget class="QDialog" name="ConfigureDialog">
     5   <property name="geometry">
     6    <rect>
     7     <x>0</x>
     8     <y>0</y>
     9     <width>722</width>
    10     <height>521</height>
    11    </rect>
    12   </property>
    13   <property name="windowTitle">
    14    <string>OpenSecurity Configuration</string>
    15   </property>
    16   <property name="windowIcon">
    17    <iconset resource="opensecurity.qrc">
    18     <normaloff>:/opensecurity/gfx/opensecurity_icon_64.png</normaloff>:/opensecurity/gfx/opensecurity_icon_64.png</iconset>
    19   </property>
    20   <property name="sizeGripEnabled">
    21    <bool>true</bool>
    22   </property>
    23   <layout class="QVBoxLayout" name="lyMain">
    24    <item>
    25     <layout class="QHBoxLayout" name="lyHeading">
    26      <property name="spacing">
    27       <number>8</number>
    28      </property>
    29      <property name="leftMargin">
    30       <number>8</number>
    31      </property>
    32      <property name="bottomMargin">
    33       <number>8</number>
    34      </property>
    35      <item>
    36       <widget class="QLabel" name="lblIcon">
    37        <property name="text">
    38         <string/>
    39        </property>
    40        <property name="pixmap">
    41         <pixmap resource="opensecurity.qrc">:/opensecurity/gfx/opensecurity_configure_64.png</pixmap>
    42        </property>
    43       </widget>
    44      </item>
    45      <item>
    46       <layout class="QGridLayout" name="lyStatus">
    47        <item row="0" column="1">
    48         <widget class="QLineEdit" name="edtStatus">
    49          <property name="readOnly">
    50           <bool>true</bool>
    51          </property>
    52         </widget>
    53        </item>
    54        <item row="1" column="0">
    55         <widget class="QLabel" name="lblVersion">
    56          <property name="text">
    57           <string>Version:</string>
    58          </property>
    59          <property name="buddy">
    60           <cstring>edtVersion</cstring>
    61          </property>
    62         </widget>
    63        </item>
    64        <item row="1" column="1">
    65         <widget class="QLineEdit" name="edtVersion">
    66          <property name="readOnly">
    67           <bool>true</bool>
    68          </property>
    69         </widget>
    70        </item>
    71        <item row="0" column="0">
    72         <widget class="QLabel" name="lblStatus">
    73          <property name="text">
    74           <string>Service status:</string>
    75          </property>
    76          <property name="buddy">
    77           <cstring>edtStatus</cstring>
    78          </property>
    79         </widget>
    80        </item>
    81        <item row="2" column="0" colspan="2">
    82         <widget class="QWidget" name="wdStatus" native="true"/>
    83        </item>
    84       </layout>
    85      </item>
    86     </layout>
    87    </item>
    88    <item>
    89     <widget class="QTabWidget" name="tabWidget">
    90      <property name="currentIndex">
    91       <number>0</number>
    92      </property>
    93      <widget class="QWidget" name="tabConfiguration">
    94       <attribute name="icon">
    95        <iconset resource="opensecurity.qrc">
    96         <normaloff>:/opensecurity/gfx/preferences-system.png</normaloff>:/opensecurity/gfx/preferences-system.png</iconset>
    97       </attribute>
    98       <attribute name="title">
    99        <string>Configuration</string>
   100       </attribute>
   101       <layout class="QVBoxLayout" name="lyTabConfig">
   102        <item>
   103         <widget class="QLabel" name="lblTemplate">
   104          <property name="text">
   105           <string>Initial Template:</string>
   106          </property>
   107          <property name="buddy">
   108           <cstring>tvTemplate</cstring>
   109          </property>
   110         </widget>
   111        </item>
   112        <item>
   113         <widget class="QTreeWidget" name="tvTemplate">
   114          <property name="maximumSize">
   115           <size>
   116            <width>16777215</width>
   117            <height>64</height>
   118           </size>
   119          </property>
   120          <property name="rootIsDecorated">
   121           <bool>false</bool>
   122          </property>
   123          <property name="itemsExpandable">
   124           <bool>false</bool>
   125          </property>
   126          <property name="allColumnsShowFocus">
   127           <bool>true</bool>
   128          </property>
   129          <column>
   130           <property name="text">
   131            <string>Name</string>
   132           </property>
   133          </column>
   134          <column>
   135           <property name="text">
   136            <string>Date</string>
   137           </property>
   138          </column>
   139          <column>
   140           <property name="text">
   141            <string>Size</string>
   142           </property>
   143          </column>
   144          <column>
   145           <property name="text">
   146            <string>Path</string>
   147           </property>
   148          </column>
   149         </widget>
   150        </item>
   151        <item>
   152         <layout class="QHBoxLayout" name="lyDownload">
   153          <item>
   154           <spacer name="spDownload">
   155            <property name="orientation">
   156             <enum>Qt::Horizontal</enum>
   157            </property>
   158            <property name="sizeHint" stdset="0">
   159             <size>
   160              <width>40</width>
   161              <height>20</height>
   162             </size>
   163            </property>
   164           </spacer>
   165          </item>
   166          <item>
   167           <widget class="QPushButton" name="btnDownload">
   168            <property name="minimumSize">
   169             <size>
   170              <width>100</width>
   171              <height>0</height>
   172             </size>
   173            </property>
   174            <property name="text">
   175             <string>&amp;Download</string>
   176            </property>
   177           </widget>
   178          </item>
   179          <item>
   180           <widget class="QPushButton" name="btnImport">
   181            <property name="minimumSize">
   182             <size>
   183              <width>100</width>
   184              <height>0</height>
   185             </size>
   186            </property>
   187            <property name="text">
   188             <string>&amp;Import</string>
   189            </property>
   190           </widget>
   191          </item>
   192          <item>
   193           <widget class="QPushButton" name="btnUpdate">
   194            <property name="minimumSize">
   195             <size>
   196              <width>100</width>
   197              <height>0</height>
   198             </size>
   199            </property>
   200            <property name="text">
   201             <string>&amp;Update</string>
   202            </property>
   203           </widget>
   204          </item>
   205         </layout>
   206        </item>
   207        <item>
   208         <widget class="QLabel" name="lblProgress">
   209          <property name="text">
   210           <string>Progress:</string>
   211          </property>
   212          <property name="buddy">
   213           <cstring>edtProgress</cstring>
   214          </property>
   215         </widget>
   216        </item>
   217        <item>
   218         <widget class="QPlainTextEdit" name="edtProgress">
   219          <property name="font">
   220           <font>
   221            <family>Monospace</family>
   222            <pointsize>10</pointsize>
   223           </font>
   224          </property>
   225          <property name="verticalScrollBarPolicy">
   226           <enum>Qt::ScrollBarAlwaysOn</enum>
   227          </property>
   228          <property name="lineWrapMode">
   229           <enum>QPlainTextEdit::NoWrap</enum>
   230          </property>
   231          <property name="readOnly">
   232           <bool>true</bool>
   233          </property>
   234          <property name="plainText">
   235           <string/>
   236          </property>
   237         </widget>
   238        </item>
   239       </layout>
   240       <zorder>tvTemplate</zorder>
   241       <zorder>lblTemplate</zorder>
   242       <zorder></zorder>
   243       <zorder>lblProgress</zorder>
   244       <zorder>edtProgress</zorder>
   245      </widget>
   246      <widget class="QWidget" name="tabMachines">
   247       <attribute name="icon">
   248        <iconset resource="opensecurity.qrc">
   249         <normaloff>:/opensecurity/gfx/cpu.png</normaloff>:/opensecurity/gfx/cpu.png</iconset>
   250       </attribute>
   251       <attribute name="title">
   252        <string>Machines</string>
   253       </attribute>
   254       <layout class="QVBoxLayout" name="verticalLayout_2">
   255        <item>
   256         <widget class="QTreeWidget" name="tvMachines">
   257          <property name="rootIsDecorated">
   258           <bool>true</bool>
   259          </property>
   260          <property name="uniformRowHeights">
   261           <bool>true</bool>
   262          </property>
   263          <property name="itemsExpandable">
   264           <bool>true</bool>
   265          </property>
   266          <property name="sortingEnabled">
   267           <bool>true</bool>
   268          </property>
   269          <property name="animated">
   270           <bool>true</bool>
   271          </property>
   272          <property name="allColumnsShowFocus">
   273           <bool>true</bool>
   274          </property>
   275          <property name="columnCount">
   276           <number>2</number>
   277          </property>
   278          <column>
   279           <property name="text">
   280            <string extracomment="Machine name">Name</string>
   281           </property>
   282          </column>
   283          <column>
   284           <property name="text">
   285            <string extracomment="Virtual Machine Attribute Value">Value</string>
   286           </property>
   287          </column>
   288         </widget>
   289        </item>
   290       </layout>
   291      </widget>
   292      <widget class="QWidget" name="tabLog">
   293       <attribute name="icon">
   294        <iconset resource="opensecurity.qrc">
   295         <normaloff>:/opensecurity/gfx/text-x-log.png</normaloff>:/opensecurity/gfx/text-x-log.png</iconset>
   296       </attribute>
   297       <attribute name="title">
   298        <string>Service Log</string>
   299       </attribute>
   300       <layout class="QVBoxLayout" name="verticalLayout">
   301        <item>
   302         <widget class="QPlainTextEdit" name="edtLog">
   303          <property name="font">
   304           <font>
   305            <family>Monospace</family>
   306            <pointsize>10</pointsize>
   307           </font>
   308          </property>
   309          <property name="verticalScrollBarPolicy">
   310           <enum>Qt::ScrollBarAlwaysOn</enum>
   311          </property>
   312          <property name="lineWrapMode">
   313           <enum>QPlainTextEdit::NoWrap</enum>
   314          </property>
   315          <property name="readOnly">
   316           <bool>true</bool>
   317          </property>
   318         </widget>
   319        </item>
   320        <item>
   321         <layout class="QHBoxLayout" name="lyLog">
   322          <item>
   323           <spacer name="spLogButtons">
   324            <property name="orientation">
   325             <enum>Qt::Horizontal</enum>
   326            </property>
   327            <property name="sizeHint" stdset="0">
   328             <size>
   329              <width>40</width>
   330              <height>20</height>
   331             </size>
   332            </property>
   333           </spacer>
   334          </item>
   335          <item>
   336           <widget class="QPushButton" name="btnExplorer">
   337            <property name="minimumSize">
   338             <size>
   339              <width>100</width>
   340              <height>0</height>
   341             </size>
   342            </property>
   343            <property name="text">
   344             <string>&amp;Explorer</string>
   345            </property>
   346           </widget>
   347          </item>
   348         </layout>
   349        </item>
   350       </layout>
   351      </widget>
   352     </widget>
   353    </item>
   354    <item>
   355     <layout class="QHBoxLayout" name="lyButton">
   356      <item>
   357       <spacer name="spButton">
   358        <property name="orientation">
   359         <enum>Qt::Horizontal</enum>
   360        </property>
   361        <property name="sizeHint" stdset="0">
   362         <size>
   363          <width>40</width>
   364          <height>20</height>
   365         </size>
   366        </property>
   367       </spacer>
   368      </item>
   369      <item>
   370       <widget class="QPushButton" name="btnRefresh">
   371        <property name="minimumSize">
   372         <size>
   373          <width>100</width>
   374          <height>0</height>
   375         </size>
   376        </property>
   377        <property name="text">
   378         <string>&amp;Refresh</string>
   379        </property>
   380       </widget>
   381      </item>
   382      <item>
   383       <widget class="QPushButton" name="btnAbout">
   384        <property name="minimumSize">
   385         <size>
   386          <width>100</width>
   387          <height>0</height>
   388         </size>
   389        </property>
   390        <property name="text">
   391         <string>&amp;About</string>
   392        </property>
   393       </widget>
   394      </item>
   395      <item>
   396       <widget class="QPushButton" name="btnClose">
   397        <property name="minimumSize">
   398         <size>
   399          <width>100</width>
   400          <height>0</height>
   401         </size>
   402        </property>
   403        <property name="text">
   404         <string>&amp;Close</string>
   405        </property>
   406        <property name="default">
   407         <bool>true</bool>
   408        </property>
   409       </widget>
   410      </item>
   411     </layout>
   412    </item>
   413   </layout>
   414   <zorder></zorder>
   415   <zorder>tabWidget</zorder>
   416  </widget>
   417  <tabstops>
   418   <tabstop>edtStatus</tabstop>
   419   <tabstop>edtVersion</tabstop>
   420   <tabstop>tabWidget</tabstop>
   421   <tabstop>tvTemplate</tabstop>
   422   <tabstop>btnDownload</tabstop>
   423   <tabstop>btnImport</tabstop>
   424   <tabstop>btnUpdate</tabstop>
   425   <tabstop>edtProgress</tabstop>
   426   <tabstop>tvMachines</tabstop>
   427   <tabstop>edtLog</tabstop>
   428   <tabstop>btnExplorer</tabstop>
   429   <tabstop>btnRefresh</tabstop>
   430   <tabstop>btnAbout</tabstop>
   431   <tabstop>btnClose</tabstop>
   432  </tabstops>
   433  <resources>
   434   <include location="opensecurity.qrc"/>
   435  </resources>
   436  <connections/>
   437 </ui>