mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-26 05:07:51 +00:00
refactor CaptureButton and use CSS for side panel button
This commit is contained in:
@@ -24,17 +24,17 @@
|
||||
#include <QStylePainter>
|
||||
|
||||
OrientablePushButton::OrientablePushButton(QWidget* parent)
|
||||
: QPushButton(parent)
|
||||
: CaptureButton(parent)
|
||||
{}
|
||||
|
||||
OrientablePushButton::OrientablePushButton(const QString& text, QWidget* parent)
|
||||
: QPushButton(text, parent)
|
||||
: CaptureButton(text, parent)
|
||||
{}
|
||||
|
||||
OrientablePushButton::OrientablePushButton(const QIcon& icon,
|
||||
const QString& text,
|
||||
QWidget* parent)
|
||||
: QPushButton(icon, text, parent)
|
||||
: CaptureButton(icon, text, parent)
|
||||
{}
|
||||
|
||||
QSize
|
||||
|
||||
Reference in New Issue
Block a user