From f311be96a9b8290266dd1b75db40d78ff221e8b4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 19 Dec 2013 14:59:52 -0800 Subject: More UI cleanup... --- ZeroTierUI/networkwidget.ui | 139 +++++++++++++++++++++++++++++--------------- 1 file changed, 93 insertions(+), 46 deletions(-) (limited to 'ZeroTierUI/networkwidget.ui') diff --git a/ZeroTierUI/networkwidget.ui b/ZeroTierUI/networkwidget.ui index 84c26829..07eb253c 100644 --- a/ZeroTierUI/networkwidget.ui +++ b/ZeroTierUI/networkwidget.ui @@ -22,25 +22,28 @@ NetworkWidget - + - 6 + 0 - 6 + 0 - 6 + 0 - 6 + 0 - 6 + 0 + + 2 + 0 @@ -63,13 +66,13 @@ - 15 + 16 + 75 + true - - background-color: rgba(0,0,0,25); -padding: 0.25em; -margin: 0; + + This network's short name. networkname @@ -133,14 +136,21 @@ margin: 0; + + + 0 + 0 + + + Courier 75 true - - Click to copy network ID to clipboard. + + Hexadecimal network ID; click to copy to clipboard. QPushButton { @@ -152,11 +162,15 @@ margin: 0; } QPushButton:focus { - background-color: rgba(0,0,0,25); + background-color: rgba(0,0,0,15); } QPushButton:hover { - background-color: rgba(0,0,0,25); + background-color: rgba(0,0,0,15); +} + +QPushButton:pressed { + background-color: rgba(0,0,0,75); } @@ -186,6 +200,9 @@ QPushButton:hover { true + + What kind of network? Public or private? + ? @@ -242,6 +259,9 @@ QPushButton:hover { true + + Status of this network. + ? @@ -263,6 +283,9 @@ QPushButton:hover { 8 + + How recently did this network refresh its settings? + (configuration is 0 seconds old) @@ -305,6 +328,9 @@ QPushButton:hover { true + + The name of the network device on your system. + ? @@ -329,10 +355,7 @@ QPushButton:hover { - 3 - - - QLayout::SetNoConstraint + 0 0 @@ -348,11 +371,21 @@ QPushButton:hover { + + + 0 + 0 + + + 12 false + + padding: 0.1em 0 0.1em 0; + IP Address Assignments @@ -363,12 +396,6 @@ QPushButton:hover { - - - 0 - 0 - - 0 @@ -381,16 +408,16 @@ QPushButton:hover { 12 - - Double-click IP to copy to clipboard. + + Double-click an IP to copy it to the clipboard. QListWidget { - background-color: rgba(0,0,0,10); + background-color: rgba(0,0,0,5); } QListWidget:hover { - background-color: rgba(0,0,0,25); + background-color: rgba(0,0,0,15); } @@ -415,19 +442,7 @@ QListWidget:hover { - - - - 0 - 0 - - - - - 100 - 0 - - + 0 @@ -452,22 +467,55 @@ QListWidget:hover { 40 - 20 + 1 + + + 0 + 0 + + - 10 - false + 12 + + Leave this network. + + + QPushButton { + border: 0; + padding: 0.25em; + margin: 0; + text-align: right; + background-color: transparent; +} + +QPushButton:focus { + background-color: rgba(0,0,0,25); +} + +QPushButton:hover { + background-color: rgba(0,0,0,25); +} + +QPushButton:pressed { + background-color: rgba(0,0,0,75); +} + + Leave Network + + true + @@ -480,7 +528,6 @@ QListWidget:hover { ipListWidget - leaveNetworkButton -- cgit v1.2.3