refactor: buttons and friends (#6102)

This commit is contained in:
nerix
2025-05-25 11:17:06 +02:00
committed by GitHub
parent deed1061b5
commit 84c0b39fde
49 changed files with 1083 additions and 691 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include "singletons/Resources.hpp"
#include "singletons/Theme.hpp"
#include "widgets/helper/Button.hpp"
#include "widgets/buttons/PixmapButton.hpp"
#include <QMouseEvent>
@@ -119,7 +119,7 @@ void DraggablePopup::togglePinned()
}
Button *DraggablePopup::createPinButton()
{
this->pinButton_ = new Button(this);
this->pinButton_ = new PixmapButton(this);
this->pinButton_->setPixmap(getTheme()->buttons.pin);
this->pinButton_->setScaleIndependentSize(18, 18);
this->pinButton_->setToolTip("Pin Window");