Ilya Fedin
64e40913df
Use new Qt 6 adapters
2021-10-19 19:28:45 +04:00
Ilya Fedin
534541367c
Make enterEventHook accept a QEnterEvent
2021-10-19 17:06:25 +04:00
Ilya Fedin
8e5d35229a
Simple replacements for Qt 6
...
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
23rd
1651470638
Added ability to draw outlined Ui::RoundButton.
2021-10-07 03:01:43 +03:00
23rd
7182fad08a
Removed Q_OBJECT from ScrollArea.
2021-09-29 19:40:47 +03:00
23rd
b64f68dca6
Removed Q_OBJECT from ScrollBar.
2021-09-29 18:18:25 +03:00
23rd
532affa1bf
Removed Q_OBJECT from ScrollShadow.
2021-09-29 17:53:03 +03:00
John Preston
a8a4cc8c1a
Allow submitting ChooseTimeBox with zeros by Enter.
2021-09-16 10:49:47 +03:00
John Preston
2d53ef070f
Allow to query RpWindow-s frame margins.
2021-09-16 10:26:34 +03:00
John Preston
b35d2d257a
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:16:44 +03:00
John Preston
8589a8d850
Try to fix a crash in label click handlers.
2021-09-13 17:38:53 +03:00
John Preston
52718aa5db
Scroll to the item selected by keyboard.
2021-09-09 16:02:26 +03:00
John Preston
40c0a11705
Support scroll inside PopupMenu. Draw shadow over.
2021-09-09 15:36:20 +03:00
John Preston
02c1bd5674
Allow enabling + selecting menu item under cursor.
2021-09-08 14:37:19 +03:00
23rd
beb09445d1
Appended references to const auto type in loop to prevent copying.
2021-09-08 14:01:07 +03:00
John Preston
f4cf3094c2
Force PopupMenu item selection when submenu is shown.
2021-09-08 13:46:34 +03:00
John Preston
6651d9f9b6
Allow adding submenu to PopupMenu on the fly.
2021-09-07 21:18:43 +03:00
23rd
e0339b7da1
Added ability to set background color to BoxContentDivider.
2021-09-06 13:26:38 +03:00
23rd
01d10cbdbf
Added workaround for submenu on macOS.
2021-09-06 13:19:32 +03:00
23rd
897bea2baf
Removed Q_OBJECT from InnerDropdown.
2021-09-06 13:19:32 +03:00
23rd
093e3129ab
Replaced singleShot with InvokeQueued in InputField.
2021-09-06 13:19:32 +03:00
John Preston
ec3af38ad9
Attempt to fix a possible crash in InputField.
2021-09-01 18:50:00 +03:00
23rd
2e3eef52f7
Added new send action for choosing sticker.
2021-08-30 18:08:41 +03:00
23rd
4fcddb5bfe
Added focus rpl event to time input.
2021-08-11 11:12:10 +03:00
23rd
8ff42a86d9
Moved time input widgets to lib_ui.
2021-08-11 11:12:10 +03:00
John Preston
d452ae8ba6
Rename Ui::Window to Ui::RpWindow.
2021-07-28 16:23:27 +03:00
Ilya Fedin
7a71876124
Add possibility to enable native window frame to Ui::Window
2021-07-28 16:06:17 +03:00
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