summaryrefslogtreecommitdiff
path: root/ZeroTierUI/mainwindow.ui
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-10 21:40:38 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-10 21:40:38 -0800
commitd5535558805178c3c5eca101f54d4333a5738b8e (patch)
tree8f1a00e6b8915a470d08e2acf931e0e5ee36e4a9 /ZeroTierUI/mainwindow.ui
parent9e508779c2bcf6905d7bd83d627c2e19629c2958 (diff)
downloadinfinitytier-d5535558805178c3c5eca101f54d4333a5738b8e.tar.gz
infinitytier-d5535558805178c3c5eca101f54d4333a5738b8e.zip
Add "you have not joined any networks" placeholder if networks list is empty.
Diffstat (limited to 'ZeroTierUI/mainwindow.ui')
-rw-r--r--ZeroTierUI/mainwindow.ui69
1 files changed, 68 insertions, 1 deletions
diff --git a/ZeroTierUI/mainwindow.ui b/ZeroTierUI/mainwindow.ui
index 306e4523..d97ece8d 100644
--- a/ZeroTierUI/mainwindow.ui
+++ b/ZeroTierUI/mainwindow.ui
@@ -35,6 +35,73 @@
<number>0</number>
</property>
<item>
+ <widget class="QLabel" name="noNetworksLabel">
+ <property name="palette">
+ <palette>
+ <active>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="64">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </active>
+ <inactive>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="64">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </inactive>
+ <disabled>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>127</red>
+ <green>127</green>
+ <blue>127</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </disabled>
+ </palette>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>16</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="text">
+ <string>You Have Not Joined Any Networks</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ <property name="margin">
+ <number>25</number>
+ </property>
+ <property name="textInteractionFlags">
+ <set>Qt::NoTextInteraction</set>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QListWidget" name="networkListWidget">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
@@ -135,7 +202,7 @@ QPushButton:pressed {
s</string>
</property>
<property name="text">
- <string> </string>
+ <string/>
</property>
<property name="flat">
<bool>true</bool>