summaryrefslogtreecommitdiffstats
path: root/mainwindow.ui
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-04-23 01:46:35 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2015-04-23 01:46:35 +0200
commitaeca906c33b322d51af5bdb0068aa5795b8257a0 (patch)
tree9458ea825e0502e4fe36361057dd2a6ef41beb13 /mainwindow.ui
parent784310ca8abc44df1718b291a09bb5fcee5dcd8c (diff)
Redesign of main interface
Diffstat (limited to 'mainwindow.ui')
-rw-r--r--mainwindow.ui187
1 files changed, 115 insertions, 72 deletions
diff --git a/mainwindow.ui b/mainwindow.ui
index 96d23633..bb3f8e87 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -6,95 +6,130 @@
<rect>
<x>0</x>
<y>0</y>
- <width>561</width>
- <height>379</height>
+ <width>631</width>
+ <height>363</height>
</rect>
</property>
<property name="windowTitle">
<string>QtPass</string>
</property>
<widget class="QWidget" name="centralWidget">
- <layout class="QVBoxLayout" name="verticalLayout">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QPushButton" name="updateButton">
- <property name="text">
- <string>Update</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton">
- <property name="text">
- <string>Push</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="configButton">
- <property name="text">
- <string>Config</string>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QFrame" name="frame">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QToolButton" name="addButton">
+ <property name="text">
+ <string>Add</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="editButton">
+ <property name="text">
+ <string>Edit</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="deleteButton">
+ <property name="text">
+ <string>Delete</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pushButton">
+ <property name="text">
+ <string>Push</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="updateButton">
+ <property name="text">
+ <string>Update</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="usersButton">
+ <property name="text">
+ <string>Users</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="configButton">
+ <property name="text">
+ <string>Config</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="1" column="1">
- <widget class="QLineEdit" name="lineEdit"/>
- </item>
- <item row="1" column="2">
- <widget class="QToolButton" name="clearButton">
- <property name="text">
- <string>X</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QToolButton" name="addButton">
- <property name="text">
- <string>+</string>
- </property>
- </widget>
- </item>
+ <widget class="QSplitter" name="splitter">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <widget class="QWidget" name="layoutWidget">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QToolButton" name="deleteButton">
- <property name="text">
- <string>-</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="editButton">
- <property name="text">
- <string>=</string>
- </property>
- </widget>
+ <widget class="QLineEdit" name="lineEdit"/>
</item>
<item>
- <widget class="QToolButton" name="usersButton">
+ <widget class="QToolButton" name="clearButton">
<property name="text">
- <string>U</string>
+ <string>X</string>
</property>
</widget>
</item>
</layout>
</item>
- <item row="2" column="1">
+ <item>
<widget class="QTreeView" name="treeView"/>
</item>
</layout>
- </item>
- <item>
- <widget class="QTextBrowser" name="textBrowser">
- <property name="html">
- <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+ </widget>
+ <widget class="QTextBrowser" name="textBrowser">
+ <property name="html">
+ <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
@@ -107,10 +142,9 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot; margin-top:0px; margin-bottom:16px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:25.6px;&quot;&gt;&lt;a href=&quot;http://ijhack.github.io/qtpass/&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4; background-color:transparent;&quot;&gt;Documentation&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:25.6px;&quot;&gt;&lt;a href=&quot;https://github.com/IJHack/qtpass&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4; background-color:transparent;&quot;&gt;Source code&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- </widget>
- </item>
- </layout>
+ </property>
+ </widget>
+ </widget>
</item>
</layout>
</widget>
@@ -122,6 +156,15 @@ p, li { white-space: pre-wrap; }
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
+ <tabstops>
+ <tabstop>configButton</tabstop>
+ <tabstop>lineEdit</tabstop>
+ <tabstop>textBrowser</tabstop>
+ <tabstop>treeView</tabstop>
+ <tabstop>clearButton</tabstop>
+ <tabstop>pushButton</tabstop>
+ <tabstop>usersButton</tabstop>
+ </tabstops>
<resources/>
<connections/>
</ui>