Commit graph

178 commits

Author SHA1 Message Date
Ilya Fedin
b8485c0d8a Fix -Wunused-variable warnings 2021-07-13 21:24:22 +03:00
Ilya Fedin
f0c474c6ae Fix clang warnings
Fixes -Wrange-loop-construct and -Wdeprecated-enum-enum-conversion
2021-07-13 20:16:48 +03:00
Ilya Fedin
b0c950b02a Fix -Wunused-function warnings 2021-07-13 20:15:45 +03:00
John Preston
e73e1a6c0f Fix new formatting mixing with emoji. 2021-06-24 17:01:03 +04:00
John Preston
2d71162f4a Convert overlapping tags to entities and back. 2021-06-22 18:29:12 +04:00
John Preston
d3eff6f38a Add and remove tags without clearing markup. 2021-06-22 16:35:01 +04:00
John Preston
96b4c6c57a Allow several tags with '|' separator in InputField. 2021-06-22 14:42:57 +04:00
John Preston
ff0daf7d83 Fix breaking formatting tag on newline. 2021-06-22 11:08:04 +04:00
John Preston
825ef11f1a Allow updating shown ImportantTooltip geometry. 2021-06-18 16:08:40 +04:00
John Preston
1c004580eb Fix stay-on-top Ui::Window-s on macOS. 2021-06-08 17:11:02 +04:00
John Preston
b1d5ed4ab5 Always call raise() before activateWindow(). 2021-06-07 11:24:22 +04:00
23rd
fc357ae28f Removed Q_OBJECT from FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
86c1cce260 Replaced QTimer with base::Timer in FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
92fe8b138b Replaced raw PopupMenu pointer with unique_qptr in FlatLabel. 2021-05-31 22:54:24 +03:00
23rd
8c381e6bd4 Replaced singleShot with InvokeQueued in FlatLabel. 2021-05-31 22:54:24 +03:00
John Preston
f475fe28e4 Improve ImportantTooltip. 2021-05-28 19:07:50 +04:00
John Preston
95ee92088e Allow choosing OpenGL / Raster in runtime. 2021-05-19 16:46:58 +04:00
John Preston
d515956f76 Allow any QWidget in Ui::ScrollArea. 2021-05-12 12:07:39 +04:00
John Preston
2b36c36dcb Allow fractional strokes in CrossLineAnimation. 2021-05-07 16:20:23 +04:00
John Preston
b0c5d9220b Allow to specify RoundButton radius. 2021-05-06 19:48:43 +04:00
John Preston
3c1866f52d Allow to change some styles in CallButton. 2021-04-27 16:03:12 +04:00
John Preston
594572199c Move call mute button styles to td_ui. 2021-04-26 13:20:13 +04:00
John Preston
372c576127 Fix build with some headers includes. 2021-04-23 21:36:08 +04:00
John Preston
af105b377c Remove shadows from defaultScrollArea. 2021-04-23 14:56:06 +04:00
Ilya Fedin
a37e28d2f3 Multiply scroll step for scale 2021-04-12 11:56:13 +03:00
John Preston
8686905ee4 Add custom brush support in RoundButton. 2021-04-06 13:58:45 +04:00
John Preston
f288c5649c Add MaskedInputField::showErrorNoFocus. 2021-03-26 21:05:02 +04:00
Ilya Fedin
0adf0383d8 Remove unused non-trivial variable 2021-03-17 15:39:09 +03:00
John Preston
2696dbc959 Move CallMuteButton to td_ui for now. 2021-03-11 19:17:54 +04:00
John Preston
d805dca4c7 Allow menu items to update height. 2021-03-11 19:17:01 +04:00
Ilya Fedin
af41bff7e4 Build with QT_NO_KEYWORDS 2021-03-03 22:34:02 +04:00
23rd
9d57ba47b0 Fixed adjustment of menu with single item. 2021-02-18 07:58:53 +03:00
John Preston
cc05f8174b Allow overriding color for FlatButton. 2021-02-16 16:30:12 +04:00
John Preston
e2c940dcdc Expose menu and menu style in PopupMenu. 2021-02-11 20:09:31 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00
23rd
e2633c4b6f Fixed updating selected item when menu is moved. 2021-02-02 21:56:43 +03:00
23rd
4dd6444cb2 Added ability to call RippleButton::paintRipple with QPoint. 2021-02-01 10:58:42 +03:00
23rd
4748986bf4 Returned ability to use right click for menu actions. 2021-01-30 10:55:17 +03:00
23rd
d94cb34219 Fixed adjustment of menu items by largest width. 2021-01-29 21:28:15 +03:00
John Preston
315a0457cf Improve menu selection tracking. 2021-01-27 23:08:27 +04:00
23rd
bda12f2bec Fixed resizing menu with wide items. 2021-01-25 17:21:26 +03:00
John Preston
a5fb993721 Make a generic NumberInput from PortInput. 2021-01-22 21:49:12 +04:00
23rd
912f0b48a6 Fixed mouse selecting of menu item when it was deselected via keyboard. 2021-01-20 00:20:39 +03:00
23rd
70aa4833b7 Removed redundant property of mouse selection item from menu. 2021-01-20 00:20:39 +03:00
23rd
fedeac3f08 Removed redundant property of current selected item from menu. 2021-01-20 00:20:39 +03:00
23rd
0ce0766b5e Removed redundant hasSubmenu property from menu item base. 2021-01-20 00:20:39 +03:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
23rd
ddda92c777 Added animation support to arc painter. 2021-01-20 00:20:39 +03:00
23rd
5bcd894429 Added initial implementation of arc painter. 2021-01-20 00:20:39 +03:00
23rd
5d74463bc9 Renamed contentWidth property to minWidth in menu items. 2021-01-20 00:20:39 +03:00