⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 desktopclockpreferences.ui

📁 Linux/windows环境下Qt程序
💻 UI
📖 第 1 页 / 共 2 页
字号:
                            <string>Time format string:</string>                        </property>                    </widget>                    <widget class="QLineEdit">                        <property name="name">                            <cstring>timeStringFormat</cstring>                        </property>                        <property name="text">                            <string>h:m ap</string>                        </property>                        <property name="whatsThis" stdset="0">                            <string>h -- the hour without a leading zero (0..23 or 1..12 if AM/PM display)hh -- the hour with a leading zero (00..23 or 01..12 if AM/PM display)m -- the minute without a leading zero (0..59)mm -- the minute with a leading zero (00..59)s -- the second whithout a leading zero (0..59)ss -- the second whith a leading zero (00..59)z -- the milliseconds without leading zeroes (0..999)zzz -- the milliseconds with leading zeroes (000..999)AP -- use AM/PM display. AP will be replaced by either "AM" or "PM".ap -- use am/pm display. ap will be replaced by either "am" or "pm".</string>                        </property>                    </widget>                </vbox>            </widget>            <widget class="QWidget">                <property name="name">                    <cstring>TabPage</cstring>                </property>                <attribute name="title">                    <string>Appearance</string>                </attribute>                <vbox>                    <property name="name">                        <cstring>unnamed</cstring>                    </property>                    <widget class="QGroupBox">                        <property name="name">                            <cstring>colorsBox</cstring>                        </property>                        <property name="title">                            <string>Colors</string>                        </property>                        <property name="flat">                            <bool>true</bool>                        </property>                        <grid>                            <property name="name">                                <cstring>unnamed</cstring>                            </property>                            <widget class="QPushButton" row="0" column="2">                                <property name="name">                                    <cstring>hourColorButton</cstring>                                </property>                                <property name="sizePolicy">                                    <sizepolicy>                                        <hsizetype>5</hsizetype>                                        <vsizetype>0</vsizetype>                                        <horstretch>0</horstretch>                                        <verstretch>0</verstretch>                                    </sizepolicy>                                </property>                                <property name="text">                                    <string>Select color</string>                                </property>                            </widget>                            <widget class="QPushButton" row="1" column="2">                                <property name="name">                                    <cstring>secondsColorButton</cstring>                                </property>                                <property name="sizePolicy">                                    <sizepolicy>                                        <hsizetype>5</hsizetype>                                        <vsizetype>0</vsizetype>                                        <horstretch>0</horstretch>                                        <verstretch>0</verstretch>                                    </sizepolicy>                                </property>                                <property name="text">                                    <string>Select color</string>                                </property>                            </widget>                            <widget class="QLabel" row="1" column="1">                                <property name="name">                                    <cstring>secondColorLabel</cstring>                                </property>                                <property name="minimumSize">                                    <size>                                        <width>32</width>                                        <height>32</height>                                    </size>                                </property>                                <property name="maximumSize">                                    <size>                                        <width>32</width>                                        <height>32</height>                                    </size>                                </property>                                <property name="paletteBackgroundColor">                                    <color>                                        <red>255</red>                                        <green>0</green>                                        <blue>0</blue>                                    </color>                                </property>                                <property name="frameShape">                                    <enum>Box</enum>                                </property>                                <property name="text">                                    <string></string>                                </property>                            </widget>                            <widget class="QLabel" row="0" column="1">                                <property name="name">                                    <cstring>hourColorLabel</cstring>                                </property>                                <property name="minimumSize">                                    <size>                                        <width>32</width>                                        <height>32</height>                                    </size>                                </property>                                <property name="maximumSize">                                    <size>                                        <width>32</width>                                        <height>32</height>                                    </size>                                </property>                                <property name="paletteBackgroundColor">                                    <color>                                        <red>0</red>                                        <green>0</green>                                        <blue>0</blue>                                    </color>                                </property>                                <property name="frameShape">                                    <enum>Box</enum>                                </property>                                <property name="text">                                    <string></string>                                </property>                            </widget>                            <widget class="QLabel" row="0" column="0">                                <property name="name">                                    <cstring>hourLabel</cstring>                                </property>                                <property name="text">                                    <string>Hour / minute hand</string>                                </property>                            </widget>                            <widget class="QLabel" row="1" column="0">                                <property name="name">                                    <cstring>secondsLabel</cstring>                                </property>                                <property name="text">                                    <string>Second hand</string>                                </property>                            </widget>                        </grid>                    </widget>                    <widget class="QGroupBox">                        <property name="name">                            <cstring>fontBox</cstring>                        </property>                        <property name="title">                            <string>Font</string>                        </property>                        <property name="flat">                            <bool>true</bool>                        </property>                        <hbox>                            <property name="name">                                <cstring>unnamed</cstring>                            </property>                            <widget class="QLabel">                                <property name="name">                                    <cstring>fontLabel</cstring>                                </property>                                <property name="minimumSize">                                    <size>                                        <width>0</width>                                        <height>0</height>                                    </size>                                </property>                                <property name="text">                                    <string>textLabel1</string>                                </property>                            </widget>                            <widget class="QPushButton">                                <property name="name">                                    <cstring>fontButton</cstring>                                </property>                                <property name="text">                                    <string>Select font</string>                                </property>                            </widget>                        </hbox>                    </widget>                </vbox>            </widget>            <widget class="QWidget">                <property name="name">                    <cstring>TabPage</cstring>                </property>                <attribute name="title">                    <string>About</string>                </attribute>                <grid>                    <property name="name">                        <cstring>unnamed</cstring>                    </property>                    <widget class="QLabel" row="0" column="0">                        <property name="name">                            <cstring>textLabel1</cstring>                        </property>                        <property name="text">                            <string>&lt;b&gt;BDesktopClock 1.1.2&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Copyright &amp;copy; 2005 Bucote Software LLC&lt;br&gt;&lt;br&gt;programmed by:&lt;br&gt;Tom Bradley &amp;lt;tbradley@bucote.com&amp;gt;</string>                        </property>                        <property name="textFormat">                            <enum>RichText</enum>                        </property>                        <property name="alignment">                            <set>WordBreak|AlignCenter</set>                        </property>                    </widget>                </grid>            </widget>        </widget>    </grid></widget><connections>    <connection>        <sender>applyButton</sender>        <signal>clicked()</signal>        <receiver>DesktopClockPreferences</receiver>        <slot>accept()</slot>    </connection>    <connection>        <sender>cancelButton</sender>        <signal>clicked()</signal>        <receiver>DesktopClockPreferences</receiver>        <slot>reject()</slot>    </connection>    <connection>        <sender>hourColorButton</sender>        <signal>clicked()</signal>        <receiver>DesktopClockPreferences</receiver>        <slot>selectHourColor()</slot>    </connection>    <connection>        <sender>secondsColorButton</sender>        <signal>clicked()</signal>        <receiver>DesktopClockPreferences</receiver>        <slot>selectSecondColor()</slot>    </connection>    <connection>        <sender>fontButton</sender>        <signal>clicked()</signal>        <receiver>DesktopClockPreferences</receiver>        <slot>selectFont()</slot>    </connection></connections><includes>    <include location="local" impldecl="in implementation">desktopClockPreferences.ui.h</include></includes><slots>    <slot>setSettings( void * s )</slot>    <slot>getSettings( void * s )</slot>    <slot access="private">selectHourColor()</slot>    <slot access="private">selectSecondColor()</slot>    <slot access="private">selectFont()</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

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