Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
UserSubWindow.h File Reference
#include "DllOption.h"
#include "PythonRunner.h"
#include "UserSubWindowFactory.h"
#include <QLabel>
#include <QMainWindow>
#include <QPointer>
#include <QStringList>
#include <QWidget>
#include <set>

Go to the source code of this file.

Classes

class  MantidQt::API::UserSubWindow
 This is the base class all customised user interfaces that do not wish to be tied to a specific Mantid algorithm but rather customised for user's requirements. More...
 

Namespaces

namespace  MantidQt
 The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress bar for them, and a property list.
 
namespace  MantidQt::API
 
namespace  MantidQt::MantidWidgets
 

Macros

#define DECLARE_SUBWINDOW(classname)
 
#define DECLARE_SUBWINDOW_AND_CODERS(classname, encodertype, decodertype, decodertag)
 

Macro Definition Documentation

◆ DECLARE_SUBWINDOW

#define DECLARE_SUBWINDOW (   classname)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper \
register_subwindow_##classname(((MantidQt::API::UserSubWindowFactory::Instance().subscribe<classname>()), 0)); \
}
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...

Definition at line 14 of file UserSubWindow.h.

◆ DECLARE_SUBWINDOW_AND_CODERS

#define DECLARE_SUBWINDOW_AND_CODERS (   classname,
  encodertype,
  decodertype,
  decodertag 
)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper register_subwindow_##classname( \
((MantidQt::API::UserSubWindowFactory::Instance().subscribe<classname, encodertype, decodertype>(decodertag)), \
0)); \
}
This class is simply used in the subscription of classes into the various factories in Mantid.

Definition at line 20 of file UserSubWindow.h.