summaryrefslogtreecommitdiffstats
path: root/mainwindow.ui
diff options
context:
space:
mode:
authorJonathan Klimt <jounathaen@mail.de>2016-11-17 17:14:34 +0100
committerJonathan Klimt <jounathaen@mail.de>2016-11-17 17:14:34 +0100
commit81287f0af4fe41328a9483a18f41c3d7a6bdbfe5 (patch)
treea6821e09ca64c391150966c22bfe954f1359d3e3 /mainwindow.ui
parent160c7c67188a35e995b5ac24a3c66149da097229 (diff)
UI improvements: improved Mainwindow, treeView can be deselected
Diffstat (limited to 'mainwindow.ui')
-rw-r--r--mainwindow.ui60
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; }
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; font-weight:600; color:#333333;&quot;&gt;QtPass&lt;/span&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;&quot;&gt; is a GUI for &lt;/span&gt;&lt;a href=&quot;https://www.passwordstore.org/&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;pass&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;&quot;&gt;, the standard unix password manager.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;&quot;&gt;&lt;br /&gt;Please report any &lt;/span&gt;&lt;a href=&quot;https://github.com/IJHack/qtpass/issues&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;&quot;&gt;issues&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; font-size:13pt; color:#333333;&quot;&gt; you might have with this software.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;https://qtpass.org/&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:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&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;/body&gt;&lt;/html&gt;</string>
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;https://github.com/IJHack/qtpass&quot;&gt;&lt;span style=&quot; font-size:12pt; text-decoration: underline; color:#4183c4;&quot;&gt;SourceCode&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>