Browse Source

[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
0.10
Philip Kaufmann 11 years ago
parent
commit
4bee715bfd
  1. 16
      src/qt/forms/askpassphrasedialog.ui
  2. 16
      src/qt/forms/editaddressdialog.ui
  3. 16
      src/qt/forms/intro.ui
  4. 3
      src/qt/forms/signverifymessagedialog.ui
  5. 16
      src/qt/forms/transactiondescdialog.ui
  6. 4
      src/qt/recentrequeststablemodel.h
  7. 2
      src/qt/splashscreen.cpp
  8. 2
      src/qt/walletmodel.h

16
src/qt/forms/askpassphrasedialog.ui

@ -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>

16
src/qt/forms/editaddressdialog.ui

@ -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>

16
src/qt/forms/intro.ui

@ -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>

3
src/qt/forms/signverifymessagedialog.ui

@ -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>

16
src/qt/forms/transactiondescdialog.ui

@ -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>

4
src/qt/recentrequeststablemodel.h

@ -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;

2
src/qt/splashscreen.cpp

@ -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>

2
src/qt/walletmodel.h

@ -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

Loading…
Cancel
Save