9b56cbd4ab
Updated lib_ui sources to TDesktop version 3.2.5
2021-12-07 07:21:25 +03:00
Ilya Fedin
397be4f175
Call QInputMethod::show on TouchEnd
...
Qt calls QInputMethod::show on mouseReleaseEvent, but tdesktop sets Qt::WA_AcceptTouchEvents, so Qt's callback is never called and the keyboard is never shown. Adding the same to TouchEnd event should synchornize the behavior.
QInputMethod::hide is called in QWidget::focusOutEvent and shouldn't be affected.
2021-10-25 08:47:23 +04:00
Ilya Fedin
ee36b1f451
Use StringViewMid adapter
2021-10-20 10:27:52 +04:00
Ilya Fedin
64e40913df
Use new Qt 6 adapters
2021-10-19 19:28:45 +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
eb86d2dc51
Updated lib_ui sources to TDesktop version 3.1
2021-09-19 22:47:53 +03:00
29fdd935ad
Updated lib_ui sources to TDesktop version 3.0.1
2021-09-17 09:21:32 +03:00
John Preston
b35d2d257a
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:16:44 +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
075d2ff49a
Updated lib_ui sources to TDesktop version 2.8.8
2021-07-16 03:01:41 +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
4b95b3d748
Updated lib_ui sources to TDesktop version 2.7.10+5519bb35
2021-06-25 22:48:27 +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
b1d5ed4ab5
Always call raise() before activateWindow().
2021-06-07 11:24:22 +04:00
John Preston
95ee92088e
Allow choosing OpenGL / Raster in runtime.
2021-05-19 16:46:58 +04:00
Ilya Fedin
505c1bea18
Get font settings via Ui Integration
2021-04-28 13:43:41 +04:00
50415733c8
Updated lib_ui sources to TDesktop version 2.7.1+df73bda
2021-04-07 00:14:33 +03:00
84a46ce773
Updated lib_ui sources to TDesktop version 2.7.1+c08a148
2021-03-28 13:41:16 +03:00
John Preston
f288c5649c
Add MaskedInputField::showErrorNoFocus.
2021-03-26 21:05:02 +04:00
Ilya Fedin
af41bff7e4
Build with QT_NO_KEYWORDS
2021-03-03 22:34:02 +04:00
f04ec94710
Updated lib_ui sources to TDesktop version 2.6
2021-02-24 08:07:24 +03:00
John Preston
a5fb993721
Make a generic NumberInput from PortInput.
2021-01-22 21:49:12 +04:00
John Preston
b5fb343d6c
Allow only Ctrl modifier for Backspace on Linux.
2020-12-30 17:51:26 +04:00
5bb0b6a6e5
Updated lib_ui sources to TDesktop version 2.5.1
2020-12-23 21:03:36 +03:00
John Preston
dfc0f0b889
Change button round radius.
2020-12-08 11:12:46 +04:00
John Preston
e0fb1129d1
Allow custom PopupMenu style in InputField.
2020-11-30 14:19:38 +03:00
7afb927acf
Merge remote-tracking branch 'upstream/master'
2020-06-26 07:24:19 +03:00
John Preston
4ef97b57f6
Guard against inputMethodEvent destroying the field.
2020-06-08 12:13:15 +04:00
a32ee9581d
Merge remote-tracking branch 'upstream/master'
2020-06-03 19:06:29 +03:00
John Preston
d71d2121b1
Move some methods out of the global scope.
2020-06-03 19:04:52 +04:00
1da7b32a3f
Merge remote-tracking branch 'upstream/master'
2020-05-13 00:44:45 +03:00
John Preston
8e2cfbf303
Insert only paragraph separators in the field.
2020-05-12 19:12:33 +04:00
John Preston
6aa6a143bf
Add a workaround for invalid Qt signal data.
2020-05-12 19:11:46 +04:00
John Preston
8e44fb7780
Fix tilde hack for non-empty styleName.
2020-05-10 17:02:37 +04:00
3cca2516c2
Merge remote-tracking branch 'upstream/master'
2020-05-09 04:02:54 +03:00
John Preston
cc9b7e2c2f
Use Bold instead of Semibold by entities.
2020-05-08 11:51:41 +04:00
03fa1d9275
Try to fix input field margins
2020-04-26 19:06:00 +03:00
Ilya Fedin
499af3e481
Merge remote-tracking branch 'tdesktop/master' into v2.1
2020-04-24 16:40:24 +04:00
ilya-fedin
74889b8c21
Better algorithm for font choosing
2020-04-13 11:31:34 +04:00
ilya-fedin
3106a3474b
add possiblity to use system font ( #2 )
2020-01-30 10:43:51 +03:00
f69cde56f1
Custom instant replaces
2020-01-26 08:02:03 +03:00
23rd
983d6be8d4
Added rpl::event_stream for firing applied markdown tag to spellchecker.
2019-12-30 16:58:53 +03:00
John Preston
c68dceb189
Use selected text colors from the palette.
...
On macOS in Dark Mode + Graphite system settings have selected text color
'white' and selected text background color 'white+opacity'.
It looks fine if the control background is dark, but in case of custom color
themes with white control background the selected text becomes invisible.
2019-11-07 10:37:46 +03:00