Ilya Fedin
cdfa6ea2bf
Handle DPI change on Windows to avoid the window be resized by Qt
2022-06-13 14:04:17 +04:00
Ilya Fedin
e72706f249
Make FindTaskbarWindow/IsTaskbarAutoHidden nodiscard
2022-06-13 14:04:17 +04:00
Ilya Fedin
94c5754b42
Hide titlebar & border when there are no controls
...
If the user doesn't want to control the window with buttons, then he moves/resizes the window in other way as well
2022-06-13 13:47:26 +04:00
John Preston
74224fe06e
Add gradient_color_at(QGradientStops, ratio).
2022-06-10 16:06:17 +04:00
Ilya Fedin
851444a172
Use brackets include zlib
2022-06-07 18:45:25 +04:00
Ilya Fedin
8e35ae4407
Implement round window with Qt-based custom decorations
2022-06-07 18:45:25 +04:00
John Preston
81b9028e1c
Fix BoxLayerWidget::addTopButton.
...
Regression was introduced in c468f8b3c6 .
2022-06-07 11:10:21 +04:00
John Preston
72940a25e3
Fix possible crash in checkbox.
2022-06-06 12:20:22 +04:00
23rd
0a713c1c7b
Skipped grabbing of widget with invalid rect.
2022-06-05 14:55:59 +03:00
Ilya Fedin
797c731d27
Migrate from kwayland to QtWaylandScanner
2022-06-03 20:10:48 +04:00
John Preston
6ae122f1b2
Move Ui::Menu::MenuCallback and st::menuWithIcons here.
2022-06-03 18:05:09 +04:00
John Preston
b802516ca7
Allow DividerLabel with only top / bottom part.
2022-06-02 17:26:29 +04:00
23rd
b9a702f6e0
Added masked shadow corners for special layers.
2022-06-02 14:59:32 +03:00
Ilya Fedin
549edbe5c7
Make DisableSystemWindowResize consistent with getting winId on macOS
2022-06-02 14:30:18 +04:00
Ilya Fedin
a812ae65a4
Get rid of private QHighDpi usage
2022-06-02 14:30:18 +04:00
John Preston
e1ec6a38be
Allow clickable links in Ui::Checkbox texts.
2022-05-31 12:05:00 +04:00
23rd
676d8697c6
Added support of locked state to side bar button.
2022-05-30 14:57:21 +03:00
23rd
e2304a3c76
Added ability to set pinned items for vertical layout reorder.
2022-05-30 14:08:22 +03:00
Ilya Fedin
060eb63ce8
Get rid of qtextitemint.cpp
...
All the variables are public, so there's no need to use non-exported constructor
2022-05-29 10:16:10 +04:00
John Preston
a78089716b
Allow non-transparent-for-mouse-events toasts.
2022-05-26 12:30:14 +04:00
23rd
79af7c5523
Added ability to set disable monospace in numbers animation.
2022-05-24 08:50:24 +03:00
23rd
7133ccd2f9
Added ability to set custom duration of numbers animation.
2022-05-23 11:45:26 +03:00
23rd
f62e5ce5f6
Added premium settings icon colors.
2022-05-23 11:45:26 +03:00
John Preston
3668ee1085
Remove Pre tag when removing Code tag.
2022-05-23 12:39:04 +04:00
Ilya Fedin
c25c3e043c
Adapt for XCB::IsSupportedByWM changes
2022-05-20 20:03:12 +04:00
23rd
cea7f128a5
Added util for calculating of intermediate gradient value.
2022-05-20 13:15:45 +03:00
John Preston
9c09b1fad0
Add premium sticker pack icon colors.
2022-05-19 17:29:47 +04:00
Ilya Fedin
21a7adc03c
Move shell integration initialization to lib_waylandshells
2022-05-19 15:43:12 +04:00
Ilya Fedin
941a10c8b0
Avoid QHighDpi::toNativePixels where possible
2022-05-19 11:50:39 +04:00
Ilya Fedin
a32f3a94b9
Use modifier workaround only on X11
...
It's a bug in Qt's xcb backend after all
2022-05-19 11:50:39 +04:00
Ilya Fedin
bbad41e046
Get rid of __HAIKU__ checks
...
This is a leftover of something that wasn't finiched and looks like won't be finished. It also feels that's not a good idea to mix Linux and Haiku in the same file though...
2022-05-19 11:50:39 +04:00
Ilya Fedin
6b469e469f
Get rid of DisableCustomScaling hack
...
This shouldn't be needed since Qt is built without High-DPI scaling support in official binaries and QT_SCALE_FACTOR is a debug environment variable, so any use of it is a user's environment misconfiguration.
https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
2022-05-19 11:50:39 +04:00
John Preston
92df401963
Add premium button colors.
2022-05-18 14:17:30 +04:00
John Preston
c468f8b3c6
Allow adding any buttons to BoxContent.
2022-05-18 14:17:10 +04:00
John Preston
96279cc04d
Fix generic box size with pinned top content.
2022-05-11 12:41:08 +04:00
John Preston
3cce0655d1
Allow links in default multiline toasts.
2022-05-09 17:09:36 +04:00
John Preston
b97c0cadcb
Allow any RpWidget as a GenericBox::pinnedTopContent.
2022-05-06 17:40:33 +04:00
23rd
83553d0826
Decomposed painting of box content divider.
2022-05-05 12:55:14 +03:00
John Preston
9b6e11db62
Add anim::repeat enumeration (loop / once).
2022-05-04 11:22:46 +04:00
23rd
9d07d6a476
Added ability to append pinned to top content to generic box.
2022-05-03 14:57:57 +04:00
23rd
35c84d7d54
Removed unused includes from BoxLayerWidget.
2022-05-03 14:57:51 +04:00
Ilya Fedin
eb82d31c55
Set additional margin to the input field without style sheet
2022-05-02 14:06:03 +04:00
John Preston
283cb25dfd
Allow creating SeparatePanel with a parent.
2022-05-02 07:57:52 +04:00
John Preston
b77fb45083
Add SeparatePanel and ShowMultilineToast.
2022-04-29 20:19:33 +04:00
Sergey A. Osokin
49b4b35efa
Fix -Wunused-const-variable warnings by removing unused variables
2022-04-26 08:15:13 +04:00
John Preston
2d7532bddd
Revert "Don't attach menu callback to QAction lifetime."
...
This reverts commit 4093d6605a .
2022-04-25 15:46:52 +04:00
John Preston
f128bd6d50
Revert "Fix repeated menu callback invocation."
...
This reverts commit 3a6708cdc5 .
2022-04-25 15:46:42 +04:00
John Preston
6abcbf773f
Don't destroy PopupMenu non-queued if !_useTransparency.
2022-04-25 15:41:07 +04:00
23rd
16f4aec946
Added horizontal padding to round buttons with full radius and width.
2022-04-23 14:23:20 +03:00
John Preston
3a6708cdc5
Fix repeated menu callback invocation.
2022-04-21 15:18:18 +04:00