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">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2013-11-13 21:50:49 +00:00
|
|
|
<property name="leftMargin">
|
2013-11-15 16:09:26 +00:00
|
|
|
<number>6</number>
|
2013-11-13 21:50:49 +00:00
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
2013-11-15 16:09:26 +00:00
|
|
|
<number>6</number>
|
2013-11-13 21:50:49 +00:00
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
2013-11-15 16:09:26 +00:00
|
|
|
<number>6</number>
|
2013-11-13 21:50:49 +00:00
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2013-11-15 16:09:26 +00:00
|
|
|
<number>6</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">
|
|
|
|
<string notr="true">QListWidget#networkListWidget::Item {
|
|
|
|
background-color: rgba(0,0,0,10);
|
|
|
|
}s</string>
|
|
|
|
</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>
|
|
|
|
<property name="verticalScrollMode">
|
|
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
2013-11-15 22:04:32 +00:00
|
|
|
</property>
|
2013-12-19 00:52:21 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>5</number>
|
|
|
|
</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">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
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 00:52:21 +00:00
|
|
|
<number>5</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 00:52:21 +00:00
|
|
|
<widget class="QPushButton" name="statusAndAddressButton">
|
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>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2013-12-19 00:52:21 +00:00
|
|
|
<string>Click to copy your address 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;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:focus {
|
|
|
|
background-color: rgba(0,0,0,25);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover {
|
|
|
|
background-color: rgba(0,0,0,25);
|
|
|
|
}
|
|
|
|
</string>
|
2013-11-15 22:04:32 +00:00
|
|
|
</property>
|
2013-11-15 16:09:26 +00:00
|
|
|
<property name="text">
|
2013-11-21 20:11:22 +00:00
|
|
|
<string>0000000000 (OFFLINE, v0.0.0, 0 peers) </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>
|
|
|
|
<widget class="QLineEdit" name="networkIdLineEdit">
|
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-11-15 16:09:26 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Courier</family>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
2013-11-15 22:04:32 +00:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enter Hexadecimal Network ID</string>
|
|
|
|
</property>
|
2013-12-18 02:40:01 +00:00
|
|
|
<property name="maxLength">
|
|
|
|
<number>16</number>
|
|
|
|
</property>
|
2013-11-15 16:09:26 +00:00
|
|
|
<property name="placeholderText">
|
2013-11-15 22:04:32 +00:00
|
|
|
<string>(Numeric ID of Network to Join)</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-11-15 22:04:32 +00:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Join Network</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Join</string>
|
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>
|
|
|
|
<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>
|