paletteeditoradvancedbase.ui

来自「奇趣公司比较新的qt/emd版本」· UI 代码 · 共 613 行 · 第 1/2 页

UI
613
字号
                  <widget class="ColorButton" name="buttonCentral" >                    <property name="objectName" >                      <string notr="true" >buttonCentral</string>                    </property>                    <property name="sizePolicy" >                      <sizepolicy>                        <hsizetype>0</hsizetype>                        <vsizetype>0</vsizetype>                        <horstretch>0</horstretch>                        <verstretch>0</verstretch>                      </sizepolicy>                    </property>                    <property name="focusPolicy" >                      <enum>Qt::TabFocus</enum>                    </property>                    <property name="toolTip" stdset="0" >                      <string>Choose a color</string>                    </property>                    <property name="whatsThis" stdset="0" >                      <string>Choose a color for the selected central color role.</string>                    </property>                  </widget>                </item>              </layout>            </item>          </layout>        </widget>      </item>      <item>        <widget class="Q3GroupBox" name="groupEffect" >          <property name="objectName" >            <string notr="true" >groupEffect</string>          </property>          <property name="title" >            <string>3-D shadow &amp;effects</string>          </property>          <layout class="QVBoxLayout" >            <property name="objectName" >              <string notr="true" >unnamed</string>            </property>            <property name="margin" >              <number>11</number>            </property>            <property name="spacing" >              <number>6</number>            </property>            <item>              <layout class="QHBoxLayout" >                <property name="objectName" >                  <string notr="true" >unnamed</string>                </property>                <property name="margin" >                  <number>0</number>                </property>                <property name="spacing" >                  <number>6</number>                </property>                <item>                  <widget class="QCheckBox" name="checkBuildEffect" >                    <property name="objectName" >                      <string notr="true" >checkBuildEffect</string>                    </property>                    <property name="text" >                      <string>Build &amp;from button color</string>                    </property>                    <property name="checked" >                      <bool>true</bool>                    </property>                    <property name="toolTip" stdset="0" >                      <string>Generate shadings</string>                    </property>                    <property name="whatsThis" stdset="0" >                      <string>Check to let 3D-effect colors be calculated from button-color.</string>                    </property>                  </widget>                </item>                <item>                  <widget class="QComboBox" name="comboEffect" >                    <property name="objectName" >                      <string notr="true" >comboEffect</string>                    </property>                    <property name="toolTip" stdset="0" >                      <string>Choose 3D-effect color role</string>                    </property>                    <property name="whatsThis" stdset="0" >                      <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available effect roles are: &lt;ul> &lt;li>Light - lighter than Button color. &lt;/li> &lt;li>Midlight - between Button and Light. &lt;/li> &lt;li>Mid - between Button and Dark. &lt;/li> &lt;li>Dark - darker than Button. &lt;/li> &lt;li>Shadow - a very dark color. &lt;/li> &lt;/ul></string>                    </property>                    <item>                      <property name="text" >                        <string>Light</string>                      </property>                    </item>                    <item>                      <property name="text" >                        <string>Midlight</string>                      </property>                    </item>                    <item>                      <property name="text" >                        <string>Mid</string>                      </property>                    </item>                    <item>                      <property name="text" >                        <string>Dark</string>                      </property>                    </item>                    <item>                      <property name="text" >                        <string>Shadow</string>                      </property>                    </item>                  </widget>                </item>              </layout>            </item>            <item>              <layout class="QHBoxLayout" >                <property name="objectName" >                  <string notr="true" >unnamed</string>                </property>                <property name="margin" >                  <number>0</number>                </property>                <property name="spacing" >                  <number>6</number>                </property>                <item>                  <spacer name="Horizontal_Spacing3" >                    <property name="sizeHint" >                      <size>                        <width>20</width>                        <height>20</height>                      </size>                    </property>                    <property name="sizeType" >                      <enum>Expanding</enum>                    </property>                    <property name="orientation" >                      <enum>Horizontal</enum>                    </property>                  </spacer>                </item>                <item>                  <widget class="QLabel" name="labelEffect" >                    <property name="objectName" >                      <string notr="true" >labelEffect</string>                    </property>                    <property name="sizePolicy" >                      <sizepolicy>                        <hsizetype>1</hsizetype>                        <vsizetype>1</vsizetype>                        <horstretch>0</horstretch>                        <verstretch>0</verstretch>                      </sizepolicy>                    </property>                    <property name="minimumSize" >                      <size>                        <width>0</width>                        <height>0</height>                      </size>                    </property>                    <property name="text" >                      <string>Select Co&amp;lor:</string>                    </property>                    <property name="buddy" stdset="0" >                      <cstring>buttonEffect</cstring>                    </property>                  </widget>                </item>                <item>                  <widget class="ColorButton" name="buttonEffect" >                    <property name="objectName" >                      <string notr="true" >buttonEffect</string>                    </property>                    <property name="sizePolicy" >                      <sizepolicy>                        <hsizetype>0</hsizetype>                        <vsizetype>0</vsizetype>                        <horstretch>0</horstretch>                        <verstretch>0</verstretch>                      </sizepolicy>                    </property>                    <property name="focusPolicy" >                      <enum>Qt::TabFocus</enum>                    </property>                    <property name="toolTip" stdset="0" >                      <string>Choose a color</string>                    </property>                    <property name="whatsThis" stdset="0" >                      <string>Choose a color for the selected effect color role.</string>                    </property>                  </widget>                </item>              </layout>            </item>          </layout>        </widget>      </item>      <item>        <layout class="QHBoxLayout" >          <property name="objectName" >            <string notr="true" >unnamed</string>          </property>          <property name="margin" >            <number>0</number>          </property>          <property name="spacing" >            <number>6</number>          </property>          <item>            <spacer name="Horizontal_Spacing2" >              <property name="sizeHint" >                <size>                  <width>20</width>                  <height>20</height>                </size>              </property>              <property name="sizeType" >                <enum>Expanding</enum>              </property>              <property name="orientation" >                <enum>Horizontal</enum>              </property>            </spacer>          </item>          <item>            <widget class="QPushButton" name="buttonOk" >              <property name="objectName" >                <string notr="true" >buttonOk</string>              </property>              <property name="text" >                <string>OK</string>              </property>              <property name="autoDefault" >                <bool>true</bool>              </property>              <property name="default" >                <bool>true</bool>              </property>              <property name="whatsThis" stdset="0" >                <string>Close dialog and apply all changes.</string>              </property>            </widget>          </item>          <item>            <widget class="QPushButton" name="buttonCancel" >              <property name="objectName" >                <string notr="true" >buttonCancel</string>              </property>              <property name="text" >                <string>Cancel</string>              </property>              <property name="autoDefault" >                <bool>true</bool>              </property>              <property name="whatsThis" stdset="0" >                <string>Close dialog and discard all changes.</string>              </property>            </widget>          </item>        </layout>      </item>    </layout>  </widget>  <pixmapfunction></pixmapfunction>  <customwidgets>    <customwidget>      <class>ColorButton</class>      <extends></extends>      <header location="local" >colorbutton.h</header>      <sizehint>        <width>40</width>        <height>25</height>      </sizehint>      <container>0</container>      <sizepolicy>        <hordata>5</hordata>        <verdata>5</verdata>      </sizepolicy>      <pixmap>image0</pixmap>      <properties>        <property type="Color" >color</property>        <property type="Pixmap" >pixmap</property>      </properties>    </customwidget>  </customwidgets>  <tabstops>    <tabstop>buttonOk</tabstop>    <tabstop>buttonCancel</tabstop>    <tabstop>paletteCombo</tabstop>    <tabstop>checkBuildInactive</tabstop>    <tabstop>checkBuildDisabled</tabstop>    <tabstop>comboCentral</tabstop>    <tabstop>buttonCentral</tabstop>    <tabstop>checkBuildEffect</tabstop>    <tabstop>comboEffect</tabstop>    <tabstop>buttonEffect</tabstop>  </tabstops>  <images>    <image name="image0" >      <data format="XPM.GZ" length="646" >789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>    </image>  </images></ui>

⌨️ 快捷键说明

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