diff options
author | Jonathan Klimt <jounathaen@mail.de> | 2016-11-17 17:14:34 +0100 |
---|---|---|
committer | Jonathan Klimt <jounathaen@mail.de> | 2016-11-17 17:14:34 +0100 |
commit | 81287f0af4fe41328a9483a18f41c3d7a6bdbfe5 (patch) | |
tree | a6821e09ca64c391150966c22bfe954f1359d3e3 /mainwindow.ui | |
parent | 160c7c67188a35e995b5ac24a3c66149da097229 (diff) |
UI improvements: improved Mainwindow, treeView can be deselected
Diffstat (limited to 'mainwindow.ui')
-rw-r--r-- | mainwindow.ui | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/mainwindow.ui b/mainwindow.ui index e396bba2..8f77a51f 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -289,38 +289,24 @@ <number>5</number> </property> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLineEdit" name="lineEdit"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>26</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="placeholderText"> - <string>Search Password</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QTreeView" name="treeView"> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> + <widget class="QLineEdit" name="lineEdit"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>26</height> + </size> </property> - <property name="frameShadow"> - <enum>QFrame::Plain</enum> + <property name="text"> + <string/> </property> - <property name="tabKeyNavigation"> - <bool>true</bool> + <property name="placeholderText"> + <string>Search Password</string> </property> </widget> </item> + <item> + <widget class="DeselectableTreeView" name="treeView"/> + </item> </layout> </widget> <widget class="QWidget" name="verticalLayoutWidget"> @@ -432,7 +418,10 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; font-weight:600; color:#333333;">QtPass</span><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;"> is a GUI for </span><a href="https://www.passwordstore.org/"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4; background-color:transparent;">pass</span></a><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;">, the standard unix password manager.</span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;"><br />Please report any </span><a href="https://github.com/IJHack/qtpass/issues"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4;">issues</span></a><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;"> you might have with this software.</span></p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://qtpass.org/"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4; background-color:transparent;">Documentation</span></a></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/IJHack/qtpass"><span style=" font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; text-decoration: underline; color:#4183c4; background-color:transparent;">Source code</span></a></p></body></html></string> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="https://github.com/IJHack/qtpass"><span style=" font-size:12pt; text-decoration: underline; color:#4183c4;">SourceCode</span></a></p></body></html></string> + </property> + <property name="acceptRichText"> + <bool>true</bool> </property> </widget> </item> @@ -498,9 +487,17 @@ p, li { white-space: pre-wrap; } </action> </widget> <layoutdefault spacing="6" margin="11"/> + <customwidgets> + <customwidget> + <class>DeselectableTreeView</class> + <extends>QTreeView</extends> + <header location="global">deselectabletreeview.h</header> + <slots> + <signal>signal1()</signal> + </slots> + </customwidget> + </customwidgets> <tabstops> - <tabstop>lineEdit</tabstop> - <tabstop>treeView</tabstop> <tabstop>textBrowser</tabstop> <tabstop>addButton</tabstop> <tabstop>editButton</tabstop> @@ -516,4 +513,7 @@ p, li { white-space: pre-wrap; } <include location="resources.qrc"/> </resources> <connections/> + <slots> + <slot>deselect()</slot> + </slots> </ui> |