diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-18 16:52:21 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-18 16:52:21 -0800 |
| commit | 4ddf97be4e497da1a091fb9945734134cf58165b (patch) | |
| tree | 9c96354308432a703a4b1afe086208785bb98bbb /ZeroTierUI/networkwidget.ui | |
| parent | a388830983e85e184932f608d1795d6477b653c8 (diff) | |
| download | infinitytier-4ddf97be4e497da1a091fb9945734134cf58165b.tar.gz infinitytier-4ddf97be4e497da1a091fb9945734134cf58165b.zip | |
More UI civic beautification.
Diffstat (limited to 'ZeroTierUI/networkwidget.ui')
| -rw-r--r-- | ZeroTierUI/networkwidget.ui | 68 |
1 files changed, 51 insertions, 17 deletions
diff --git a/ZeroTierUI/networkwidget.ui b/ZeroTierUI/networkwidget.ui index f515f2d8..8b2c51fb 100644 --- a/ZeroTierUI/networkwidget.ui +++ b/ZeroTierUI/networkwidget.ui @@ -19,6 +19,9 @@ <property name="windowTitle"> <string>Network</string> </property> + <property name="class" stdset="0"> + <string>NetworkWidget</string> + </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>6</number> @@ -83,12 +86,6 @@ </item> <item row="2" column="1"> <widget class="QPushButton" name="networkIdPushButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="font"> <font> <weight>75</weight> @@ -96,10 +93,25 @@ </font> </property> <property name="toolTip"> - <string>Click to Copy Network ID to Clipboard</string> + <string>Click to copy network ID to clipboard.</string> </property> <property name="styleSheet"> - <string notr="true">border: 0; padding: 0; margin: 0; text-align: left;</string> + <string notr="true">QPushButton { + border: 0; + padding: 0; + margin: 0; + text-align: left; + background-color: transparent; +} + +QPushButton:focus { + background-color: rgba(0,0,0,25); +} + +QPushButton:hover { + background-color: rgba(0,0,0,25); +} +</string> </property> <property name="text"> <string>0000000000000000</string> @@ -253,7 +265,7 @@ </property> <property name="font"> <font> - <pointsize>10</pointsize> + <pointsize>8</pointsize> </font> </property> <property name="text"> @@ -264,6 +276,19 @@ </property> </widget> </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>1</height> + </size> + </property> + </spacer> + </item> </layout> </widget> </item> @@ -332,11 +357,18 @@ <pointsize>12</pointsize> </font> </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> <property name="toolTip"> - <string>Double-click to Copy IP Address to Clipboard.</string> + <string>Double-click IP to copy to clipboard.</string> + </property> + <property name="styleSheet"> + <string notr="true">QListWidget { + background-color: rgba(0,0,0,10); +} + +QListWidget:hover { + background-color: rgba(0,0,0,25); +} +</string> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> @@ -402,16 +434,13 @@ </spacer> </item> <item> - <widget class="QToolButton" name="leaveNetworkButton"> + <widget class="QPushButton" name="leaveNetworkButton"> <property name="font"> <font> <pointsize>10</pointsize> <underline>false</underline> </font> </property> - <property name="styleSheet"> - <string notr="true">padding: 0.1em; margin:0;</string> - </property> <property name="text"> <string>Leave Network</string> </property> @@ -425,6 +454,11 @@ </item> </layout> </widget> + <tabstops> + <tabstop>networkIdPushButton</tabstop> + <tabstop>ipListWidget</tabstop> + <tabstop>leaveNetworkButton</tabstop> + </tabstops> <resources/> <connections/> </ui> |
