Commit 25e5f634 authored by Denis Khachko's avatar Denis Khachko

Course Maneger Menus();

parent d635d2c5
......@@ -8,8 +8,14 @@ Plugin::Plugin()
, actionPerformCheck_(nullptr)
, settingsEditorPage_(nullptr)
{
courseMenu=new QMenu(trUtf8("Практикум"));
MenuList.append(courseMenu);
}
QList<QMenu*> Plugin::Menus()const
{
return MenuList;
};
QWidget* Plugin::mainWindow() const
{
......
......@@ -20,7 +20,7 @@ public:
QWidget* mainWindow() const;
QAction* actionPerformCheck() const;
QWidget* settingsEditorPage();
QList<QMenu*> menu() const;
QList<QMenu*> Menus() const;
public slots:
void setEnabled(bool value);
......@@ -39,7 +39,8 @@ private /*fields*/:
QWidget* mainWindow_;
QAction* actionPerformCheck_;
ExtensionSystem::DeclarativeSettingsPage* settingsEditorPage_;
QMenu* courseMenu;
QList<QMenu*> MenuList;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment