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/panel/config/configpaneldialog.ui

475 lines
13 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ConfigPanelWidget</class>
<widget class="QWidget" name="ConfigPanelWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>462</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Configure panel</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox_size">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Size</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Size:</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="2">
<widget class="QSpinBox" name="spinBox_panelSize">
<property name="suffix">
<string> px</string>
</property>
<property name="value">
<number>24</number>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLabel" name="label_iconSize">
<property name="text">
<string>Icon size:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_length">
<property name="text">
<string>Length:</string>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QSpinBox" name="spinBox_lineCount">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>20</number>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QSpinBox" name="spinBox_iconSize">
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>10</number>
</property>
<property name="maximum">
<number>128</number>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2">
<widget class="QWidget" name="widget_2" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QSpinBox" name="spinBox_length">
<property name="toolTip">
<string>&lt;p&gt;Negative pixel value sets the panel length to that many pixels less than available screen space.&lt;/p&gt;&lt;p/&gt;&lt;p&gt;&lt;i&gt;E.g. &quot;Length&quot; set to -100px, screen size is 1000px, then real panel length will be 900 px.&lt;/i&gt;&lt;/p&gt;</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_lenghtType">
<item>
<property name="text">
<string>%</string>
</property>
</item>
<item>
<property name="text">
<string>px</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="5">
<widget class="QLabel" name="label_lineCount">
<property name="text">
<string>Rows count:</string>
</property>
</widget>
</item>
<item row="0" column="4">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Alignment &amp;&amp; position</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="comboBox_alignment">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Center</string>
</property>
</item>
<item>
<property name="text">
<string>Right</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_alignment">
<property name="text">
<string>Alignment:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="comboBox_position"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_position">
<property name="text">
<string>Position:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Styling</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBox_customFontColor">
<property name="text">
<string>Custom font color:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="checkBox_customBgImage">
<property name="text">
<string>Custom background image:</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLineEdit" name="lineEdit_customBgImage">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkBox_customBgColor">
<property name="text">
<string>Custom background color:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="pushButton_customBgImage">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="insert-image">
<normaloff/>
</iconset>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="pushButton_customFontColor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="color-picker">
<normaloff/>
</iconset>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="pushButton_customBgColor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="color-picker">
<normaloff/>
</iconset>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QWidget" name="widget_3" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>6</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Opacity</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="slider_opacity">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="pageStep">
<number>5</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>checkBox_customBgColor</sender>
<signal>toggled(bool)</signal>
<receiver>pushButton_customBgColor</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>332</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>350</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_customBgImage</sender>
<signal>toggled(bool)</signal>
<receiver>lineEdit_customBgImage</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>137</x>
<y>403</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>440</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_customBgImage</sender>
<signal>toggled(bool)</signal>
<receiver>pushButton_customBgImage</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>125</x>
<y>403</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>441</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_customFontColor</sender>
<signal>toggled(bool)</signal>
<receiver>pushButton_customFontColor</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>190</x>
<y>294</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>312</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_customBgColor</sender>
<signal>toggled(bool)</signal>
<receiver>slider_opacity</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>99</x>
<y>333</y>
</hint>
<hint type="destinationlabel">
<x>114</x>
<y>367</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_customBgColor</sender>
<signal>toggled(bool)</signal>
<receiver>label_2</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>34</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>32</x>
<y>362</y>
</hint>
</hints>
</connection>
</connections>
</ui>