mirror-chatterino2/src/widgets/dialogs
pajlada fdb0a1582c
SplitContainer refactor (#4261)
* Remove unused include util/Helpers.hpp

* SplitContainer::setTag fix parameter naming

* autofy/constify where possible

* More const auto ptr magicifying

* Make SplitNode::Type an enum class

* Move QuickSwitcherPopup includes from header to source file

* Remove unused DropRegion code

* use empty() instead of size() == 0

* Add curly braces everywhere

* Remove useless reinterpret_cast

It was casting Node* to Node*

* Clarify that the connect is QObject::connect

* SplitContainer::setSelected fix parameter naming

* Rename function variables to remove unneccesary underscore

Also move addSpacing parameter out of the layout function

* emplace_back where possible

* Name parameters

* Remove ineffective const from return type

* Make node getters const

* Flatten Node::releaseSplit

* Rename in-function variable to match code style

* [ACTUAL CODE CHANGE/MOVE] Move clamp logic to its own function

* name params

* applyFromDescriptorRecursively: rename node param to baseNode

* [ACTUAL CODE CHANGE/MOVE] Remove the many overloads for append/insertSplit

This utilizes the C++20 designed initializers aggregate initialization feature

* Remove unused includes

* [ACTUAL CODE CHANGE] Clean up dragging logic

There's no need to keep a pointer around to which split is being
dragged, it's already stored in the QDropEvent source()

* UNRELATED .clang-tidy: Only suggest UPPER_CASE for constant global variables

* Remove unused SplitContainer::getSplitCount function

* Use std::max in Node's clamp function

* Remove test code

* DraggedSplit.hpp: remove unused include

* Split `setDraggingSplit` into two functions, `startDraggingSplit` and `stopDraggingSplit`
2022-12-25 11:09:25 +00:00
..
switcher SplitContainer refactor (#4261) 2022-12-25 11:09:25 +00:00
BadgePickerDialog.cpp Migrate to C++ 20 & switch to websocketpp develop branch (#4252) 2022-12-24 11:56:11 +00:00
BadgePickerDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
ChannelFilterEditorDialog.cpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
ChannelFilterEditorDialog.hpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
ColorPickerDialog.cpp Migrate to C++ 20 & switch to websocketpp develop branch (#4252) 2022-12-24 11:56:11 +00:00
ColorPickerDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
EditHotkeyDialog.cpp Add custom hotkeys. (#2340) 2021-11-21 17:46:21 +00:00
EditHotkeyDialog.hpp Add custom hotkeys. (#2340) 2021-11-21 17:46:21 +00:00
EditHotkeyDialog.ui Add custom hotkeys. (#2340) 2021-11-21 17:46:21 +00:00
EmotePopup.cpp Clean up TwitchAccount emote stuff (#4243) 2022-12-18 14:36:39 +00:00
EmotePopup.hpp Refactor the EmotePopup file (#4239) 2022-12-17 18:33:17 +01:00
IrcConnectionEditor.cpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
IrcConnectionEditor.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
IrcConnectionEditor.ui added sasl auth 2019-09-15 13:15:29 +02:00
LastRunCrashDialog.cpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
LastRunCrashDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
LoginDialog.cpp Migrate to C++ 20 & switch to websocketpp develop branch (#4252) 2022-12-24 11:56:11 +00:00
LoginDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
NotificationPopup.cpp fix: prevent unnecessary layout saves (#4201) 2022-12-03 10:50:22 +00:00
NotificationPopup.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
QualityPopup.cpp fix: prevent unnecessary layout saves (#4201) 2022-12-03 10:50:22 +00:00
QualityPopup.hpp Keyboard integration for Streamlink quality confirmation (#3169) 2021-08-15 15:59:52 +02:00
ReplyThreadPopup.cpp Clean up TwitchAccount emote stuff (#4243) 2022-12-18 14:36:39 +00:00
ReplyThreadPopup.hpp Added support for Twitch's Chat Replies (#3722) 2022-07-31 10:45:25 +00:00
SelectChannelDialog.cpp Migrate to C++ 20 & switch to websocketpp develop branch (#4252) 2022-12-24 11:56:11 +00:00
SelectChannelDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
SelectChannelFiltersDialog.cpp Add scrollbar to Select filters dialog (#3737) 2022-05-28 10:25:58 +00:00
SelectChannelFiltersDialog.hpp Advanced channel filters (#1748) 2020-10-18 15:18:20 +02:00
SettingsDialog.cpp fix: prevent unnecessary layout saves (#4201) 2022-12-03 10:50:22 +00:00
SettingsDialog.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
UpdateDialog.cpp fix: prevent unnecessary layout saves (#4201) 2022-12-03 10:50:22 +00:00
UpdateDialog.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
UserInfoPopup.cpp SplitContainer refactor (#4261) 2022-12-25 11:09:25 +00:00
UserInfoPopup.hpp Add ability to pin Usercards to stay open even if it loses focus (#3884) 2022-11-12 12:21:43 +00:00
WelcomeDialog.cpp fix: prevent unnecessary layout saves (#4201) 2022-12-03 10:50:22 +00:00
WelcomeDialog.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00