38 lines
811 B
C++
38 lines
811 B
C++
#ifndef SPLITWINDOW_H
|
|
#define SPLITWINDOW_H
|
|
|
|
#include "splitview_interface.h"
|
|
|
|
#include <QMainWindow>
|
|
#include <QWidget>
|
|
#include <libConfig.h>
|
|
|
|
namespace split_panel {
|
|
|
|
|
|
/**
|
|
* @brief 鍒嗚瑙嗗浘鍛堢幇缁勪欢
|
|
*/
|
|
class SPLITVIEW_EXPORT SplitWindow : public QMainWindow, public split_frame::SplitView {
|
|
typedef float pos;
|
|
typedef float width;
|
|
|
|
public:
|
|
SplitWindow(QWidget *parent = nullptr);
|
|
virtual ~SplitWindow();
|
|
|
|
//======================================================
|
|
/**
|
|
* @brief 涓存椂鏄剧ず鎸囧畾瑙嗗浘
|
|
* @param t
|
|
* @param target
|
|
*/
|
|
void tempShow(split_frame::DockType t, split_frame::ViewBase *target);
|
|
|
|
|
|
};
|
|
|
|
} // namespace split_panel
|
|
|
|
#endif // SPLITWINDOW_H
|