mainwindowprivate.ui
来自「JdonFramework need above jdk 1.4.0 This」· UI 代码 · 共 549 行 · 第 1/2 页
UI
549 行
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>MainWindowPrivate</class><widget class="QMainWindow"> <property name="name"> <cstring>MainWindowPrivate</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>619</width> <height>580</height> </rect> </property> <property name="caption"> <string>Simple SNMP++ example with Qt</string> </property> <property name="iconText"> <string>snmp++ example</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>text_label_obj_id</cstring> </property> <property name="text"> <string>Object-ID</string> </property> </widget> <widget class="QLabel" row="1" column="0"> <property name="name"> <cstring>text_label_value</cstring> </property> <property name="text"> <string>Value</string> </property> </widget> <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>line_edit_obj_id</cstring> </property> <property name="text"> <string>1.3.6.1.2.1.1.1.0</string> </property> </widget> <widget class="QLabel" row="2" column="0"> <property name="name"> <cstring>text_label_target</cstring> </property> <property name="text"> <string>Target</string> </property> </widget> <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>line_edit_value</cstring> </property> </widget> <widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>line_edit_target</cstring> </property> <property name="text"> <string>localhost/4700</string> </property> </widget> <widget class="QButtonGroup" row="3" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>button_group_version</cstring> </property> <property name="title"> <string>SNMP Version</string> </property> <property name="toolTip" stdset="0"> <string>Select the SNMP version to use</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QRadioButton" row="0" column="0"> <property name="name"> <cstring>radio_button_v1</cstring> </property> <property name="text"> <string>SNMPv1</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="buttonGroupId"> <number>1</number> </property> </widget> <widget class="QRadioButton" row="0" column="1"> <property name="name"> <cstring>radio_button_v2</cstring> </property> <property name="text"> <string>SNMPv2c</string> </property> <property name="buttonGroupId"> <number>2</number> </property> </widget> <widget class="QRadioButton" row="0" column="2"> <property name="name"> <cstring>radio_button_v3</cstring> </property> <property name="text"> <string>SNMPv3</string> </property> <property name="buttonGroupId"> <number>3</number> </property> </widget> </grid> </widget> <widget class="QGroupBox" row="4" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>group_box_v1</cstring> </property> <property name="title"> <string>SNMPv1 / v2c options</string> </property> <property name="toolTip" stdset="0"> <string>Here options specific to SNMPv1/v2c can be entered</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QLineEdit" row="0" column="1"> <property name="name"> <cstring>line_edit_community</cstring> </property> <property name="text"> <string>public</string> </property> <property name="alignment"> <set>AlignRight</set> </property> </widget> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>text_label_community</cstring> </property> <property name="text"> <string>Community</string> </property> </widget> </grid> </widget> <widget class="QGroupBox" row="4" column="2" rowspan="2" colspan="1"> <property name="name"> <cstring>group_box_v3</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="title"> <string>SNMPv3 options</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QComboBox" row="0" column="1"> <property name="name"> <cstring>combo_box_sec_name</cstring> </property> </widget> <widget class="QComboBox" row="1" column="1"> <item> <property name="text"> <string>noAuthNoPriv</string> </property> </item> <item> <property name="text"> <string>authNoPriv</string> </property> </item> <item> <property name="text"> <string>authPriv</string> </property> </item> <property name="name"> <cstring>combo_box_sec_level</cstring> </property> </widget> <widget class="QLabel" row="1" column="0"> <property name="name"> <cstring>text_label_sec_level</cstring> </property> <property name="text"> <string>SecurityLevel</string> </property> </widget> <widget class="QLabel" row="2" column="0"> <property name="name"> <cstring>text_label_context_name</cstring> </property> <property name="text"> <string>ConextName</string> </property> <property name="toolTip" stdset="0"> <string>Can be left empty</string> </property> </widget> <widget class="QLabel" row="3" column="0"> <property name="name"> <cstring>text_label_context_engine_id</cstring> </property> <property name="text"> <string>ContextEngineId</string> </property> <property name="toolTip" stdset="0"> <string>Can be left empty</string> </property> </widget> <widget class="QLineEdit" row="2" column="1"> <property name="name"> <cstring>line_edit_context_name</cstring> </property> <property name="alignment"> <set>AlignRight</set> </property> </widget> <widget class="QLineEdit" row="3" column="1"> <property name="name"> <cstring>line_edit_context_engine_id</cstring> </property> <property name="alignment"> <set>AlignRight</set> </property> </widget> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>text_label_sec_name</cstring> </property> <property name="text"> <string>SecurityName</string> </property> </widget> </grid> </widget> <widget class="QLayoutWidget" row="8" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>layout_buttons</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QPushButton"> <property name="name"> <cstring>push_button_broadcast</cstring> </property> <property name="text"> <string>Broadcast</string> </property> <property name="toolTip" stdset="0"> <string>Send a discovery broadcast to the target address</string> </property> </widget> <spacer> <property name="name"> <cstring>spacer_buttons</cstring> </property> <property name="orientation">
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?