mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
40 lines
848 B
C++
40 lines
848 B
C++
#ifndef pqRemoteCommandTemplateDialog_h
|
|
#define pqRemoteCommandTemplateDialog_h
|
|
// .NAME pqRemoteCommandTemplateDialog - Dialog for configuring server side signals
|
|
// .SECTION Description
|
|
|
|
#include <QDialog>
|
|
#include <QLineEdit>
|
|
#include <QList>
|
|
#include <QString>
|
|
|
|
class pqRemoteCommandTemplateDialogUI;
|
|
|
|
class pqRemoteCommandTemplateDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
pqRemoteCommandTemplateDialog(QWidget *parent, Qt::WindowFlags f);
|
|
~pqRemoteCommandTemplateDialog();
|
|
|
|
// Description:
|
|
// Access to UI state
|
|
void SetCommandName(QString name);
|
|
QString GetCommandName();
|
|
|
|
void SetCommandTemplate(QString templ);
|
|
QString GetCommandTemplate();
|
|
|
|
int GetModified(){ return this->Modified; }
|
|
|
|
private slots:
|
|
void SetModified(){ ++this->Modified; }
|
|
|
|
private:
|
|
int Modified;
|
|
pqRemoteCommandTemplateDialogUI *Ui;
|
|
};
|
|
|
|
#endif
|