From 6f4e494e067ba8778c2a4064d218639743cf715a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 24 Jan 2014 13:26:24 -0800 Subject: Bunch of UI style improvements. --- ZeroTierUI/networkwidget.ui | 253 ++++++++++++++++++++------------------------ 1 file changed, 114 insertions(+), 139 deletions(-) (limited to 'ZeroTierUI/networkwidget.ui') diff --git a/ZeroTierUI/networkwidget.ui b/ZeroTierUI/networkwidget.ui index a23f25b4..c4bf9734 100644 --- a/ZeroTierUI/networkwidget.ui +++ b/ZeroTierUI/networkwidget.ui @@ -20,7 +20,7 @@ Network - NetworkWidget + networkListItem @@ -57,35 +57,74 @@ 0 - - - - 0 - 0 - - - - - 16 - 75 - true - - - - This network's short name. - - - networkname - - - Qt::PlainText - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::NoTextInteraction - + + + + 0 + + + 4 + + + 0 + + + 0 + + + + + + Courier + 13 + 75 + true + + + + Hexadecimal network ID; click to copy to clipboard. + + + ---------------- + + + Qt::ToolButtonTextOnly + + + clickToCopy + + + + + + + + 13 + 75 + true + + + + This network's short name. + + + networkname + + + Qt::PlainText + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + Qt::NoTextInteraction + + + networkName + + + + @@ -100,6 +139,9 @@ QFormLayout::ExpandingFieldsGrow + + QFormLayout::DontWrapRows + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -107,27 +149,32 @@ Qt::AlignHCenter|Qt::AlignTop - 6 + 4 2 - 0 + 4 - 0 + 4 0 - 0 + 4 - + + + + 12 + + - Network ID: + Type: Qt::PlainText @@ -135,78 +182,34 @@ - - - - 0 - 0 - - + - Courier - 14 + 12 75 true - Hexadecimal network ID; click to copy to clipboard. - - - QPushButton { - border: 0; - padding: 0; - margin: 0; - text-align: left; - vertical-align: middle; - background-color: transparent; -} - -QPushButton:focus { - background-color: rgba(0,0,0,15); -} - -QPushButton:hover { - background-color: rgba(0,0,0,15); -} - -QPushButton:pressed { - background-color: rgba(0,0,0,75); -} - - - - 0000000000000000 - - - true + What kind of network? Public or private? - - - - - Type: + ? Qt::PlainText - - + + - 75 - true + 12 - - What kind of network? Public or private? - - ? + Status: Qt::PlainText @@ -214,16 +217,21 @@ QPushButton:pressed { - + + + + 12 + + - Status: + Device: Qt::PlainText - + @@ -257,6 +265,7 @@ QPushButton:pressed { + 12 75 true @@ -282,18 +291,21 @@ QPushButton:pressed { - 8 + 10 How recently did this network refresh its settings? - (configuration is 0 seconds old) + [0s ago] Qt::PlainText + + Qt::NoTextInteraction + @@ -312,20 +324,11 @@ QPushButton:pressed { - - - - Device: - - - Qt::PlainText - - - - + + 12 75 true @@ -388,7 +391,7 @@ QPushButton:pressed { padding: 0.1em 0 0.1em 0; - IP Address Assignments + IP Addresses Qt::PlainText @@ -418,16 +421,6 @@ QPushButton:pressed { Double-click an IP to copy it to the clipboard. - - QListWidget { - background-color: rgba(0,0,0,10); -} - -QListWidget:hover { - background-color: rgba(0,0,0,15); -} - - QFrame::NoFrame @@ -446,6 +439,9 @@ QListWidget:hover { true + + ipAddressList + @@ -480,7 +476,7 @@ QListWidget:hover { - + 0 @@ -490,32 +486,11 @@ QListWidget:hover { Leave this network. - - QPushButton { - padding: 0.25em; - border: 0; - margin: 2px 0 2px 0; - background-color: rgba(0,0,0,25); -} - -QPushButton:focus { - background-color: rgba(0,0,0,33); -} - -QPushButton:hover { - background-color: rgba(0,0,0,33); -} - -QPushButton:pressed { - background-color: rgba(0,0,0,75); -} - - Leave Network - - true + + leaveNetworkButton -- cgit v1.2.3