ArchitectureColoredPainting/qt-material-widgets/examples/flatbuttonsettingsform.ui

461 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FlatButtonSettingsForm</class>
<widget class="QWidget" name="FlatButtonSettingsForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>624</width>
<height>537</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>549</width>
<height>314</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="disabledCheckBox">
<property name="text">
<string>Disabled</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkableCheckBox">
<property name="text">
<string>Checkable</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkedCheckBox">
<property name="text">
<string>Checked</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="showHaloCheckBox">
<property name="text">
<string>Show halo</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="transparentCheckBox">
<property name="text">
<string>Transparent</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="iconCheckBox">
<property name="text">
<string>Icon</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="buttonRoleLabel">
<property name="text">
<string>Button role</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="buttonRoleComboBox">
<item>
<property name="text">
<string>Default</string>
</property>
</item>
<item>
<property name="text">
<string>Primary</string>
</property>
</item>
<item>
<property name="text">
<string>Secondary</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="rippleStyleLabel">
<property name="text">
<string>Ripple style</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="rippleStyleComboBox">
<item>
<property name="text">
<string>Centered</string>
</property>
</item>
<item>
<property name="text">
<string>Positioned</string>
</property>
</item>
<item>
<property name="text">
<string>No Ripple</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="hoverStyleLabel">
<property name="text">
<string>Hover style</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="hoverStyleComboBox">
<item>
<property name="text">
<string>No Overlay</string>
</property>
</item>
<item>
<property name="text">
<string>Tinted Overlay</string>
</property>
</item>
<item>
<property name="text">
<string>Gray Overlay</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="iconPlacementLabel">
<property name="text">
<string>Icon placement</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="iconPlacementComboBox">
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Right</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="cornerRadiusLabel">
<property name="text">
<string>Corner radius</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="cornerRadiusSpinBox"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="overlayOpacityLabel">
<property name="text">
<string>Overlay opacity</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QDoubleSpinBox" name="overlayOpacityDoubleSpinBox">
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="iconSizeLabel">
<property name="text">
<string>Icon size</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QSpinBox" name="iconSizeSpinBox"/>
</item>
<item row="8" column="0">
<widget class="QLabel" name="fontSizeLabel">
<property name="text">
<string>Font size</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QDoubleSpinBox" name="fontSizeDoubleSpinBox"/>
</item>
<item row="9" column="0">
<widget class="QLabel" name="buttonTextLabel">
<property name="text">
<string>Button text</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLineEdit" name="buttonTextLineEdit"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="textAlignmentLabel">
<property name="text">
<string>Text alignment</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="textAlignmentComboBox">
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Center</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="useThemeColorsCheckBox">
<property name="text">
<string>Use theme colors</string>
</property>
</widget>
</item>
<item>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="backgroundColorLabel">
<property name="text">
<string>Background color</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLineEdit" name="backgroundColorLineEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="backgroundColorToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="foregroundColorLabel">
<property name="text">
<string>Foreground color</string>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLineEdit" name="foregroundColorLineEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="foregroundColorToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="disabledBgColorLabel">
<property name="text">
<string>Disabled bg color</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="disabledFgColorLabel">
<property name="text">
<string>Disabled fg color</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="overlayColorLabel">
<property name="text">
<string>Overlay color</string>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLineEdit" name="overlayColorLineEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="overlayColorToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLineEdit" name="disabledBgColorLineEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="disabledBgColorToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLineEdit" name="disableFgColorLineEdit">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="disabledFgColorToolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QPushButton" name="defaultPresetPushButton">
<property name="text">
<string>Apply default preset</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="checkablePresetPushButton">
<property name="text">
<string>Apply checkable preset</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>