Workspace 6.21.5
|
Class implementing a dialog box for reordering a Nested Workspace's inputs. More...
#include <Workspace/Presentation/workspaceinputreorderdialog.h>
Public Member Functions | |
WorkspaceInputReorderDialog (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 , SourceOperation } |
enum | Data { SourceRole = Qt::UserRole + 1 , DependencySourceListRole , OperationInputRole , ExternalInputGlobalNameRole , ExternalInputPreferredWidgetRole , ExternalInputDescriptionRole , DataDestinationListRole , DependencyDestinationListRole , GlobalNameListRole , DescriptionListRole , NameListRole , PreferredWidgetListRole , ColorRole , IconPathRole , DisplayWidgetRole , LabelRole , UuidRole , DataNameRole , PositionRole } |
Protected Types inherited from PortReorderDialog | |
typedef QList< DataState * > | DataStateList |
Protected Slots | |
void | okButtonClicked () override |
void | reorderInputs () |
Protected Slots inherited from PortReorderDialog | |
virtual void | okButtonClicked ()=0 |
Protected Member Functions | |
bool | addRow (QTreeWidget &tree, DataExecution::InputScalar &input) |
void | loadInputs () |
void | restoreExternalProperties (QTreeWidgetItem *item, DataExecution::IOBase *ioBase) |
void | restoreOperationProperties (QTreeWidgetItem *item, DataExecution::WorkspaceInput *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::WorkspaceInput *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 |
WorkspaceInputReorderDialog | ( | DataExecution::Workspace & | workspace, |
QWidget * | parent = nullptr |
||
) |
|
protected |
Adds a top-level item representing the given input
|
protected |
Adds all the inputs to the treewidget as top-level items
|
overrideprotectedslot |
|
protectedslot |
Removes all the WorkspaceInput operations from the Workspace and restores them in the new order **
|
protected |
Restores the properties of the WorkspaceInput that are shown on the exterior of the nested workflow from the data stored in the tree item **
|
protected |
Restores the properties of the WorkspaceInput 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 WorkspaceInput that are shown on the exterior of the nested workflow inside as data stored in the tree item **
|
protected |
Stores those properties of the WorkspaceInput and its inputs/outputs inside as data stored in the tree item **