mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 05:16:11 +00:00
28 lines
436 B
C
28 lines
436 B
C
|
#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:
|
||
|
void closeEvent(QCloseEvent * event) override;
|
||
|
};
|
||
|
|
||
|
#endif // CUTTERWIDGET_H
|