1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>TopicWidgetSettingsPage</class>
4 <widget class="QWidget" name="TopicWidgetSettingsPage">
5 <property name="geometry">
13 <property name="windowTitle">
16 <layout class="QVBoxLayout" name="verticalLayout">
18 <layout class="QHBoxLayout" name="horizontalLayout">
20 <widget class="QCheckBox" name="customFont">
21 <property name="text">
22 <string>Custom font:</string>
24 <property name="settingsKey" stdset="0">
25 <string notr="true">/UiStyle/Fonts/UseCustomTopicWidgetFont</string>
27 <property name="defaultValue" stdset="0">
33 <widget class="FontSelector" name="topicWidgetFont" native="true">
34 <property name="enabled">
37 <property name="settingsKey" stdset="0">
38 <string notr="true">/UiStyle/Fonts/TopicWidget</string>
40 <property name="defaultValue" stdset="0">
48 <widget class="QCheckBox" name="dynamicResize">
49 <property name="text">
50 <string>Resize dynamically to fit contents</string>
52 <property name="checked">
55 <property name="settingsKey" stdset="0">
56 <string notr="true">DynamicResize</string>
58 <property name="defaultValue" stdset="0">
64 <layout class="QHBoxLayout" name="horizontalLayout_2">
66 <spacer name="horizontalSpacer">
67 <property name="orientation">
68 <enum>Qt::Horizontal</enum>
70 <property name="sizeType">
71 <enum>QSizePolicy::Fixed</enum>
73 <property name="sizeHint" stdset="0">
82 <widget class="QCheckBox" name="resizeOnHover">
83 <property name="text">
84 <string>On hover only</string>
86 <property name="checked">
89 <property name="settingsKey" stdset="0">
90 <string notr="true">ResizeOnHover</string>
92 <property name="defaultValue" stdset="0">
100 <spacer name="verticalSpacer">
101 <property name="orientation">
102 <enum>Qt::Vertical</enum>
104 <property name="sizeHint" stdset="0">
116 <class>FontSelector</class>
117 <extends>QWidget</extends>
118 <header>fontselector.h</header>
119 <container>1</container>
123 <tabstop>customFont</tabstop>
124 <tabstop>dynamicResize</tabstop>
125 <tabstop>resizeOnHover</tabstop>
130 <sender>customFont</sender>
131 <signal>toggled(bool)</signal>
132 <receiver>topicWidgetFont</receiver>
133 <slot>setEnabled(bool)</slot>
135 <hint type="sourcelabel">
139 <hint type="destinationlabel">
146 <sender>dynamicResize</sender>
147 <signal>toggled(bool)</signal>
148 <receiver>resizeOnHover</receiver>
149 <slot>setEnabled(bool)</slot>
151 <hint type="sourcelabel">
155 <hint type="destinationlabel">