diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-01-22 09:46:15 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-01-22 09:46:15 +0100 |
commit | 4bee715bfd986a31cd98700bcb945dfa5d03cd7c (patch) | |
tree | c762b98193e25fc00d23a10d1086a2e25f392fba /src/qt | |
parent | 2f06b5965ae564dea4d13b5c0ec79cfb58d2c74a (diff) |
[Qt] very minor style cleanups
- rebuilt some ui file layout to remove unreal values from the files
- remove an unneeded attribute from an ui file
- add / remove some spaces in files
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/forms/askpassphrasedialog.ui | 16 | ||||
-rw-r--r-- | src/qt/forms/editaddressdialog.ui | 16 | ||||
-rw-r--r-- | src/qt/forms/intro.ui | 16 | ||||
-rw-r--r-- | src/qt/forms/signverifymessagedialog.ui | 3 | ||||
-rw-r--r-- | src/qt/forms/transactiondescdialog.ui | 16 | ||||
-rw-r--r-- | src/qt/recentrequeststablemodel.h | 4 | ||||
-rw-r--r-- | src/qt/splashscreen.cpp | 2 | ||||
-rw-r--r-- | src/qt/walletmodel.h | 2 |
8 files changed, 36 insertions, 39 deletions
diff --git a/src/qt/forms/askpassphrasedialog.ui b/src/qt/forms/askpassphrasedialog.ui index 25169042a1..bc4921455f 100644 --- a/src/qt/forms/askpassphrasedialog.ui +++ b/src/qt/forms/askpassphrasedialog.ui @@ -122,12 +122,12 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>248</x> - <y>254</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>157</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> @@ -138,12 +138,12 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>316</x> - <y>260</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>286</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> diff --git a/src/qt/forms/editaddressdialog.ui b/src/qt/forms/editaddressdialog.ui index 8ff3805226..915b3679a1 100644 --- a/src/qt/forms/editaddressdialog.ui +++ b/src/qt/forms/editaddressdialog.ui @@ -76,12 +76,12 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>248</x> - <y>254</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>157</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> @@ -92,12 +92,12 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>316</x> - <y>260</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>286</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> diff --git a/src/qt/forms/intro.ui b/src/qt/forms/intro.ui index 05ee9466c4..09e7bdb024 100644 --- a/src/qt/forms/intro.ui +++ b/src/qt/forms/intro.ui @@ -237,12 +237,12 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>248</x> - <y>254</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>157</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> @@ -253,12 +253,12 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>316</x> - <y>260</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>286</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> diff --git a/src/qt/forms/signverifymessagedialog.ui b/src/qt/forms/signverifymessagedialog.ui index 04d614a1cd..989522bb58 100644 --- a/src/qt/forms/signverifymessagedialog.ui +++ b/src/qt/forms/signverifymessagedialog.ui @@ -19,9 +19,6 @@ <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QTabWidget" name="tabWidget"> - <property name="currentIndex"> - <number>0</number> - </property> <widget class="QWidget" name="tabSignMessage"> <attribute name="title"> <string>&Sign Message</string> diff --git a/src/qt/forms/transactiondescdialog.ui b/src/qt/forms/transactiondescdialog.ui index b38dffcc12..5ae1e12856 100644 --- a/src/qt/forms/transactiondescdialog.ui +++ b/src/qt/forms/transactiondescdialog.ui @@ -45,12 +45,12 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>248</x> - <y>254</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>157</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> @@ -61,12 +61,12 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>316</x> - <y>260</y> + <x>20</x> + <y>20</y> </hint> <hint type="destinationlabel"> - <x>286</x> - <y>274</y> + <x>20</x> + <y>20</y> </hint> </hints> </connection> diff --git a/src/qt/recentrequeststablemodel.h b/src/qt/recentrequeststablemodel.h index 6b20402f78..51aef9decf 100644 --- a/src/qt/recentrequeststablemodel.h +++ b/src/qt/recentrequeststablemodel.h @@ -18,7 +18,7 @@ class RecentRequestEntry public: RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { } - static const int CURRENT_VERSION=1; + static const int CURRENT_VERSION = 1; int nVersion; int64_t id; QDateTime date; @@ -46,7 +46,7 @@ class RecentRequestEntryLessThan public: RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder): column(nColumn), order(fOrder) {} - bool operator()(RecentRequestEntry &left, RecentRequestEntry &right ) const; + bool operator()(RecentRequestEntry &left, RecentRequestEntry &right) const; private: int column; diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 8b16496c18..c21679ea8a 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -5,8 +5,8 @@ #include "splashscreen.h" #include "clientversion.h" -#include "util.h" #include "ui_interface.h" +#include "util.h" #include <QApplication> #include <QPainter> diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 600bef346b..6d9d866b25 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -56,7 +56,7 @@ public: // Empty if no authentication or invalid signature/cert/etc. QString authenticatedMerchant; - static const int CURRENT_VERSION=1; + static const int CURRENT_VERSION = 1; int nVersion; IMPLEMENT_SERIALIZE |