gsettings.ui

来自「linux 下通过802.1认证的安装包」· UI 代码 · 共 346 行 · 第 1/2 页

UI
346
字号
                                                    <string>local1</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local2</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local3</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local4</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local5</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local6</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>local7</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>lpr</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>mail</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>news</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>user</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>uucp</string>
                                                </property>
                                            </item>
                                            <item>
                                                <property name="text">
                                                    <string>NONE</string>
                                                </property>
                                            </item>
                                            <property name="name">
                                                <cstring>logFacility</cstring>
                                            </property>
                                        </widget>
                                    </hbox>
                                </widget>
                            </vbox>
                        </widget>
                    </hbox>
                </widget>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>layout18</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <spacer>
                            <property name="name">
                                <cstring>spacer13</cstring>
                            </property>
                            <property name="orientation">
                                <enum>Horizontal</enum>
                            </property>
                            <property name="sizeType">
                                <enum>Expanding</enum>
                            </property>
                            <property name="sizeHint">
                                <size>
                                    <width>261</width>
                                    <height>31</height>
                                </size>
                            </property>
                        </spacer>
                        <widget class="QPushButton">
                            <property name="name">
                                <cstring>okayBtn</cstring>
                            </property>
                            <property name="text">
                                <string>Ok</string>
                            </property>
                        </widget>
                        <widget class="QPushButton">
                            <property name="name">
                                <cstring>cancelBtn</cstring>
                            </property>
                            <property name="text">
                                <string>Cancel</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
            </vbox>
        </widget>
    </hbox>
</widget>
<connections>
    <connection>
        <sender>fileButton</sender>
        <signal>toggled(bool)</signal>
        <receiver>gSettings</receiver>
        <slot>fileButton_toggled(bool)</slot>
    </connection>
    <connection>
        <sender>cancelBtn</sender>
        <signal>clicked()</signal>
        <receiver>gSettings</receiver>
        <slot>close()</slot>
    </connection>
    <connection>
        <sender>syslogBtn</sender>
        <signal>toggled(bool)</signal>
        <receiver>gSettings</receiver>
        <slot>syslogBtn_toggled(bool)</slot>
    </connection>
    <connection>
        <sender>selectLogFile</sender>
        <signal>clicked()</signal>
        <receiver>gSettings</receiver>
        <slot>selectButton_clicked()</slot>
    </connection>
    <connection>
        <sender>okayBtn</sender>
        <signal>clicked()</signal>
        <receiver>gSettings</receiver>
        <slot>okayButton_clicked()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in declaration">xsupincludes.h</include>
    <include location="local" impldecl="in declaration">qfiledialog.h</include>
    <include location="local" impldecl="in declaration">qmessagebox.h</include>
    <include location="local" impldecl="in implementation">gsettings.ui.h</include>
</includes>
<variables>
    <variable access="private">config_globals *globaldata;</variable>
</variables>
<slots>
    <slot>populateNetwork( config_network * nethead )</slot>
    <slot>setConfig( config_globals * globals, config_network * nethead )</slot>
    <slot>fileButton_toggled( bool enabled )</slot>
    <slot>syslogBtn_toggled( bool enabled )</slot>
    <slot>selectButton_clicked()</slot>
    <slot>okayButton_clicked()</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?