[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
This commit is contained in:
Philip Kaufmann 2014-01-22 09:46:15 +01:00
parent 2f06b5965a
commit 4bee715bfd
8 changed files with 36 additions and 39 deletions

View File

@ -122,12 +122,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -138,12 +138,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -76,12 +76,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -92,12 +92,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -237,12 +237,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -253,12 +253,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -19,9 +19,6 @@
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabSignMessage"> <widget class="QWidget" name="tabSignMessage">
<attribute name="title"> <attribute name="title">
<string>&amp;Sign Message</string> <string>&amp;Sign Message</string>

View File

@ -45,12 +45,12 @@
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>20</x>
<y>254</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -61,12 +61,12 @@
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>20</x>
<y>260</y> <y>20</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>20</x>
<y>274</y> <y>20</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>

View File

@ -18,7 +18,7 @@ class RecentRequestEntry
public: public:
RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { } RecentRequestEntry() : nVersion(RecentRequestEntry::CURRENT_VERSION), id(0) { }
static const int CURRENT_VERSION=1; static const int CURRENT_VERSION = 1;
int nVersion; int nVersion;
int64_t id; int64_t id;
QDateTime date; QDateTime date;
@ -46,7 +46,7 @@ class RecentRequestEntryLessThan
public: public:
RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder): RecentRequestEntryLessThan(int nColumn, Qt::SortOrder fOrder):
column(nColumn), order(fOrder) {} column(nColumn), order(fOrder) {}
bool operator()(RecentRequestEntry &left, RecentRequestEntry &right ) const; bool operator()(RecentRequestEntry &left, RecentRequestEntry &right) const;
private: private:
int column; int column;

View File

@ -5,8 +5,8 @@
#include "splashscreen.h" #include "splashscreen.h"
#include "clientversion.h" #include "clientversion.h"
#include "util.h"
#include "ui_interface.h" #include "ui_interface.h"
#include "util.h"
#include <QApplication> #include <QApplication>
#include <QPainter> #include <QPainter>

View File

@ -56,7 +56,7 @@ public:
// Empty if no authentication or invalid signature/cert/etc. // Empty if no authentication or invalid signature/cert/etc.
QString authenticatedMerchant; QString authenticatedMerchant;
static const int CURRENT_VERSION=1; static const int CURRENT_VERSION = 1;
int nVersion; int nVersion;
IMPLEMENT_SERIALIZE IMPLEMENT_SERIALIZE