first commit
This commit is contained in:
51
project/fm_viewer/ui/rm_window_base.h
Normal file
51
project/fm_viewer/ui/rm_window_base.h
Normal file
@@ -0,0 +1,51 @@
|
||||
#ifndef RM_WINDOW_BASE_H
|
||||
#define RM_WINDOW_BASE_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QWindow>
|
||||
#include "../rm_include.h"
|
||||
|
||||
//class TitleWidget;
|
||||
class FMFrameTitle;
|
||||
class RMWidgetDrag;
|
||||
|
||||
#if (MODEL_BBVIEWER)
|
||||
class RMToolbar;
|
||||
#endif
|
||||
|
||||
#if (MODEL_WATEX)
|
||||
class RMBottomBorder;
|
||||
#endif
|
||||
|
||||
class RMWindowBase : public QMainWindow // QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit RMWindowBase(QWidget *parent = nullptr,QString title = "", QString icon = "", bool isPopup = false);
|
||||
RMWidgetDrag* _drag;
|
||||
|
||||
protected:
|
||||
QWidget* _centralWidget;
|
||||
QVBoxLayout* _titleLayout;
|
||||
#if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
FMFrameTitle* _title;
|
||||
#endif // #if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
|
||||
QWidget* _mainWidget;
|
||||
#if (MODEL_BBVIEWER)
|
||||
RMToolbar* _toolbar;
|
||||
#endif
|
||||
|
||||
#if (MODEL_WATEX)
|
||||
RMBottomBorder* _bottomBorder;
|
||||
#endif
|
||||
|
||||
signals:
|
||||
void closeSignal();
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // RM_WINDOW_BASE_H
|
||||
Reference in New Issue
Block a user