pqRemoteCommandTemplateDialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqRemoteCommandTemplateDialog_h
4 #define pqRemoteCommandTemplateDialog_h
5 // .NAME pqRemoteCommandTemplateDialog - Dialog for configuring server side signals
6 // .SECTION Description
7 
8 #include <QDialog>
9 #include <QLineEdit>
10 #include <QList>
11 #include <QString>
12 
13 class pqRemoteCommandTemplateDialogUI;
14 
15 class pqRemoteCommandTemplateDialog : public QDialog
16 {
17  Q_OBJECT
18 
19 public:
20  pqRemoteCommandTemplateDialog(QWidget* parent, Qt::WindowFlags f);
22 
23  // Description:
24  // Access to UI state
25  void SetCommandName(QString name);
26  QString GetCommandName();
27 
28  void SetCommandTemplate(QString templ);
29  QString GetCommandTemplate();
30 
31  int GetModified() { return this->Modified; }
32 
33 private Q_SLOTS:
34  void SetModified() { ++this->Modified; }
35 
36 private: // NOLINT(readability-redundant-access-specifiers)
37  int Modified;
38  pqRemoteCommandTemplateDialogUI* Ui;
39 };
40 
41 #endif
void SetCommandTemplate(QString templ)
name
~pqRemoteCommandTemplateDialog() override
pqRemoteCommandTemplateDialog(QWidget *parent, Qt::WindowFlags f)
void SetCommandName(QString name)