mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-07 17:05:37 +00:00
25 lines
450 B
C++
25 lines
450 B
C++
#ifndef ACTIONCHECKABLE_UI_HPP
|
|
#define ACTIONCHECKABLE_UI_HPP
|
|
|
|
#include <QAction>
|
|
#include <string>
|
|
|
|
#include "checkable_ui.hpp"
|
|
#include "settings.hpp"
|
|
|
|
class ActionCheckableUi : public CheckableUi{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ActionCheckableUi(QAction *action, Settings *settings, const std::string &opt);
|
|
|
|
protected:
|
|
QAction *action;
|
|
|
|
void connectSignals() override;
|
|
void updateUiState(bool checked) override;
|
|
void updateUiState() override;
|
|
};
|
|
|
|
#endif
|