Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added base publishing dialog class. Refs #8537.
- Loading branch information
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Code/Mantid/MantidQt/CustomDialogs/inc/MantidQtCustomDialogs/CatalogPublishDialog.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef MANTIDQT_CUSTOM_DIALOGS_CATALOGPUBLISHDIALOG_H | ||
#define MANTIDQT_CUSTOM_DIALOGS_CATALOGPUBLISHDIALOG_H | ||
|
||
#include "MantidQtAPI/AlgorithmDialog.h" | ||
|
||
namespace MantidQt | ||
{ | ||
namespace CustomDialogs | ||
{ | ||
class CatalogPublishDialog : public MantidQt::API::AlgorithmDialog | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
/// Constructor | ||
CatalogPublishDialog(QWidget *parent = 0); | ||
/// Destructor | ||
~CatalogPublishDialog(); | ||
|
||
private: | ||
/// Create the inital layout. | ||
void initLayout(); | ||
}; | ||
} | ||
} | ||
|
||
#endif /* MANTIDQT_CUSTOM_DIALOGS_CATALOGPUBLISHDIALOG_H */ |
22 changes: 22 additions & 0 deletions
22
Code/Mantid/MantidQt/CustomDialogs/src/CatalogPublishDialog.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#include "MantidQtCustomDialogs/CatalogPublishDialog.h" | ||
|
||
namespace MantidQt | ||
{ | ||
namespace CustomDialogs | ||
{ | ||
// Declare the dialog. Name must match the class name. | ||
DECLARE_DIALOG(CatalogPublishDialog); | ||
|
||
/** | ||
* Default constructor. | ||
* @param parent :: Parent dialog. | ||
*/ | ||
CatalogPublishDialog::CatalogPublishDialog(QWidget *parent) : MantidQt::API::AlgorithmDialog(parent) {} | ||
|
||
/// Destructor | ||
CatalogPublishDialog::~CatalogPublishDialog() {} | ||
|
||
/// Initialise the layout | ||
void CatalogPublishDialog::initLayout() {} | ||
} | ||
} |