You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-panel-packaging/plugin-mainmenu/lxqtmainmenuconfiguration.ui

197 lines
5.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LxQtMainMenuConfiguration</class>
<widget class="QDialog" name="LxQtMainMenuConfiguration">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>434</width>
<height>325</height>
</rect>
</property>
<property name="windowTitle">
<string>Main Menu settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="generalGB">
<property name="title">
<string>General</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="showTextCB">
<property name="text">
<string>Button text:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="textLE">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="customFontCB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Custom font size:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="customFontSizeSB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> pt</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>11</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="menuGB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Menu file</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="menuFileL">
<property name="text">
<string>Menu file:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="menuFilePathLE"/>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="chooseMenuFilePB"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Keyboard Shortcut</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="1">
<widget class="ShortcutSelector" name="shortcutEd">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Click the button to record shortcut:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>41</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttons">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ShortcutSelector</class>
<extends>QToolButton</extends>
<header location="global">LXQtGlobalKeysUi/ShortcutSelector</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>customFontCB</sender>
<signal>toggled(bool)</signal>
<receiver>customFontSizeSB</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>60</x>
<y>249</y>
</hint>
<hint type="destinationlabel">
<x>280</x>
<y>277</y>
</hint>
</hints>
</connection>
<connection>
<sender>showTextCB</sender>
<signal>toggled(bool)</signal>
<receiver>textLE</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>239</x>
<y>39</y>
</hint>
<hint type="destinationlabel">
<x>313</x>
<y>68</y>
</hint>
</hints>
</connection>
</connections>
</ui>