Workspace 6.21.5
|
Class implementing a dialog box for reordering a Nested Workspace's outputs. More...
#include <Workspace/Presentation/workspaceoutputreorderdialog.h>
Public Member Functions | |
WorkspaceOutputReorderDialog (DataExecution::Workspace &workspace, QWidget *parent=nullptr) | |
Public Member Functions inherited from PortReorderDialog | |
PortReorderDialog (int displayWidgetCol, int selectWidgetCol, DataExecution::Workspace &workspace, bool readOnly=false, QWidget *parent=nullptr) | |
Creates a dialog box with DisplayWidgets for the values of supplied Updatables. | |
bool | isModified () |
Public Member Functions inherited from BasicTextLogger | |
BasicTextLogger () | |
virtual | ~BasicTextLogger () |
void | logLine (const Application::LogManager::MessageCategory &category, const QString &msg) const |
void | logLine (const QString &msg) const |
void | logText (const Application::LogManager::MessageCategory &category, const QString &msg) const |
void | logText (const QString &msg) const |
Protected Types | |
enum | Column { Name = 0 , DataType , DisplayWidget , DisplaySelectionWidget } |
enum | Data { SourceRole = Qt::UserRole + 1 , DependencySourceListRole , OperationInputRole , OperationOutputRole , InternalDestinationListRole , ExternalOutputGlobalNameRole , ExternalOutputPreferredWidgetRole , ExternalOutputDescriptionRole , ExternalDestinationListRole , GlobalNameListRole , DescriptionListRole , NameListRole , PreferredWidgetListRole , ColorRole , IconPathRole , LabelRole , UuidRole , DataNameRole , OutputNameRole , PositionRole } |
Protected Types inherited from PortReorderDialog | |
typedef QList< DataState * > | DataStateList |
Protected Slots | |
void | okButtonClicked () override |
void | reorderOutputs () |
Protected Slots inherited from PortReorderDialog | |
virtual void | okButtonClicked ()=0 |
Protected Member Functions | |
bool | addRow (QTreeWidget &treeWidget, DataExecution::Output &output) |
void | loadOutputs () |
void | restoreExternalProperties (QTreeWidgetItem *item, DataExecution::IOBase *ioBase) |
void | restoreOperationProperties (QTreeWidgetItem *item, DataExecution::WorkspaceOutput *op, DataExecution::DataObject *data) |
void | setColumnHints () |
void | setItemHints (QTreeWidgetItem *item) |
QSize | sizeHint () const override |
void | storeExternalProperties (QTreeWidgetItem *item, DataExecution::IOBase *ioBase) |
void | storeOperationProperties (QTreeWidgetItem *item, DataExecution::PolymorphicDataOperation *op) |
Protected Member Functions inherited from PortReorderDialog | |
bool | findConnectedDestinations (DataExecution::Output *output, QVariantList &destInputList) |
void | findDObjects (DataExecution::Operation &op, DataStateList &inputDataObjects, DataStateList &outputDataObjects) |
void | findIoBaseProperties (DataExecution::IOBase *ioBase, QStringList &globalNames, QStringList &descriptions, QStringList &names, QStringList &preferredWidgets, QVariantList &dependencySources) |
void | findScalarProperties (DataExecution::IOBase *ioBase, QString &globalName, QString &description, QString &preferredWidget) |
void | findScalarProperties (DataExecution::IOBase *ioBase, QStringList &globalNames, QStringList &descriptions, QStringList &preferredWidgets) |
void | keyPressEvent (QKeyEvent *evt) override |
Stops the dialog box from closing when Enter is pressed **. | |
bool | registerItem (QTreeWidgetItem *item, DataExecution::IOBase *ioBase, DisplayWidgetTree::PortType portType, bool readOnly=false) |
bool | removeConnectedDestinations (DataExecution::Output *output) |
bool | removeConnectedSources (DataExecution::InputArray *inputArray) |
bool | restoreConnectedDestinations (DataExecution::Output *output, const QVariantList &destInputList) |
bool | restoreConnectedSources (DataExecution::InputArray *inputArray, const QVariantList &srcOutputList) |
void | restoreDObjects (DataExecution::Operation &op, DataStateList &inputDataObjects, DataStateList &outputDataObjects) |
void | restoreIoBaseProperties (DataExecution::IOBase *ioBase, QStringList &globalNames, QStringList &descriptions, QStringList &names, QStringList &preferredWidgets, const QVariantList &dependencySources) |
void | restoreScalarProperties (DataExecution::IOBase *ioBase, const QString &globalName, const QString &description, const QString &preferredWidget) |
void | restoreScalarProperties (DataExecution::IOBase *ioBase, QStringList &globalNames, QStringList &descriptions, QStringList &preferredWidgets) |
DataExecution::Workspace * | rootWorkspace () |
Additional Inherited Members | |
Protected Attributes inherited from PortReorderDialog | |
DisplayWidgetTree | treeWidget_ |
DataExecution::Workspace & | workspace_ |
|
protected |
|
protected |
WorkspaceOutputReorderDialog | ( | DataExecution::Workspace & | workspace, |
QWidget * | parent = nullptr |
||
) |
workspace | Nested workflow whose outputs are to be reordered |
parent | Parent Widget |
|
protected |
Adds a top-level item representing the given output
|
protected |
Adds all the outputs to the treewidget as top-level items
|
overrideprotectedslot |
|
protectedslot |
Removes all the WorkspaceOutput operations from the Workspace and restores them in the new order **
|
protected |
Restores the properties of the WorkspaceOutput that are shown on the exterior of the nested workflow from the data stored in the tree item **
|
protected |
Restores the properties of the WorkspaceOutput and its inputs/outputs from data stored in the tree item **
|
protected |
Sets some tool-tips in the tree header **
|
protected |
Sets some tool-tips and whatsthis comments on per-item basis **
|
overrideprotected |
|
protected |
Stores the properties of the WorkspaceOutput that are shown on the exterior of the nested workflow in data stored in the tree item **
|
protected |
Stores those properties of the WorkspaceOutput and its inputs/outputs inside as data stored in the tree item **