Workspace 6.21.5
Public Member Functions | List of all members
FormatStringPropertiesWidget Class Reference

#include <Workspace/Widgets/formatstringpropertieswidget.h>

Inherits QWidget.

Public Member Functions

 FormatStringPropertiesWidget (DataExecution::FormatString &op, Presentation::OperationPropertiesDialog &dialog)
 
 ~FormatStringPropertiesWidget () override
 
bool allowedToApplyChanges ()
 
void applyChanges (QUndoStack &undoStack)
 

Constructor & Destructor Documentation

◆ FormatStringPropertiesWidget()

Parameters
opFormatString instance to be configured
dialogUI dialog for property configuration

◆ ~FormatStringPropertiesWidget()

~FormatStringPropertiesWidget ( )
overridedefault

Member Function Documentation

◆ allowedToApplyChanges()

bool allowedToApplyChanges ( )

Check whether specified property configuration is valid (can be applied).

Returns
True if valid configuration, false otherwise.

◆ applyChanges()

void applyChanges ( QUndoStack &  undoStack)

Save property changes to the underlying FormatString operation.

Parameters
undoStackAllows storage of commands which can be undone in UI.