Commit graph

34 commits

Author SHA1 Message Date
23rd
26b72fedc7 Moved out NumberInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
225380044e Moved out PasswordInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
4389f17120 Removed unused InputField::commitMarkdownReplacement method. 2023-08-31 17:09:59 +03:00
John Preston
079d966e45 Provide menu shown signal from InputField. 2023-07-21 17:10:30 +04:00
John Preston
4befce5a29 Fix colored custom emoji in field. 2022-12-15 19:10:35 +04:00
John Preston
4ba3000a28 Get rid of FlatInput class. 2022-10-20 17:41:57 +04:00
John Preston
e72b521618 An attempt to improve input fields touch-screen support. 2022-09-19 14:18:59 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
John Preston
f876d15eed Add some helper wrappers for custom emoji. 2022-08-26 23:51:58 +04:00
John Preston
0daf3d4ac7 Support instant-replacement with a custom emoji. 2022-07-18 20:30:09 +03:00
John Preston
d7318d849e Make custom emoji size 12% larger. 2022-07-06 12:20:29 +04:00
John Preston
ec76a4c0bb Optimize custom emoji repaints in the InputField. 2022-07-06 10:09:10 +04:00
John Preston
9cb7bb58f6 Update custom emoji entity format. 2022-07-05 23:35:03 +04:00
John Preston
464c6a6171 Custom emoji not pausing by default. 2022-07-01 17:32:35 +04:00
John Preston
6bd7518109 Fix editing text with custom emoji and formatting. 2022-07-01 12:55:26 +04:00
John Preston
e6b3951b40 Support serializing / deserializing custom emoji as tags. 2022-06-30 13:22:03 +04:00
John Preston
b77fb45083 Add SeparatePanel and ShowMultilineToast. 2022-04-29 20:19:33 +04:00
Ilya Fedin
f2c77daccc Use setContentMargins in QLineEdit-based input fields 2022-03-05 16:55:33 +04:00
23rd
ee4a94c122 Added spoiler support to input field. 2021-12-24 15:49:02 +03:00
John Preston
7efa1f9b2b Use base::unique_qptr for PopupMenu-s. 2021-12-09 21:55:19 +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
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
95ee92088e Allow choosing OpenGL / Raster in runtime. 2021-05-19 16:46:58 +04: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
John Preston
a5fb993721 Make a generic NumberInput from PortInput. 2021-01-22 21:49:12 +04:00
John Preston
6aa6a143bf Add a workaround for invalid Qt signal data. 2020-05-12 19:11:46 +04:00
23rd
983d6be8d4 Added rpl::event_stream for firing applied markdown tag to spellchecker. 2019-12-30 16:58:53 +03:00
23rd
ba12ebc67a Fixed firing of incorrect values to document changes rpl::event_stream. 2019-10-30 18:14:43 +03:00
23rd
ee44c5b89e Added ability to extend context menu of InputField via rpl. 2019-10-30 18:14:43 +03:00
23rd
24d69ee679 Added rpl::event_stream for document contents changes in InputField. 2019-10-30 18:14:43 +03:00
John Preston
84d68e48c0 Allow showing error without field focusing. 2019-09-26 11:10:03 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00