John Preston
07d9420c19
Move LayerWidget::closeLayer to the public interface.
2022-12-21 14:48:44 +04:00
23rd
f339dd3771
Added support of min height to Ui::GenericBox.
2022-12-12 18:16:56 +03:00
John Preston
580e6a561f
Don't check box visibility in BoxShow.
2022-12-07 13:02:48 +04:00
23rd
e6064719df
Changed behavior to always center generic boxes.
2022-11-12 14:12:02 +03:00
John Preston
f450dcf2c5
Support GenericBox max height / scroll style.
2022-10-06 17:03:32 +04:00
John Preston
14cc3ff52b
Set some layers crash annotations.
2022-09-25 16:14:13 +04:00
John Preston
73b6bc5e13
Implement animated spoilers.
2022-09-17 00:22:08 +04:00
23rd
b75b69d59d
Reduced boxLabel::minWidth to be less than width of box with padding.
2022-08-08 09:34:14 +03:00
John Preston
dcb4a33eef
Allow changing SeparatePanel title height.
2022-08-04 18:25:45 +03:00
John Preston
a7074136b4
Add several phrases for webview popups.
2022-07-07 08:38:53 +04:00
John Preston
3aa78fb000
Fix box close button style.
2022-06-14 16:02:30 +04:00
John Preston
81b9028e1c
Fix BoxLayerWidget::addTopButton.
...
Regression was introduced in c468f8b3c6 .
2022-06-07 11:10:21 +04:00
John Preston
6ae122f1b2
Move Ui::Menu::MenuCallback and st::menuWithIcons here.
2022-06-03 18:05:09 +04:00
23rd
b9a702f6e0
Added masked shadow corners for special layers.
2022-06-02 14:59:32 +03: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
b97c0cadcb
Allow any RpWidget as a GenericBox::pinnedTopContent.
2022-05-06 17:40:33 +04: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
John Preston
b77fb45083
Add SeparatePanel and ShowMultilineToast.
2022-04-29 20:19:33 +04:00
Nicholas Guriev
258cacf7c5
Avoid conditional branching on uninitialized values
...
C++ initializes members in the order in which they are defined in class. So the
order is important if the members are accessed by other initializers or methods
called from them.
Class BoxLayerWidget:
_roundRect is initialized based on _layerType through the st() method.
Class Checkbox:
Arguments of _text constructor depend on _checkAlignment through the
countTextMinWidth and the checkRect methods.
2022-04-14 15:35:38 +04:00
23rd
2779a7d036
Replaced timer for dragging scroll in Ui::BoxContent with manager.
2022-03-14 18:23:08 +03:00
23rd
d2e482dac3
Added Ui::Show implementation for Ui::BoxContent.
2022-03-04 11:24:55 +03:00
23rd
f0b800cdfb
Introduced Ui::Show interface.
2022-03-03 16:45:51 +03:00
23rd
4ba28e2fec
Renamed BoxContent::onScrollToY to BoxContent::scrollToY.
2022-02-25 12:56:10 +03:00
23rd
c369eb13bf
Removed Q_OBJECT from BoxContent.
2022-02-25 12:56:10 +03:00
23rd
b69fcf6048
Added ability to hide layer from delegate of BoxContent.
2022-02-25 12:56:10 +03:00
John Preston
681da392eb
Improve box rounding and buttons.
2022-02-08 11:06:19 +03:00
John Preston
f4a32c34f8
Move box divider colors to the palette.
2021-11-24 12:28:36 +04:00
John Preston
f18fbbc2a1
Allow custom-styled left button in BoxContent.
2021-11-16 09:51:24 +04:00
John Preston
aa16cd0c16
Allow custom rounded corners in boxes.
2021-10-21 21:23:08 +04:00
23rd
7182fad08a
Removed Q_OBJECT from ScrollArea.
2021-09-29 19:40:47 +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
1b590f9e16
Expose topShownLayer from LayerStackWidget/LaayerManager.
2021-08-11 11:05:27 +03:00
Ilya Fedin
b8485c0d8a
Fix -Wunused-variable warnings
2021-07-13 21:24:22 +03:00
23rd
8c7ebd89f6
Added ability to pass custom layer widgets to stack.
2021-07-02 23:00:21 +03:00
John Preston
a51db55ef2
Allow changing GenericBox later.
2021-04-07 15:42:12 +04:00
Ilya Fedin
af41bff7e4
Build with QT_NO_KEYWORDS
2021-03-03 22:34:02 +04:00
John Preston
7fd90cb38b
Add onShowFinished callback to BoxContent.
2020-11-30 21:06:12 +03:00
John Preston
7287e235e0
Allow different styles for box layers.
2020-11-29 21:26:20 +03:00
John Preston
d4c99701b5
Fix deprecation warnings on Qt 5.15.1.
2020-11-04 18:44:45 +03:00
23rd
1916823c98
Added skip for title in box when top button is present.
2020-09-30 12:14:29 +03:00
John Preston
566f301636
Fix box title dynamic change.
2020-06-29 22:24:46 +04:00
John Preston
d6e7aa6f63
Allow prepare + run layer hide animation.
2020-06-29 16:10:40 +04:00
John Preston
2a0d189ee2
Allow badge in main menu button.
2020-06-23 13:13:22 +04:00
John Preston
771f702056
Remove a slot from BoxContent.
2020-06-08 22:08:09 +04:00
John Preston
ce0619dadd
Use the same margins for different controls.
2020-04-30 16:34:24 +04:00
John Preston
ed97ff0d4f
Don't loose focus from layer in animation.
2020-03-18 16:14:19 +04:00
John Preston
c96119dcd1
Make GenericBox vertical-layout available outside.
2020-03-10 16:28:51 +04:00