Commit 928a8543 authored by Denis Khachko's avatar Denis Khachko

Select Fileds

parent 72e0b256
......@@ -18,6 +18,8 @@ Plugin::Plugin()
MW->setup();
mainWindow_=MW;
field_no=0;
prevFld=new QAction("Предыдущая обстановка",this);
nextFld=new QAction("Следующая обстановка",this);
}
QList<QMenu*> Plugin::menus()const
......@@ -179,7 +181,14 @@ void Plugin::changeCurrentDirectory(const QString &path)
{
}
void Plugin::nextField()
{
};
void Plugin::prevField()
{
};
void Plugin::changeGlobalState(ExtensionSystem::GlobalState old,
ExtensionSystem::GlobalState current)
{
......
......@@ -38,7 +38,8 @@ public:
public slots:
void setEnabled(bool value);
void setTestingResult(ProgramRunStatus status, int value);
void nextField();
void prevField();
private /*methods*/:
void saveSession() const;
void restoreSession();
......@@ -52,6 +53,8 @@ private /*fields*/:
AI * getActor(QString name);
QWidget* mainWindow_;
QAction* actionPerformCheck_;
QAction* nextFld;
QAction* prevFld;
ExtensionSystem::DeclarativeSettingsPage* settingsEditorPage_;
QMenu* courseMenu;
QList<QMenu*> MenuList;
......
......@@ -79,6 +79,7 @@ QList<QAction*> MainWindowTask::getActions()
toRet.append(ui->actionTested);
return toRet;
}
MainWindowTask::~MainWindowTask()
{
delete ui;
......
......@@ -118,6 +118,8 @@ public slots:
void lockControls();
void unlockControls();
protected:
void changeEvent(QEvent *e);
void closeEvent(QCloseEvent *event);
......@@ -138,6 +140,7 @@ private:
QString CS;
bool onTask;
courseChanges changes;
QString cursFile;
QList<int> progChange;
QFile cursWorkFile;
......
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