add QCanvas Root and viewport pane in gcompose
This commit is contained in:
22
app/gcompose/src/MainPanel.h
Normal file
22
app/gcompose/src/MainPanel.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef MAINPANEL_H
|
||||
#define MAINPANEL_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QSplitter;
|
||||
class QViewportPane;
|
||||
|
||||
class MainPanel : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit MainPanel(QWidget* parent = nullptr);
|
||||
virtual ~MainPanel();
|
||||
|
||||
QViewportPane* getFirstPane() const { return m_firstPane; }
|
||||
|
||||
private:
|
||||
QSplitter* m_rootSplitter;
|
||||
QViewportPane* m_firstPane;
|
||||
};
|
||||
|
||||
#endif // MAINPANEL_H
|
||||
Reference in New Issue
Block a user