|
38 | 38 | </sizepolicy> |
39 | 39 | </property> |
40 | 40 | <property name="orientation"> |
41 | | - <enum>Qt::Horizontal</enum> |
| 41 | + <enum>Qt::Orientation::Horizontal</enum> |
42 | 42 | </property> |
43 | 43 | <property name="handleWidth"> |
44 | 44 | <number>5</number> |
|
66 | 66 | <property name="bottomMargin"> |
67 | 67 | <number>0</number> |
68 | 68 | </property> |
| 69 | + <item> |
| 70 | + <widget class="QFrame" name="searchFrame"> |
| 71 | + <property name="frameShape"> |
| 72 | + <enum>QFrame::Shape::StyledPanel</enum> |
| 73 | + </property> |
| 74 | + <property name="frameShadow"> |
| 75 | + <enum>QFrame::Shadow::Raised</enum> |
| 76 | + </property> |
| 77 | + <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 78 | + <property name="leftMargin"> |
| 79 | + <number>6</number> |
| 80 | + </property> |
| 81 | + <property name="topMargin"> |
| 82 | + <number>6</number> |
| 83 | + </property> |
| 84 | + <property name="rightMargin"> |
| 85 | + <number>6</number> |
| 86 | + </property> |
| 87 | + <property name="bottomMargin"> |
| 88 | + <number>0</number> |
| 89 | + </property> |
| 90 | + <item> |
| 91 | + <widget class="QLabel" name="label"> |
| 92 | + <property name="text"> |
| 93 | + <string>Search in channel:</string> |
| 94 | + </property> |
| 95 | + </widget> |
| 96 | + </item> |
| 97 | + <item> |
| 98 | + <widget class="QLineEdit" name="searchEdit"> |
| 99 | + <property name="minimumSize"> |
| 100 | + <size> |
| 101 | + <width>250</width> |
| 102 | + <height>0</height> |
| 103 | + </size> |
| 104 | + </property> |
| 105 | + </widget> |
| 106 | + </item> |
| 107 | + <item> |
| 108 | + <widget class="QPushButton" name="searchChannelButton"> |
| 109 | + <property name="minimumSize"> |
| 110 | + <size> |
| 111 | + <width>70</width> |
| 112 | + <height>0</height> |
| 113 | + </size> |
| 114 | + </property> |
| 115 | + <property name="text"> |
| 116 | + <string>Search</string> |
| 117 | + </property> |
| 118 | + </widget> |
| 119 | + </item> |
| 120 | + <item> |
| 121 | + <widget class="QPushButton" name="clearSearchButton"> |
| 122 | + <property name="minimumSize"> |
| 123 | + <size> |
| 124 | + <width>70</width> |
| 125 | + <height>0</height> |
| 126 | + </size> |
| 127 | + </property> |
| 128 | + <property name="text"> |
| 129 | + <string>Clear</string> |
| 130 | + </property> |
| 131 | + </widget> |
| 132 | + </item> |
| 133 | + <item> |
| 134 | + <widget class="QLabel" name="searchLabel"> |
| 135 | + <property name="minimumSize"> |
| 136 | + <size> |
| 137 | + <width>100</width> |
| 138 | + <height>0</height> |
| 139 | + </size> |
| 140 | + </property> |
| 141 | + <property name="text"> |
| 142 | + <string/> |
| 143 | + </property> |
| 144 | + </widget> |
| 145 | + </item> |
| 146 | + <item> |
| 147 | + <spacer name="horizontalSpacer"> |
| 148 | + <property name="orientation"> |
| 149 | + <enum>Qt::Orientation::Horizontal</enum> |
| 150 | + </property> |
| 151 | + <property name="sizeHint" stdset="0"> |
| 152 | + <size> |
| 153 | + <width>40</width> |
| 154 | + <height>20</height> |
| 155 | + </size> |
| 156 | + </property> |
| 157 | + </spacer> |
| 158 | + </item> |
| 159 | + </layout> |
| 160 | + </widget> |
| 161 | + </item> |
69 | 162 | <item> |
70 | 163 | <widget class="QLabel" name="announceLine"> |
71 | 164 | <property name="sizePolicy"> |
|
83 | 176 | <string>Channel's topic</string> |
84 | 177 | </property> |
85 | 178 | <property name="alignment"> |
86 | | - <set>Qt::AlignCenter</set> |
| 179 | + <set>Qt::AlignmentFlag::AlignCenter</set> |
87 | 180 | </property> |
88 | 181 | <property name="wordWrap"> |
89 | 182 | <bool>true</bool> |
|
95 | 188 | <bool>true</bool> |
96 | 189 | </property> |
97 | 190 | <property name="textInteractionFlags"> |
98 | | - <set>Qt::TextBrowserInteraction</set> |
| 191 | + <set>Qt::TextInteractionFlag::TextBrowserInteraction</set> |
99 | 192 | </property> |
100 | 193 | <property name="WordWrap" stdset="0"> |
101 | 194 | <bool>true</bool> |
|
117 | 210 | </font> |
118 | 211 | </property> |
119 | 212 | <property name="focusPolicy"> |
120 | | - <enum>Qt::NoFocus</enum> |
| 213 | + <enum>Qt::FocusPolicy::NoFocus</enum> |
121 | 214 | </property> |
122 | 215 | <property name="verticalScrollBarPolicy"> |
123 | | - <enum>Qt::ScrollBarAsNeeded</enum> |
| 216 | + <enum>Qt::ScrollBarPolicy::ScrollBarAsNeeded</enum> |
124 | 217 | </property> |
125 | 218 | <property name="horizontalScrollBarPolicy"> |
126 | | - <enum>Qt::ScrollBarAlwaysOff</enum> |
| 219 | + <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum> |
127 | 220 | </property> |
128 | 221 | <property name="autoFormatting"> |
129 | | - <set>QTextEdit::AutoNone</set> |
| 222 | + <set>QTextEdit::AutoFormattingFlag::AutoNone</set> |
130 | 223 | </property> |
131 | 224 | <property name="lineWrapMode"> |
132 | | - <enum>QTextEdit::WidgetWidth</enum> |
| 225 | + <enum>QTextEdit::LineWrapMode::WidgetWidth</enum> |
133 | 226 | </property> |
134 | 227 | <property name="readOnly"> |
135 | 228 | <bool>true</bool> |
136 | 229 | </property> |
137 | 230 | <property name="textInteractionFlags"> |
138 | | - <set>Qt::TextBrowserInteraction</set> |
| 231 | + <set>Qt::TextInteractionFlag::TextBrowserInteraction</set> |
139 | 232 | </property> |
140 | 233 | <property name="openExternalLinks"> |
141 | 234 | <bool>false</bool> |
|
245 | 338 | </font> |
246 | 339 | </property> |
247 | 340 | <property name="focusPolicy"> |
248 | | - <enum>Qt::NoFocus</enum> |
| 341 | + <enum>Qt::FocusPolicy::NoFocus</enum> |
249 | 342 | </property> |
250 | 343 | <property name="lineWidth"> |
251 | 344 | <number>1</number> |
252 | 345 | </property> |
253 | 346 | <property name="verticalScrollBarPolicy"> |
254 | | - <enum>Qt::ScrollBarAlwaysOn</enum> |
| 347 | + <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOn</enum> |
255 | 348 | </property> |
256 | 349 | <property name="horizontalScrollBarPolicy"> |
257 | | - <enum>Qt::ScrollBarAlwaysOff</enum> |
| 350 | + <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum> |
258 | 351 | </property> |
259 | 352 | <property name="editTriggers"> |
260 | | - <set>QAbstractItemView::NoEditTriggers</set> |
| 353 | + <set>QAbstractItemView::EditTrigger::NoEditTriggers</set> |
261 | 354 | </property> |
262 | 355 | <property name="selectionMode"> |
263 | | - <enum>QAbstractItemView::NoSelection</enum> |
| 356 | + <enum>QAbstractItemView::SelectionMode::NoSelection</enum> |
264 | 357 | </property> |
265 | 358 | <property name="selectionBehavior"> |
266 | | - <enum>QAbstractItemView::SelectRows</enum> |
| 359 | + <enum>QAbstractItemView::SelectionBehavior::SelectRows</enum> |
267 | 360 | </property> |
268 | 361 | <property name="iconSize"> |
269 | 362 | <size> |
|
272 | 365 | </size> |
273 | 366 | </property> |
274 | 367 | <property name="textElideMode"> |
275 | | - <enum>Qt::ElideRight</enum> |
| 368 | + <enum>Qt::TextElideMode::ElideRight</enum> |
276 | 369 | </property> |
277 | 370 | <property name="verticalScrollMode"> |
278 | | - <enum>QAbstractItemView::ScrollPerPixel</enum> |
| 371 | + <enum>QAbstractItemView::ScrollMode::ScrollPerPixel</enum> |
279 | 372 | </property> |
280 | 373 | <property name="horizontalScrollMode"> |
281 | | - <enum>QAbstractItemView::ScrollPerItem</enum> |
| 374 | + <enum>QAbstractItemView::ScrollMode::ScrollPerItem</enum> |
282 | 375 | </property> |
283 | 376 | <property name="uniformItemSizes"> |
284 | 377 | <bool>true</bool> |
|
0 commit comments