| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>Gui::Dialog::DlgSettingsNotificationArea</class> |
| 4 |
<widget class="QWidget" name="Gui::Dialog::DlgSettingsNotificationArea"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>654</width> |
| 10 |
<height>557</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Notification Area</string> |
| 15 |
</property> |
| 16 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 17 |
<item row="0" column="0"> |
| 18 |
<widget class="QGroupBox" name="NotificationAreaEnabled"> |
| 19 |
<property name="toolTip"> |
| 20 |
<string><html><head/><body><p>If checked, show the notification area in the status bar: a button with the current notification count, which can expand the detailed notification list. Optionally, with additional pop-up notifications.</p></body></html></string> |
| 21 |
</property> |
| 22 |
<property name="title"> |
| 23 |
<string>Enable Notification Area</string> |
| 24 |
</property> |
| 25 |
<property name="checkable"> |
| 26 |
<bool>true</bool> |
| 27 |
</property> |
| 28 |
<layout class="QGridLayout" name="gridLayout"> |
| 29 |
<item row="2" column="0"> |
| 30 |
<widget class="QGroupBox" name="NonIntrusiveNotificationsEnabled"> |
| 31 |
<property name="toolTip"> |
| 32 |
<string>Enables non-intrusive pop-up notifications above the status bar notification area. Pop-up notifications can be manually dismissed by clicking on them, and also automatically dismissed by specifying a maximum and minimum duration for them to be displayed. |
| 33 |
|
| 34 |
Additionally, pop-up notifications can be disabled. In this case the user can still use the notification area as a quick-access location to view notifications, without the distracton of an additional pop-up.</string> |
| 35 |
</property> |
| 36 |
<property name="title"> |
| 37 |
<string>Enable Pop-Up Notifications</string> |
| 38 |
</property> |
| 39 |
<property name="checkable"> |
| 40 |
<bool>true</bool> |
| 41 |
</property> |
| 42 |
<property name="checked"> |
| 43 |
<bool>true</bool> |
| 44 |
</property> |
| 45 |
<layout class="QGridLayout" name="gridLayout_3"> |
| 46 |
<item row="1" column="0"> |
| 47 |
<widget class="QLabel" name="label_2"> |
| 48 |
<property name="text"> |
| 49 |
<string>Minimum duration</string> |
| 50 |
</property> |
| 51 |
</widget> |
| 52 |
</item> |
| 53 |
<item row="0" column="0"> |
| 54 |
<widget class="QLabel" name="label"> |
| 55 |
<property name="toolTip"> |
| 56 |
<string/> |
| 57 |
</property> |
| 58 |
<property name="text"> |
| 59 |
<string>Maximum duration</string> |
| 60 |
</property> |
| 61 |
</widget> |
| 62 |
</item> |
| 63 |
<item row="0" column="1"> |
| 64 |
<widget class="Gui::PrefSpinBox" name="maxDuration"> |
| 65 |
<property name="toolTip"> |
| 66 |
<string><html><head/><body><p>Maximum amount of time the notification will be shown (unless mouse buttons are clicked). It also controls when user notifications will be removed if the &quot;Auto-remove user notifications&quot; setting is checked.</p></body></html></string> |
| 67 |
</property> |
| 68 |
<property name="suffix"> |
| 69 |
<string> s</string> |
| 70 |
</property> |
| 71 |
<property name="minimum"> |
| 72 |
<number>0</number> |
| 73 |
</property> |
| 74 |
<property name="maximum"> |
| 75 |
<number>120</number> |
| 76 |
</property> |
| 77 |
<property name="value"> |
| 78 |
<number>20</number> |
| 79 |
</property> |
| 80 |
<property name="prefEntry" stdset="0"> |
| 81 |
<cstring>NotificationTime</cstring> |
| 82 |
</property> |
| 83 |
<property name="prefPath" stdset="0"> |
| 84 |
<cstring>NotificationArea</cstring> |
| 85 |
</property> |
| 86 |
</widget> |
| 87 |
</item> |
| 88 |
<item row="1" column="1"> |
| 89 |
<widget class="Gui::PrefSpinBox" name="minDuration"> |
| 90 |
<property name="toolTip"> |
| 91 |
<string><html><head/><body><p>Minimum amount of time the notification will be shown (unless the notification bubble is dismissed by clicking on it).</p></body></html></string> |
| 92 |
</property> |
| 93 |
<property name="suffix"> |
| 94 |
<string> s</string> |
| 95 |
</property> |
| 96 |
<property name="value"> |
| 97 |
<number>5</number> |
| 98 |
</property> |
| 99 |
<property name="prefEntry" stdset="0"> |
| 100 |
<cstring>MinimumOnScreenTime</cstring> |
| 101 |
</property> |
| 102 |
<property name="prefPath" stdset="0"> |
| 103 |
<cstring>NotificationArea</cstring> |
| 104 |
</property> |
| 105 |
</widget> |
| 106 |
</item> |
| 107 |
<item row="2" column="0"> |
| 108 |
<widget class="QLabel" name="label_3"> |
| 109 |
<property name="text"> |
| 110 |
<string>Maximum concurrent notification count</string> |
| 111 |
</property> |
| 112 |
</widget> |
| 113 |
</item> |
| 114 |
<item row="2" column="1"> |
| 115 |
<widget class="Gui::PrefSpinBox" name="maxNotifications"> |
| 116 |
<property name="toolTip"> |
| 117 |
<string>Maximum number of notifications that will be simultaneously present on the notification bubble.</string> |
| 118 |
</property> |
| 119 |
<property name="value"> |
| 120 |
<number>15</number> |
| 121 |
</property> |
| 122 |
<property name="prefEntry" stdset="0"> |
| 123 |
<cstring>MaxOpenNotifications</cstring> |
| 124 |
</property> |
| 125 |
<property name="prefPath" stdset="0"> |
| 126 |
<cstring>NotificationArea</cstring> |
| 127 |
</property> |
| 128 |
</widget> |
| 129 |
</item> |
| 130 |
<item row="3" column="0"> |
| 131 |
<widget class="QLabel" name="label_width"> |
| 132 |
<property name="text"> |
| 133 |
<string>Notification bubble width</string> |
| 134 |
</property> |
| 135 |
</widget> |
| 136 |
</item> |
| 137 |
<item row="3" column="1"> |
| 138 |
<widget class="Gui::PrefSpinBox" name="notificationWidth"> |
| 139 |
<property name="toolTip"> |
| 140 |
<string>Width of the pop-up notification bubble in pixels.</string> |
| 141 |
</property> |
| 142 |
<property name="suffix"> |
| 143 |
<string> px</string> |
| 144 |
</property> |
| 145 |
<property name="prefix"> |
| 146 |
<string/> |
| 147 |
</property> |
| 148 |
<property name="minimum"> |
| 149 |
<number>300</number> |
| 150 |
</property> |
| 151 |
<property name="maximum"> |
| 152 |
<number>10000</number> |
| 153 |
</property> |
| 154 |
<property name="value"> |
| 155 |
<number>800</number> |
| 156 |
</property> |
| 157 |
<property name="prefEntry" stdset="0"> |
| 158 |
<cstring>NotificiationWidth</cstring> |
| 159 |
</property> |
| 160 |
<property name="prefPath" stdset="0"> |
| 161 |
<cstring>NotificationArea</cstring> |
| 162 |
</property> |
| 163 |
</widget> |
| 164 |
</item> |
| 165 |
<item row="4" column="0"> |
| 166 |
<widget class="Gui::PrefCheckBox" name="hideNonIntrusiveNotificationsWhenWindowDeactivated"> |
| 167 |
<property name="toolTip"> |
| 168 |
<string>Any open pop-up notifications will disappear when another window is activated.</string> |
| 169 |
</property> |
| 170 |
<property name="text"> |
| 171 |
<string>Hide when other window is activated</string> |
| 172 |
</property> |
| 173 |
<property name="checked"> |
| 174 |
<bool>true</bool> |
| 175 |
</property> |
| 176 |
<property name="prefEntry" stdset="0"> |
| 177 |
<cstring>HideNonIntrusiveNotificationsWhenWindowDeactivated</cstring> |
| 178 |
</property> |
| 179 |
<property name="prefPath" stdset="0"> |
| 180 |
<cstring>NotificationArea</cstring> |
| 181 |
</property> |
| 182 |
</widget> |
| 183 |
</item> |
| 184 |
<item row="5" column="0"> |
| 185 |
<widget class="Gui::PrefCheckBox" name="preventNonIntrusiveNotificationsWhenWindowNotActive"> |
| 186 |
<property name="toolTip"> |
| 187 |
<string>Prevent pop-up notifications from appearing when the FreeCAD window is not the active window.</string> |
| 188 |
</property> |
| 189 |
<property name="text"> |
| 190 |
<string>Do not show when window is inactive</string> |
| 191 |
</property> |
| 192 |
<property name="checked"> |
| 193 |
<bool>true</bool> |
| 194 |
</property> |
| 195 |
<property name="prefEntry" stdset="0"> |
| 196 |
<cstring>PreventNonIntrusiveNotificationsWhenWindowNotActive</cstring> |
| 197 |
</property> |
| 198 |
<property name="prefPath" stdset="0"> |
| 199 |
<cstring>NotificationArea</cstring> |
| 200 |
</property> |
| 201 |
</widget> |
| 202 |
</item> |
| 203 |
</layout> |
| 204 |
</widget> |
| 205 |
</item> |
| 206 |
<item row="0" column="0"> |
| 207 |
<widget class="QGroupBox" name="GroupBoxSubscriptions"> |
| 208 |
<property name="toolTip"> |
| 209 |
<string>Additional notification sources to show in the notification area.</string> |
| 210 |
</property> |
| 211 |
<property name="title"> |
| 212 |
<string>Additional Data Sources</string> |
| 213 |
</property> |
| 214 |
<layout class="QGridLayout" name="gridLayout_1"> |
| 215 |
<item row="0" column="0"> |
| 216 |
<widget class="Gui::PrefCheckBox" name="developerErrorSubscriptionEnabled"> |
| 217 |
<property name="toolTip"> |
| 218 |
<string>Errors intended for developers will appear in the notification area.</string> |
| 219 |
</property> |
| 220 |
<property name="text"> |
| 221 |
<string>Debug errors</string> |
| 222 |
</property> |
| 223 |
<property name="checked"> |
| 224 |
<bool>false</bool> |
| 225 |
</property> |
| 226 |
<property name="prefEntry" stdset="0"> |
| 227 |
<cstring>DeveloperErrorSubscriptionEnabled</cstring> |
| 228 |
</property> |
| 229 |
<property name="prefPath" stdset="0"> |
| 230 |
<cstring>NotificationArea</cstring> |
| 231 |
</property> |
| 232 |
</widget> |
| 233 |
</item> |
| 234 |
<item row="1" column="0"> |
| 235 |
<widget class="Gui::PrefCheckBox" name="developerWarningSubscriptionEnabled"> |
| 236 |
<property name="toolTip"> |
| 237 |
<string>Warnings intended for developers will appear in the notification area.</string> |
| 238 |
</property> |
| 239 |
<property name="text"> |
| 240 |
<string>Debug warnings</string> |
| 241 |
</property> |
| 242 |
<property name="checked"> |
| 243 |
<bool>false</bool> |
| 244 |
</property> |
| 245 |
<property name="prefEntry" stdset="0"> |
| 246 |
<cstring>DeveloperWarningSubscriptionEnabled</cstring> |
| 247 |
</property> |
| 248 |
<property name="prefPath" stdset="0"> |
| 249 |
<cstring>NotificationArea</cstring> |
| 250 |
</property> |
| 251 |
</widget> |
| 252 |
</item> |
| 253 |
</layout> |
| 254 |
</widget> |
| 255 |
</item> |
| 256 |
<item row="1" column="0"> |
| 257 |
<widget class="QGroupBox" name="groupBox_2"> |
| 258 |
<property name="toolTip"> |
| 259 |
<string>Controls the amount of notifications to show in the list.</string> |
| 260 |
</property> |
| 261 |
<property name="title"> |
| 262 |
<string>Notifications List</string> |
| 263 |
</property> |
| 264 |
<layout class="QGridLayout" name="gridLayout_4"> |
| 265 |
<item row="0" column="1"> |
| 266 |
<widget class="Gui::PrefSpinBox" name="maxWidgetMessages"> |
| 267 |
<property name="toolTip"> |
| 268 |
<string>Limits the number of notifications that will be kept in the list. If 0, there is no limit.</string> |
| 269 |
</property> |
| 270 |
<property name="maximum"> |
| 271 |
<number>10000</number> |
| 272 |
</property> |
| 273 |
<property name="value"> |
| 274 |
<number>1000</number> |
| 275 |
</property> |
| 276 |
<property name="prefEntry" stdset="0"> |
| 277 |
<cstring>MaxWidgetMessages</cstring> |
| 278 |
</property> |
| 279 |
<property name="prefPath" stdset="0"> |
| 280 |
<cstring>NotificationArea</cstring> |
| 281 |
</property> |
| 282 |
</widget> |
| 283 |
</item> |
| 284 |
<item row="0" column="0"> |
| 285 |
<widget class="QLabel" name="label_4"> |
| 286 |
<property name="text"> |
| 287 |
<string>Maximum notification count</string> |
| 288 |
</property> |
| 289 |
</widget> |
| 290 |
</item> |
| 291 |
<item row="1" column="0"> |
| 292 |
<widget class="Gui::PrefCheckBox" name="autoRemoveUserNotifications"> |
| 293 |
<property name="toolTip"> |
| 294 |
<string>Removes the user notifications from the notifications list after the maximum duration for pop-up notifications has lapsed.</string> |
| 295 |
</property> |
| 296 |
<property name="text"> |
| 297 |
<string>Auto-remove user notifications</string> |
| 298 |
</property> |
| 299 |
<property name="checked"> |
| 300 |
<bool>true</bool> |
| 301 |
</property> |
| 302 |
<property name="prefEntry" stdset="0"> |
| 303 |
<cstring>AutoRemoveUserNotifications</cstring> |
| 304 |
</property> |
| 305 |
<property name="prefPath" stdset="0"> |
| 306 |
<cstring>NotificationArea</cstring> |
| 307 |
</property> |
| 308 |
</widget> |
| 309 |
</item> |
| 310 |
</layout> |
| 311 |
</widget> |
| 312 |
</item> |
| 313 |
</layout> |
| 314 |
</widget> |
| 315 |
</item> |
| 316 |
<item row="4" column="0"> |
| 317 |
<spacer name="verticalSpacer"> |
| 318 |
<property name="orientation"> |
| 319 |
<enum>Qt::Vertical</enum> |
| 320 |
</property> |
| 321 |
<property name="sizeHint" stdset="0"> |
| 322 |
<size> |
| 323 |
<width>20</width> |
| 324 |
<height>63</height> |
| 325 |
</size> |
| 326 |
</property> |
| 327 |
</spacer> |
| 328 |
</item> |
| 329 |
</layout> |
| 330 |
</widget> |
| 331 |
<customwidgets> |
| 332 |
<customwidget> |
| 333 |
<class>Gui::PrefCheckBox</class> |
| 334 |
<extends>QCheckBox</extends> |
| 335 |
<header>Gui/PrefWidgets.h</header> |
| 336 |
</customwidget> |
| 337 |
<customwidget> |
| 338 |
<class>Gui::PrefSpinBox</class> |
| 339 |
<extends>QSpinBox</extends> |
| 340 |
<header>Gui/PrefWidgets.h</header> |
| 341 |
</customwidget> |
| 342 |
</customwidgets> |
| 343 |
<resources/> |
| 344 |
<connections/> |
| 345 |
</ui> |