|
ORE Studio 0.0.4
|
Dialog widget for creating and editing change reasons. More...
#include <ChangeReasonDetailDialog.hpp>


Signals | |
| void | isDirtyChanged (bool dirty) |
| void | changeReasonSaved (const QString &code) |
| void | changeReasonDeleted (const QString &code) |
Signals inherited from DetailDialogBase | |
| void | closeRequested () |
| Emitted when the dialog wants to close its container window. | |
| void | statusMessage (const QString &message) |
| Emitted to show a status message in the status bar. | |
| void | errorMessage (const QString &message) |
| Emitted when an error occurs that should be shown to the user. | |
Public Member Functions | |
| ChangeReasonDetailDialog (QWidget *parent=nullptr) | |
| void | setClientManager (ClientManager *clientManager) |
| void | setUsername (const std::string &username) |
| void | setChangeReason (const dq::domain::change_reason &reason) |
| dq::domain::change_reason | getChangeReason () const |
| void | setCreateMode (bool createMode) |
| void | setReadOnly (bool readOnly, int versionNumber=0) |
| void | setHistory (const std::vector< dq::domain::change_reason > &history, int versionNumber) |
| void | clearDialog () |
| void | save () |
| void | setCategories (const std::vector< dq::domain::change_reason_category > &categories) |
| QString | changeReasonCode () const |
| bool | isDirty () const |
| bool | isReadOnly () const |
Additional Inherited Members | |
Protected Member Functions inherited from DetailDialogBase | |
| void | requestClose () |
| Request closure of the container window. | |
| void | notifySaveSuccess (const QString &message) |
| Notify that a save operation completed successfully. | |
Dialog widget for creating and editing change reasons.
This widget provides a form for entering change reason details, with save and delete capabilities.