46 lines
1.1 KiB
C++
Executable File
46 lines
1.1 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* PlanChooser - New Plan Dialog - Asks for Plan name
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, SLSE, 2017-04-20
|
|
*/
|
|
#pragma once
|
|
|
|
#include <InfrastructureManagement/logger.h>
|
|
#include <InfrastructureManagement/ism_combobox_gui_plugin_interface.h>
|
|
#include <Plugins/InfrastructureManagement/Data/ism_data_plugin.h>
|
|
#include <Plugins/InfrastructureManagement/ism_resource_management_gui_plugin_interface.h>
|
|
#include <QDialog>
|
|
|
|
namespace Ui
|
|
{
|
|
class NewPlanDialog;
|
|
}
|
|
namespace LtsSession
|
|
{
|
|
class LtsSession;
|
|
}
|
|
namespace InfrastructureManagement
|
|
{
|
|
class NewPlanDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit NewPlanDialog(LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
|
~NewPlanDialog();
|
|
void init( const std::shared_ptr<ForeignGuiComboboxInterface> &ismCbx);
|
|
bool getData(QString &name, qint64 &begin, qint64 &end, int &status);
|
|
|
|
private:
|
|
Ui::NewPlanDialog* m_ui;
|
|
std::shared_ptr<ForeignGuiComboboxInterface> m_ismGuiCbx{nullptr};
|
|
LtsSession::LtsSession *m_session{nullptr};
|
|
LOGGER_T m_logger;
|
|
};
|
|
|
|
}
|