ZeroTierOne/ZeroTierUI/mainwindow.ui

324 lines
8.4 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>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>668</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>ZeroTier One</string>
</property>
2013-11-15 16:09:26 +00:00
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/img/zt1icon.png</normaloff>:/img/zt1icon.png</iconset>
</property>
2013-11-13 21:50:49 +00:00
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
2013-11-15 22:04:32 +00:00
<property name="spacing">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-15 22:04:32 +00:00
</property>
2013-11-13 21:50:49 +00:00
<property name="leftMargin">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-13 21:50:49 +00:00
</property>
<property name="topMargin">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-13 21:50:49 +00:00
</property>
<property name="rightMargin">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-13 21:50:49 +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-15 16:09:26 +00:00
<item>
2013-11-21 18:45:44 +00:00
<widget class="QListWidget" name="networkListWidget">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
2013-11-20 23:29:02 +00:00
</property>
2013-12-19 00:52:21 +00:00
<property name="styleSheet">
2013-12-20 00:23:41 +00:00
<string notr="true">QListWidget#networkListWidget {
2013-12-20 02:15:34 +00:00
background-color: transparent;
2013-12-20 00:23:41 +00:00
}
QListWidget#networkListWidget::Item {
background-color: palette(base);
2013-12-20 02:15:34 +00:00
border: 0;
2013-12-19 22:59:52 +00:00
}</string>
2013-12-19 00:52:21 +00:00
</property>
2013-12-18 02:40:01 +00:00
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
2013-11-15 16:09:26 +00:00
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
2013-11-21 18:45:44 +00:00
<property name="autoScroll">
<bool>false</bool>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="selectionMode">
2013-12-19 00:52:21 +00:00
<enum>QAbstractItemView::NoSelection</enum>
2013-11-21 18:45:44 +00:00
</property>
2013-12-20 00:23:41 +00:00
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
2013-12-19 00:52:21 +00:00
<property name="spacing">
2013-12-20 02:15:34 +00:00
<number>2</number>
2013-12-19 00:52:21 +00:00
</property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>
2013-11-15 16:09:26 +00:00
</widget>
</item>
<item>
<widget class="QWidget" name="bottomContainerWidget" native="true">
2013-12-19 00:52:21 +00:00
<layout class="QHBoxLayout" name="horizontalLayout">
2013-11-15 22:04:32 +00:00
<property name="spacing">
2013-12-19 22:59:52 +00:00
<number>0</number>
2013-11-15 22:04:32 +00:00
</property>
2013-11-15 16:09:26 +00:00
<property name="leftMargin">
2013-11-15 22:04:32 +00:00
<number>0</number>
2013-11-15 16:09:26 +00:00
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
2013-11-15 22:04:32 +00:00
<number>0</number>
2013-11-15 16:09:26 +00:00
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
2013-12-19 22:59:52 +00:00
<widget class="QPushButton" name="addressButton">
2013-11-15 16:09:26 +00:00
<property name="sizePolicy">
2013-11-15 22:04:32 +00:00
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
2013-11-15 16:09:26 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-11-15 22:04:32 +00:00
<property name="font">
<font>
<family>Courier</family>
<pointsize>12</pointsize>
2013-12-19 22:59:52 +00:00
<weight>75</weight>
<bold>true</bold>
2013-11-15 22:04:32 +00:00
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>Your 10-digit ZeroTier address; click to copy to clipboard.</string>
2013-11-15 22:04:32 +00:00
</property>
<property name="styleSheet">
2013-12-19 00:52:21 +00:00
<string notr="true">QPushButton {
border: 0;
2013-12-19 22:59:52 +00:00
text-align: left;
padding: 0 5px 0 5px;
2013-12-20 02:15:34 +00:00
margin: 0;
2013-12-19 00:52:21 +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 00:52:21 +00:00
}
QPushButton:hover {
2013-12-19 22:59:52 +00:00
background-color: rgba(0,0,0,15);
2013-12-19 00:52:21 +00:00
}
2013-12-19 22:59:52 +00:00
QPushButton:pressed {
background-color: rgba(0,0,0,75);
}
s</string>
2013-11-15 22:04:32 +00:00
</property>
2013-11-15 16:09:26 +00:00
<property name="text">
2013-12-21 00:07:20 +00:00
<string> </string>
2013-11-15 22:04:32 +00:00
</property>
2013-12-19 00:52:21 +00:00
<property name="flat">
<bool>true</bool>
2013-11-15 16:09:26 +00:00
</property>
</widget>
</item>
<item>
2013-12-19 22:59:52 +00:00
<widget class="QLabel" name="statusLabel">
2013-11-15 22:04:32 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-12-19 22:59:52 +00:00
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="statusTip">
<string>Your network connection status.</string>
</property>
<property name="styleSheet">
2013-12-20 02:15:34 +00:00
<string notr="true">padding: 0 0.75em 0 0.75em;
margin: 0 4px 0 0;
</string>
2013-12-19 22:59:52 +00:00
</property>
<property name="text">
<string>STATUS, etc.</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="networkIdLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2013-11-15 16:09:26 +00:00
<property name="font">
<font>
<family>Courier</family>
<pointsize>12</pointsize>
</font>
</property>
2013-12-19 22:59:52 +00:00
<property name="statusTip">
<string>Enter a hexadecimal network ID to join a network.</string>
2013-11-15 22:04:32 +00:00
</property>
2013-12-18 02:40:01 +00:00
<property name="maxLength">
<number>16</number>
</property>
2013-12-19 22:59:52 +00:00
<property name="frame">
<bool>true</bool>
</property>
2013-11-15 16:09:26 +00:00
<property name="placeholderText">
2013-12-20 00:23:41 +00:00
<string>(Network ID)</string>
2013-11-15 16:09:26 +00:00
</property>
</widget>
</item>
<item>
2013-12-19 00:52:21 +00:00
<widget class="QPushButton" name="joinNetworkButton">
2013-12-19 22:59:52 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Courier</family>
<pointsize>16</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="statusTip">
<string>Join this network.</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
padding: 0 0.8em 0 0.8em;
margin: 0;
border: 0;
2013-12-20 02:15:34 +00:00
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>
2013-11-15 22:04:32 +00:00
</property>
<property name="text">
2013-12-19 22:59:52 +00:00
<string notr="true">+</string>
</property>
<property name="flat">
<bool>true</bool>
2013-11-15 16:09:26 +00:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
2013-11-13 21:50:49 +00:00
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>668</width>
<height>22</height>
</rect>
</property>
2013-11-15 16:09:26 +00:00
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<widget class="QMenu" name="menuHelp">
2013-11-13 21:50:49 +00:00
<property name="title">
2013-11-15 16:09:26 +00:00
<string>Help</string>
2013-11-13 21:50:49 +00:00
</property>
2013-11-15 22:04:32 +00:00
<addaction name="actionAbout"/>
2013-11-13 21:50:49 +00:00
</widget>
2013-11-15 16:09:26 +00:00
<widget class="QMenu" name="menuFile">
2013-11-13 21:50:49 +00:00
<property name="title">
2013-11-15 16:09:26 +00:00
<string>File</string>
2013-11-13 21:50:49 +00:00
</property>
2013-11-15 16:09:26 +00:00
<addaction name="separator"/>
2013-11-15 22:04:32 +00:00
<addaction name="actionExit"/>
2013-11-13 21:50:49 +00:00
</widget>
<addaction name="menuFile"/>
<addaction name="menuHelp"/>
</widget>
2013-12-19 22:59:52 +00:00
<widget class="QStatusBar" name="statusBar">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
</widget>
2013-11-13 21:50:49 +00:00
<action name="actionAbout">
<property name="text">
<string>About</string>
</property>
</action>
2013-11-15 22:04:32 +00:00
<action name="actionExit">
2013-11-15 16:09:26 +00:00
<property name="text">
<string>Exit</string>
</property>
</action>
2013-11-13 21:50:49 +00:00
</widget>
<layoutdefault spacing="6" margin="11"/>
2013-11-15 16:09:26 +00:00
<resources>
<include location="resources.qrc"/>
</resources>
2013-11-15 22:04:32 +00:00
<connections>
<connection>
<sender>actionExit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>333</x>
<y>149</y>
</hint>
</hints>
</connection>
</connections>
2013-11-13 21:50:49 +00:00
</ui>