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
pull/1/head
Philip Kaufmann 9 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 @@ @@ -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 @@ @@ -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>

16
src/qt/forms/editaddressdialog.ui

@ -76,12 +76,12 @@ @@ -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 @@ @@ -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>

16
src/qt/forms/intro.ui

@ -237,12 +237,12 @@ @@ -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 @@ @@ -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>

3
src/qt/forms/signverifymessagedialog.ui

@ -19,9 +19,6 @@ @@ -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>&amp;Sign Message</string>

16
src/qt/forms/transactiondescdialog.ui

@ -45,12 +45,12 @@ @@ -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 @@ @@ -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>

4
src/qt/recentrequeststablemodel.h

@ -18,7 +18,7 @@ class RecentRequestEntry @@ -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 @@ -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;

2
src/qt/splashscreen.cpp

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

2
src/qt/walletmodel.h

@ -56,7 +56,7 @@ public: @@ -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

Loading…
Cancel
Save