ZeroTierOne/ZeroTierUI/networkwidget.ui

536 lines
16 KiB
Plaintext
Raw Normal View History

2013-11-13 21:50:49 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NetworkWidget</class>
<widget class="QWidget" name="NetworkWidget">
2013-11-13 21:50:49 +00:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2013-11-20 23:29:02 +00:00
<width>580</width>
2013-11-21 18:45:44 +00:00
<height>253</height>
2013-11-13 21:50:49 +00:00
</rect>
</property>
2013-11-18 17:01:33 +00:00
<property name="sizePolicy">
2013-11-21 18:45:44 +00:00
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
2013-11-18 17:01:33 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-11-13 21:50:49 +00:00
<property name="windowTitle">
2013-11-18 17:01:33 +00:00
<string>Network</string>
2013-11-13 21:50:49 +00:00
</property>
2013-12-19 00:52:21 +00:00
<property name="class" stdset="0">
<string>NetworkWidget</string>
</property>
2013-12-19 22:59:52 +00:00
<layout class="QHBoxLayout">
2013-11-18 17:01:33 +00:00
<property name="spacing">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="leftMargin">
2013-12-20 02:15:34 +00:00
<number>2</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="topMargin">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="rightMargin">
2013-12-20 02:15:34 +00:00
<number>2</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="bottomMargin">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-13 21:50:49 +00:00
</property>
2013-11-18 17:01:33 +00:00
<item>
2013-11-21 18:45:44 +00:00
<widget class="QWidget" name="leftWidget" native="true">
2013-12-19 18:51:46 +00:00
<layout class="QVBoxLayout" name="verticalLayout_2">
2013-12-19 22:59:52 +00:00
<property name="spacing">
<number>2</number>
</property>
2013-11-21 18:45:44 +00:00
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
2013-12-19 18:51:46 +00:00
<item>
2013-11-21 18:45:44 +00:00
<widget class="QLabel" name="nameLabel">
2013-12-19 18:51:46 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2013-11-21 18:45:44 +00:00
</property>
<property name="font">
<font>
2013-12-19 22:59:52 +00:00
<pointsize>16</pointsize>
<weight>75</weight>
<bold>true</bold>
2013-11-21 18:45:44 +00:00
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>This network's short name.</string>
2013-11-21 18:45:44 +00:00
</property>
<property name="text">
2013-12-19 18:51:46 +00:00
<string>networkname</string>
2013-11-21 18:45:44 +00:00
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
2013-12-19 18:51:46 +00:00
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
2013-11-21 18:45:44 +00:00
</property>
2013-12-19 18:51:46 +00:00
<property name="textInteractionFlags">
<set>Qt::NoTextInteraction</set>
2013-11-21 18:45:44 +00:00
</property>
</widget>
</item>
2013-12-19 18:51:46 +00:00
<item>
<widget class="QWidget" name="networkStatsWidget" native="true">
<property name="sizePolicy">
2013-12-19 18:51:46 +00:00
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-12-19 18:51:46 +00:00
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="formAlignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="horizontalSpacing">
<number>6</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
2013-12-19 18:51:46 +00:00
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Network ID:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="networkIdPushButton">
2013-12-19 22:59:52 +00:00
<property name="sizePolicy">
2013-12-20 02:15:34 +00:00
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
2013-12-19 22:59:52 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-12-19 18:51:46 +00:00
<property name="font">
<font>
2013-12-19 22:59:52 +00:00
<family>Courier</family>
2013-12-20 02:15:34 +00:00
<pointsize>14</pointsize>
2013-12-19 18:51:46 +00:00
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>Hexadecimal network ID; click to copy to clipboard.</string>
2013-12-19 18:51:46 +00:00
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border: 0;
padding: 0;
margin: 0;
text-align: left;
2013-12-20 02:15:34 +00:00
vertical-align: middle;
2013-12-19 18:51:46 +00:00
background-color: transparent;
}
QPushButton:focus {
2013-12-19 22:59:52 +00:00
background-color: rgba(0,0,0,15);
2013-12-19 18:51:46 +00:00
}
QPushButton:hover {
2013-12-19 22:59:52 +00:00
background-color: rgba(0,0,0,15);
}
QPushButton:pressed {
background-color: rgba(0,0,0,75);
2013-12-19 18:51:46 +00:00
}
</string>
</property>
<property name="text">
<string>0000000000000000</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
2013-12-19 18:51:46 +00:00
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Type:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="networkTypeLabel">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>What kind of network? Public or private?</string>
</property>
<property name="text">
<string>?</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
2013-12-19 18:51:46 +00:00
<item row="4" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Status:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-12-19 18:51:46 +00:00
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>12</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="statusLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>Status of this network.</string>
</property>
2013-12-19 18:51:46 +00:00
<property name="text">
<string>?</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="ageLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>How recently did this network refresh its settings?</string>
</property>
2013-12-19 18:51:46 +00:00
<property name="text">
<string>(configuration is 0 seconds old)</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</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>
<item row="5" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Device:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="deviceLabel">
<property name="font">
<font>
2013-12-19 18:51:46 +00:00
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>The name of the network device on your system.</string>
</property>
<property name="text">
2013-12-19 18:51:46 +00:00
<string>?</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2013-11-21 18:45:44 +00:00
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="rightWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2013-11-20 23:29:02 +00:00
</property>
2013-11-21 18:45:44 +00:00
<layout class="QVBoxLayout" name="verticalLayout">
2013-11-20 23:29:02 +00:00
<property name="spacing">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="leftMargin">
2013-11-21 18:45:44 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="topMargin">
2013-11-21 18:45:44 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="rightMargin">
2013-11-21 18:45:44 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
<property name="bottomMargin">
2013-11-21 18:45:44 +00:00
<number>0</number>
2013-11-18 17:01:33 +00:00
</property>
2013-11-20 23:29:02 +00:00
<item>
2013-11-21 18:45:44 +00:00
<widget class="QLabel" name="label_6">
2013-12-19 22:59:52 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-11-21 18:45:44 +00:00
<property name="font">
<font>
<underline>false</underline>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="styleSheet">
<string notr="true">padding: 0.1em 0 0.1em 0;</string>
</property>
2013-11-21 18:45:44 +00:00
<property name="text">
<string>IP Address Assignments</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="ipListWidget">
2013-12-20 02:15:34 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-11-21 18:45:44 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>Courier</family>
<pointsize>12</pointsize>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>Double-click an IP to copy it to the clipboard.</string>
2013-12-19 00:52:21 +00:00
</property>
<property name="styleSheet">
<string notr="true">QListWidget {
2013-12-20 00:23:41 +00:00
background-color: rgba(0,0,0,10);
2013-12-19 00:52:21 +00:00
}
QListWidget:hover {
2013-12-19 22:59:52 +00:00
background-color: rgba(0,0,0,15);
2013-12-19 00:52:21 +00:00
}
</string>
</property>
2013-12-18 02:40:01 +00:00
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
2013-11-21 18:45:44 +00:00
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
2013-11-18 17:01:33 +00:00
</widget>
</item>
2013-11-20 23:29:02 +00:00
<item>
2013-12-19 22:59:52 +00:00
<widget class="QWidget" name="leaveButtonContainerWidget" native="true">
2013-11-21 18:45:44 +00:00
<layout class="QHBoxLayout" name="horizontalLayout_2">
2013-11-20 23:29:02 +00:00
<property name="spacing">
2013-11-21 18:45:44 +00:00
<number>0</number>
2013-11-20 23:29:02 +00:00
</property>
2013-11-18 17:01:33 +00:00
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
2013-11-21 18:45:44 +00:00
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
2013-11-20 23:29:02 +00:00
</property>
2013-11-21 18:45:44 +00:00
<property name="sizeHint" stdset="0">
2013-11-20 23:29:02 +00:00
<size>
2013-11-21 18:45:44 +00:00
<width>40</width>
2013-12-19 22:59:52 +00:00
<height>1</height>
2013-11-20 23:29:02 +00:00
</size>
</property>
2013-11-21 18:45:44 +00:00
</spacer>
</item>
<item>
2013-12-19 00:52:21 +00:00
<widget class="QPushButton" name="leaveNetworkButton">
2013-12-19 22:59:52 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="statusTip">
<string>Leave this network.</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding: 0.25em;
2013-12-20 02:15:34 +00:00
border: 0;
margin: 2px 0 2px 0;
background-color: rgba(0,0,0,25);
2013-12-19 22:59:52 +00:00
}
QPushButton:focus {
2013-12-20 02:15:34 +00:00
background-color: rgba(0,0,0,33);
2013-12-19 22:59:52 +00:00
}
QPushButton:hover {
2013-12-20 02:15:34 +00:00
background-color: rgba(0,0,0,33);
2013-12-19 22:59:52 +00:00
}
QPushButton:pressed {
background-color: rgba(0,0,0,75);
}
</string>
</property>
2013-11-21 18:45:44 +00:00
<property name="text">
<string>Leave Network</string>
2013-11-20 23:29:02 +00:00
</property>
2013-12-19 22:59:52 +00:00
<property name="flat">
<bool>true</bool>
</property>
2013-11-20 23:29:02 +00:00
</widget>
</item>
2013-11-18 17:01:33 +00:00
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
2013-11-13 21:50:49 +00:00
</widget>
2013-12-19 00:52:21 +00:00
<tabstops>
<tabstop>ipListWidget</tabstop>
</tabstops>
2013-11-13 21:50:49 +00:00
<resources/>
<connections/>
</ui>