mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
* remove margins * create more pretty toolbars * edit toolbar update action (s/setVisible/setEnabled/g)
210 lines
5.3 KiB
XML
210 lines
5.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NetctlAutoWindow</class>
|
|
<widget class="QMainWindow" name="NetctlAutoWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>428</width>
|
|
<height>339</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>netctl-auto</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="centralLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_info">
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="tableWidget">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>4</number>
|
|
</property>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Description</string>
|
|
</property>
|
|
</column>
|
|
<column/>
|
|
<column/>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="windowTitle">
|
|
<string>Toolbar</string>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonFollowStyle</enum>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionRefresh"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionSwitch"/>
|
|
<addaction name="actionEnable"/>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>428</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuMenu">
|
|
<property name="title">
|
|
<string>Menu</string>
|
|
</property>
|
|
<addaction name="actionEnableAll"/>
|
|
<addaction name="actionDisableAll"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionStartService"/>
|
|
<addaction name="actionRestartService"/>
|
|
<addaction name="actionEnableService"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionClose"/>
|
|
</widget>
|
|
<addaction name="menuMenu"/>
|
|
</widget>
|
|
<action name="actionClose">
|
|
<property name="icon">
|
|
<iconset theme="exit">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Esc</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEnableAll">
|
|
<property name="icon">
|
|
<iconset theme="list-add">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable all profiles</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDisableAll">
|
|
<property name="icon">
|
|
<iconset theme="edit-delete">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disable all profiles</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStartService">
|
|
<property name="text">
|
|
<string>Start service</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Start or stop service</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRestartService">
|
|
<property name="text">
|
|
<string>Restart service</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEnableService">
|
|
<property name="text">
|
|
<string>Enable service</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Enable or disable service</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRefresh">
|
|
<property name="icon">
|
|
<iconset theme="view-refresh">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Refresh</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Refresh table</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+R</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEnable">
|
|
<property name="icon">
|
|
<iconset theme="list-add">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Enable or disable profile</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSwitch">
|
|
<property name="icon">
|
|
<iconset theme="system-run">
|
|
<normaloff/>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Switch</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Switch to profile</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|