cutter/src/widgets/CutterDockWidget.h

28 lines
435 B
C
Raw Normal View History

#ifndef CUTTERWIDGET_H
#define CUTTERWIDGET_H
#include <QDockWidget>
class MainWindow;
class CutterDockWidget : public QDockWidget
{
Q_OBJECT
public:
explicit CutterDockWidget(MainWindow *main, QAction *action = nullptr);
~CutterDockWidget();
public slots:
void toggleDockWidget(bool show);
private:
QAction *action;
protected:
2018-03-21 20:32:32 +00:00
void closeEvent(QCloseEvent *event) override;
};
#endif // CUTTERWIDGET_H