ui: made icon buttons self updating on color scheme change
* fixed hatching not replaced in single file view title bar on color scheme change
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
#include <memory>
|
||||
|
||||
#include <QGraphicsView>
|
||||
#include <QPushButton>
|
||||
|
||||
#include "utility/types.h"
|
||||
|
||||
class QPushButton;
|
||||
class QTimer;
|
||||
class QtGraphEdge;
|
||||
class QtGraphNode;
|
||||
class QtSelfRefreshIconButton;
|
||||
|
||||
class QtGraphicsView
|
||||
: public QGraphicsView
|
||||
@@ -32,8 +33,6 @@ public:
|
||||
|
||||
void updateZoom(float delta);
|
||||
|
||||
void refreshStyle();
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent* event);
|
||||
|
||||
@@ -100,8 +99,8 @@ private:
|
||||
QAction* m_bookmarkNodeAction;
|
||||
|
||||
QPushButton* m_zoomState;
|
||||
QPushButton* m_zoomInButton;
|
||||
QPushButton* m_zoomOutButton;
|
||||
QtSelfRefreshIconButton* m_zoomInButton;
|
||||
QtSelfRefreshIconButton* m_zoomOutButton;
|
||||
|
||||
float m_zoomInButtonSpeed;
|
||||
float m_zoomOutButtonSpeed;
|
||||
|
||||
Reference in New Issue
Block a user