mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 22:32:22 +00:00
391 lines
10 KiB
XML
391 lines
10 KiB
XML
<?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>
|
|
<property name="windowIcon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/img/zt1icon.png</normaloff>:/img/zt1icon.png</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</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="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>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QListWidget#networkListWidget {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QListWidget#networkListWidget::Item {
|
|
background-color: palette(base);
|
|
border: 0;
|
|
}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="autoScroll">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::NoSelection</enum>
|
|
</property>
|
|
<property name="verticalScrollMode">
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="uniformItemSizes">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="bottomContainerWidget" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</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="QPushButton" name="addressButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier</family>
|
|
<pointsize>12</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Your 10-digit ZeroTier address; click to copy to clipboard.</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
border: 0;
|
|
text-align: left;
|
|
padding: 0 5px 0 5px;
|
|
margin: 0;
|
|
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);
|
|
}
|
|
s</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="statusLabel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Your network connection status.</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">padding: 0 0.75em 0 0.75em;
|
|
margin: 0 4px 0 0;
|
|
</string>
|
|
</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>
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier</family>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string>Enter a hexadecimal network ID to join a network.</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>16</number>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>(Network ID)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="joinNetworkButton">
|
|
<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;
|
|
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);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">+</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</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>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<widget class="QMenu" name="menuHelp">
|
|
<property name="title">
|
|
<string>Help</string>
|
|
</property>
|
|
<addaction name="actionAbout"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuHelp"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
<action name="actionAbout">
|
|
<property name="text">
|
|
<string>About</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>Exit</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="resources.qrc"/>
|
|
</resources>
|
|
<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>
|
|
</ui>
|