|
ACF $AcfVersion:0$
|
#include <CProgressManagerGuiComp.h>
Public Types | |
| typedef iqtgui::TDesignerGuiCompBase< Ui::CProgressManagerGuiComp > | BaseClass |
| typedef ibase::CCumulatedProgressManagerBase | BaseClass2 |
Public Types inherited from iqtgui::TGuiComponentBase< WidgetType > | |
| typedef CGuiComponentBase | BaseClass |
Public Types inherited from iqtgui::CGuiComponentBase | |
| typedef TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | BaseClass |
Public Types inherited from iqtgui::TMakeIconProviderCompWrap< ibase::TLocalizableWrap< icomp::CComponentBase > > | |
| typedef ibase::TLocalizableWrap< icomp::CComponentBase > | BaseClass |
Public Types inherited from iqtgui::TDesignSchemaHandlerWrap< Base > | |
| typedef Base | BaseClass |
Public Types inherited from ibase::CCumulatedProgressManagerBase | |
| enum class | TaskStatus { Created , Running , Finished } |
Protected Slots | |
| void | on_CancelButton_clicked () |
Protected Member Functions | |
| virtual void | OnProgressChanged (double cumulatedValue) override |
| virtual void | OnTasksChanged () override |
| virtual void | OnGuiCreated () override |
| Called just after GUI is initialized. | |
Protected Member Functions inherited from iqtgui::CGuiComponentBase | |
| virtual void | OnGuiDesignChanged () |
| virtual void | OnGuiShown () |
| Called from widget event filter when slave widget is shown. | |
| virtual void | OnGuiHidden () |
| Called from widget event filter when slave widget is hidden. | |
| virtual bool | OnKeyPressed (QKeyEvent *event) |
| Called from widget event filter when key is pressed. | |
| virtual void | OnRetranslate () |
| Called when non-GUI elements (like commands) should be retranslated. | |
| virtual void | OnGuiRetranslate () |
| Called from widget event filter when GUI should be retranslated. | |
| virtual void | OnGuiDestroyed () |
| Called just before GUI is released. | |
| void | SetStatusIcon (const QIcon &icon) |
| Set status icon;. | |
| void | SetStatusText (const QString &text) |
| Set status text;. | |
| void | SetDefaultVisualStatus () |
| virtual void | OnLanguageChanged () override |
| virtual void | OnDesignSchemaChanged (const QByteArray &themeId) override |
| virtual bool | eventFilter (QObject *sourcePtr, QEvent *eventPtr) override |
| virtual void | OnComponentCreated () override |
| virtual void | OnComponentDestroyed () override |
Protected Member Functions inherited from iqtgui::CIconProvider | |
| virtual QIcon | CreateIcon (const QString &iconName) const |
Protected Member Functions inherited from ibase::CCumulatedProgressManagerBase | |
| virtual void | OpenTask (TaskBase *taskPtr, const TaskInfo &taskInfo, double weight, bool isCancelable) |
| virtual void | CloseTask (TaskBase *taskPtr) |
| virtual void | ReportTaskProgress (TaskBase *taskPtr, double progress, TaskStatus taskStatus) |
| void | TryUpdateCumulatedProgress () |
Additional Inherited Members | |
Public Member Functions inherited from iqtgui::TGuiComponentBase< WidgetType > | |
| TGuiComponentBase () | |
| virtual WidgetType * | GetQtWidget () const |
| virtual QWidget * | CreateQtWidget (QWidget *parentPtr) override |
| Create slave widget object. | |
Public Member Functions inherited from iqtgui::CGuiComponentBase | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, IVisualStatus, ExtractVisualStatus) | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, istd::IChangeable, ExtractVisualStatus) | |
| I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, imod::IModel, ExtractVisualStatus) | |
| CGuiComponentBase () | |
| bool | IsGuiShown () const |
| virtual bool | IsGuiCreated () const override |
| Checks if the GUI has been initialized and created. | |
| virtual bool | CreateGui (QWidget *parentPtr) override |
| Initializes the GUI and connects it to the parent widget. | |
| virtual bool | DestroyGui () override |
| Releases GUI resources and disconnects from the parent. | |
| virtual QWidget * | GetWidget () const override |
| Gets access to the internal QWidget object. | |
| virtual void | OnTryClose (bool *ignoredPtr=NULL) override |
| Called when the application is attempting to close. | |
Public Member Functions inherited from iqtgui::TDesignSchemaHandlerWrap< Base > | |
| TDesignSchemaHandlerWrap () | |
| virtual void | EnableDesignHandler (bool enable=true) |
| If enabled, listen to the design schema change events from the application context. | |
Public Member Functions inherited from iqtgui::CIconProvider | |
| virtual QIcon | GetIcon (const QString &iconName) const |
| virtual QString | GetIconPath (const QString &iconName) const |
| virtual QString | GetStyleSheetPath (const QString &styleSheetPath) const |
| QByteArray | GetCurrentThemeId () const |
| void | SetThemeId (const QByteArray &themeId) |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Public Member Functions inherited from ibase::CCumulatedProgressManagerBase | |
| CCumulatedProgressManagerBase (const TaskInfo &defaultTaskInfo={"", ""}) | |
| Create cumulated progress manager. | |
| virtual | ~CCumulatedProgressManagerBase () |
| void | SetDefaultTaskInfo (const TaskInfo &defaultTaskInfo) |
| Set information of the default task. | |
| double | GetCumulatedProgress () const |
| Get final progress beeing result of all task progress. | |
| std::vector< TaskProgressInfo > | GetProcessedTasks (bool preferSorted=false, int maxCount=-1) const |
| Get list of current processed tasks. | |
| bool | IsCancelable () const |
| virtual bool | IsCanceled () const |
| void | SetCanceled (bool state=true) |
| virtual void | ResetProgressManager () override |
| Reset progress manager and make it possible to reuse it. | |
| std::unique_ptr< IProgressManager > | CreateSubtaskManager (const QByteArray &taskId, const QString &taskDescription, double weight=1.0) override |
| Create progress manager for the subtask. | |
| virtual std::unique_ptr< IProgressLogger > | StartProgressLogger (bool isCancelable=false, const QString &description={}) override |
| Create progress logger. | |
Protected Attributes inherited from iqtgui::CGuiComponentBase | |
| imod::TModelWrap< VisualStatus > | m_visualStatus |
Definition at line 16 of file CProgressManagerGuiComp.h.
| typedef iqtgui::TDesignerGuiCompBase<Ui::CProgressManagerGuiComp> iqtgui::CProgressManagerGuiComp::BaseClass |
Definition at line 23 of file CProgressManagerGuiComp.h.
Definition at line 24 of file CProgressManagerGuiComp.h.
|
protectedslot |
|
overrideprotectedvirtual |
Called just after GUI is initialized.
Reimplemented from iqtgui::CGuiComponentBase.
|
overrideprotectedvirtual |
Reimplemented from ibase::CCumulatedProgressManagerBase.
|
overrideprotectedvirtual |
Reimplemented from ibase::CCumulatedProgressManagerBase.