mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 20:06:12 +00:00
42 lines
667 B
C
42 lines
667 B
C
|
#ifndef SECTIONSDOCK_H
|
||
|
#define SECTIONSDOCK_H
|
||
|
|
||
|
#include <QDockWidget>
|
||
|
#include "widgets/sectionswidget.h"
|
||
|
|
||
|
class MainWindow;
|
||
|
|
||
|
namespace Ui
|
||
|
{
|
||
|
class SectionsDock;
|
||
|
}
|
||
|
|
||
|
class SectionsDock : public QDockWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit SectionsDock(MainWindow *main, QWidget *parent = 0);
|
||
|
~SectionsDock();
|
||
|
|
||
|
SectionsWidget *sectionsWidget;
|
||
|
|
||
|
protected:
|
||
|
void resizeEvent(QResizeEvent *event) override;
|
||
|
|
||
|
private slots:
|
||
|
|
||
|
void showSectionsContextMenu(const QPoint &pt);
|
||
|
|
||
|
void on_actionVertical_triggered();
|
||
|
|
||
|
void on_actionHorizontal_triggered();
|
||
|
|
||
|
private:
|
||
|
Ui::SectionsDock *ui;
|
||
|
|
||
|
MainWindow *main;
|
||
|
};
|
||
|
|
||
|
#endif // SECTIONSDOCK_H
|