summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icons/document-new.pngbin1030 -> 0 bytes
-rw-r--r--icons/document-properties.pngbin1333 -> 0 bytes
-rw-r--r--icons/edit-delete.pngbin1365 -> 0 bytes
-rw-r--r--icons/go-bottom.pngbin1127 -> 0 bytes
-rw-r--r--icons/go-top.pngbin1133 -> 0 bytes
-rw-r--r--icons/properties.pngbin1404 -> 0 bytes
-rw-r--r--icons/x-office-address-book.pngbin1206 -> 0 bytes
-rw-r--r--mainwindow.ui28
-rw-r--r--qtpass.pro3
-rw-r--r--resources.qrc11
10 files changed, 20 insertions, 22 deletions
diff --git a/icons/document-new.png b/icons/document-new.png
deleted file mode 100644
index 07bff566..00000000
--- a/icons/document-new.png
+++ /dev/null
Binary files differ
diff --git a/icons/document-properties.png b/icons/document-properties.png
deleted file mode 100644
index 10976bd5..00000000
--- a/icons/document-properties.png
+++ /dev/null
Binary files differ
diff --git a/icons/edit-delete.png b/icons/edit-delete.png
deleted file mode 100644
index 32e8ef57..00000000
--- a/icons/edit-delete.png
+++ /dev/null
Binary files differ
diff --git a/icons/go-bottom.png b/icons/go-bottom.png
deleted file mode 100644
index 22e9b526..00000000
--- a/icons/go-bottom.png
+++ /dev/null
Binary files differ
diff --git a/icons/go-top.png b/icons/go-top.png
deleted file mode 100644
index 82d255f1..00000000
--- a/icons/go-top.png
+++ /dev/null
Binary files differ
diff --git a/icons/properties.png b/icons/properties.png
deleted file mode 100644
index eedc70a1..00000000
--- a/icons/properties.png
+++ /dev/null
Binary files differ
diff --git a/icons/x-office-address-book.png b/icons/x-office-address-book.png
deleted file mode 100644
index 0dc24d35..00000000
--- a/icons/x-office-address-book.png
+++ /dev/null
Binary files differ
diff --git a/mainwindow.ui b/mainwindow.ui
index 959a1126..1fd9cca5 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -46,7 +46,8 @@
</property>
<property name="icon">
<iconset theme="document-new">
- <normaloff>.</normaloff>.</iconset>
+ <normalon>:/icons/icons/document-new.svg</normalon>
+ </iconset>
</property>
<property name="popupMode">
<enum>QToolButton::MenuButtonPopup</enum>
@@ -69,7 +70,7 @@
</property>
<property name="icon">
<iconset theme="document-properties">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff>icons/document-properties.svg</normaloff>icons/document-properties.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -83,7 +84,7 @@
</property>
<property name="icon">
<iconset theme="edit-delete">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff>icons/edit-delete.svg</normaloff>icons/edit-delete.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -113,7 +114,7 @@
</property>
<property name="icon">
<iconset theme="go-top">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff>icons/go-top.svg</normaloff>icons/go-top.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -126,7 +127,8 @@
<string>Update</string>
</property>
<property name="icon">
- <iconset theme="go-bottom"/>
+ <iconset theme="go-bottom">
+ <normaloff>icons/go-bottom.svg</normaloff>icons/go-bottom.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -156,7 +158,7 @@
</property>
<property name="icon">
<iconset theme="x-office-address-book">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff>icons/x-office-address-book.svg</normaloff>icons/x-office-address-book.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -169,8 +171,8 @@
<string>Config</string>
</property>
<property name="icon">
- <iconset theme="document-properties">
- <normaloff>.</normaloff>.</iconset>
+ <iconset theme="properties">
+ <normaloff>icons/properties.svg</normaloff>icons/properties.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -309,11 +311,11 @@
<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:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&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; 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;http://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;http://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;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&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-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'; color:#333333;&quot;&gt; is a GUI for &lt;/span&gt;&lt;a href=&quot;http://www.passwordstore.org/&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; 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'; 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'; 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'; 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'; 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;http://qtpass.org/&quot;&gt;&lt;span style=&quot; font-family:'Helvetica Neue,Helvetica,Segoe UI,Arial,freesans,sans-serif'; 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'; 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>
</property>
</widget>
</item>
diff --git a/qtpass.pro b/qtpass.pro
index f59aaf51..febf2d87 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -9,7 +9,7 @@
VERSION = 1.1.0
TEMPLATE = app
-QT += core gui
+QT += core gui svg
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -116,6 +116,7 @@ win32 {
} else:macx {
ICON = artwork/icon.icns
QMAKE_INFO_PLIST = qtpass.plist
+ QMAKE_POST_LINK = cp -r $$PWD/icons $$OUT_PWD/QtPass.app/Contents/MacOS
} else:bsd {
LIBS += -L/usr/local/lib
}
diff --git a/resources.qrc b/resources.qrc
index 1d7a63be..335b26df 100644
--- a/resources.qrc
+++ b/resources.qrc
@@ -15,19 +15,14 @@
<file>localization/localization_ru_RU.qm</file>
<file>localization/localization_zh_CN.qm</file>
<file>localization/localization_he_IL.qm</file>
- <file>icons/document-new.png</file>
+ </qresource>
+ <qresource prefix="/icons">
<file>icons/document-new.svg</file>
- <file>icons/document-properties.png</file>
<file>icons/document-properties.svg</file>
- <file>icons/edit-delete.png</file>
<file>icons/edit-delete.svg</file>
- <file>icons/go-bottom.png</file>
<file>icons/go-bottom.svg</file>
- <file>icons/go-top.png</file>
+ <file>icons/x-office-address-book.svg</file>
<file>icons/go-top.svg</file>
- <file>icons/properties.png</file>
<file>icons/properties.svg</file>
- <file>icons/x-office-address-book.png</file>
- <file>icons/x-office-address-book.svg</file>
</qresource>
</RCC>