refactor: buttons and friends (#6102)
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class Button;
|
||||
class EffectLabel;
|
||||
class PixmapButton;
|
||||
class LabelButton;
|
||||
class Label;
|
||||
class Split;
|
||||
|
||||
@@ -54,7 +54,6 @@ protected:
|
||||
|
||||
private:
|
||||
void initializeLayout();
|
||||
void initializeModeSignals(EffectLabel &label);
|
||||
std::unique_ptr<QMenu> createMainMenu();
|
||||
std::unique_ptr<QMenu> createChatModeMenu();
|
||||
|
||||
@@ -76,19 +75,19 @@ private:
|
||||
std::chrono::steady_clock::time_point lastReloadedSubEmotes_;
|
||||
|
||||
// ui
|
||||
Button *dropdownButton_{};
|
||||
PixmapButton *dropdownButton_{};
|
||||
Label *titleLabel_{};
|
||||
|
||||
EffectLabel *modeButton_{};
|
||||
LabelButton *modeButton_{};
|
||||
QAction *modeActionSetEmote{};
|
||||
QAction *modeActionSetSub{};
|
||||
QAction *modeActionSetSlow{};
|
||||
QAction *modeActionSetR9k{};
|
||||
QAction *modeActionSetFollowers{};
|
||||
|
||||
Button *moderationButton_{};
|
||||
Button *chattersButton_{};
|
||||
Button *addButton_{};
|
||||
PixmapButton *moderationButton_{};
|
||||
PixmapButton *chattersButton_{};
|
||||
PixmapButton *addButton_{};
|
||||
|
||||
// states
|
||||
QPoint dragStart_{};
|
||||
|
||||
Reference in New Issue
Block a user