mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
39 lines
655 B
C
39 lines
655 B
C
|
#pragma once
|
||
|
|
||
|
#include <QAction>
|
||
|
|
||
|
namespace QtAdsUtl
|
||
|
{
|
||
|
|
||
|
class DockInDockWidget;
|
||
|
class LoadPerspectiveAction : public QAction
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
LoadPerspectiveAction( QMenu* parent, const QString& name, QtAdsUtl::DockInDockWidget& dockManager );
|
||
|
|
||
|
public slots:
|
||
|
void load();
|
||
|
|
||
|
private:
|
||
|
QString name;
|
||
|
QtAdsUtl::DockInDockWidget& dockManager;
|
||
|
};
|
||
|
|
||
|
class RemovePerspectiveAction : public QAction
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
RemovePerspectiveAction( QMenu* parent, const QString& name, QtAdsUtl::DockInDockWidget& dockManager );
|
||
|
|
||
|
public slots:
|
||
|
void remove();
|
||
|
|
||
|
private:
|
||
|
QString name;
|
||
|
QtAdsUtl::DockInDockWidget& dockManager;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|