mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
652 lines
23 KiB
XML
652 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>PppoeWidget</class>
|
||
<widget class="QWidget" name="PppoeWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>484</width>
|
||
<height>561</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Form</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<item>
|
||
<widget class="QDockWidget" name="dockWidget_pppoe">
|
||
<property name="features">
|
||
<set>QDockWidget::NoDockWidgetFeatures</set>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>PPPoE settings</string>
|
||
</property>
|
||
<widget class="QWidget" name="dockWidgetContents_pppoe">
|
||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_username">
|
||
<item>
|
||
<widget class="QLabel" name="label_username">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Username</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_username">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>The username and password to connect with</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_password">
|
||
<item>
|
||
<widget class="QLabel" name="label_password">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Password</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_password">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>The username and password to connect with</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_connection">
|
||
<item>
|
||
<widget class="QLabel" name="label_connection">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Connection mode</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QComboBox" name="comboBox_connection">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>This option specifies how a connection should be established</string>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>persist</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>demand</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="widget_timeout" native="true">
|
||
<layout class="QHBoxLayout" name="layout_timeout">
|
||
<item>
|
||
<widget class="QLabel" name="label_timeout">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Idle timeout</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="spinBox_timeout">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>This option specifies the idle time (in seconds) after which ‘pppd’ should disconnect</string>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>999</number>
|
||
</property>
|
||
<property name="singleStep">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>300</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_pppoeAdvanced">
|
||
<item>
|
||
<spacer name="spacer_pppoeAdvanced">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QToolButton" name="pushButton_pppoeAdvanced">
|
||
<property name="checkable">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="arrowType">
|
||
<enum>Qt::DownArrow</enum>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="widget_pppoeAdvanced" native="true">
|
||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_route">
|
||
<item>
|
||
<widget class="QLabel" name="label_route">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QCheckBox" name="checkBox_route">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>Use the default route provided by the peer</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Default route</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_dns">
|
||
<item>
|
||
<widget class="QLabel" name="label_dns">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QCheckBox" name="checkBox_dns">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>Use the DNS provided by the peer</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Use peer DNS</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_ipv6">
|
||
<item>
|
||
<widget class="QLabel" name="label_ipv6">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QCheckBox" name="checkBox_ipv6">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>Enable IPv6 support</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPPoE IPv6</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_options">
|
||
<item>
|
||
<widget class="QLabel" name="label_options">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>7</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Options file</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_options">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>10</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>A file to read additional pppd options from</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButton_options">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>4</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Browse</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_fail">
|
||
<item>
|
||
<widget class="QLabel" name="label_fail">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>Max fail</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="spinBox_fail">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>The number of consecutive failed connection attempts to tolerate</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>5</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_unit">
|
||
<item>
|
||
<widget class="QLabel" name="label_unit">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPP unit</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_unit">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>Set the ppp unit number in the interface name (ppp0, ppp1, etc.)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_lcpInterval">
|
||
<item>
|
||
<widget class="QLabel" name="label_lcpInterval">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>LCP echo interval</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="spinBox_lcpInterval">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>These options override default LCP parameters from ‘/etc/ppp/options’</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>499</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>30</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_lcpFailure">
|
||
<item>
|
||
<widget class="QLabel" name="label_lcpFailure">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>LCP echo failure</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="spinBox_lcpFailure">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>These options override default LCP parameters from ‘/etc/ppp/options’</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>4</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_service">
|
||
<item>
|
||
<widget class="QLabel" name="label_service">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPPoE service</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_service">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>This option specifies the PPPoE service name</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_ac">
|
||
<item>
|
||
<widget class="QLabel" name="label_ac">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPPoE AC</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_ac">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>This option specifies the PPPoE access concentrator name</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_session">
|
||
<item>
|
||
<widget class="QLabel" name="label_session">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPPoE session</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_session">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>This option specifies an existing session to attach to, MAC address</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="layout_mac">
|
||
<item>
|
||
<widget class="QLabel" name="label_mac">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>1</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>PPPoE MAC</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEdit_mac">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>2</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>Only connect to specified MAC address</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|