KiCad PCB EDA Suite
Loading...
Searching...
No Matches
APP_PROGRESS_DIALOG Class Reference

wxProgressDialog with the option to also update the application progress on the taskbar More...

#include <app_progress_dialog.h>

Inheritance diagram for APP_PROGRESS_DIALOG:

Public Member Functions

 APP_PROGRESS_DIALOG (const wxString &aTitle, const wxString &aMessage, int aMaximum=100, wxWindow *aParent=nullptr, bool aIndeterminateTaskBarStatus=false, int aStyle=wxPD_APP_MODAL|wxPD_AUTO_HIDE)
 
virtual bool Update (int aValue, const wxString &aNewMsg=wxEmptyString, bool *aSkip=nullptr) override
 

Private Attributes

wxAppProgressIndicator m_appProgressIndicator
 
bool m_indeterminateTaskBarStatus
 

Detailed Description

wxProgressDialog with the option to also update the application progress on the taskbar

Definition at line 33 of file app_progress_dialog.h.

Constructor & Destructor Documentation

◆ APP_PROGRESS_DIALOG()

APP_PROGRESS_DIALOG::APP_PROGRESS_DIALOG ( const wxString &  aTitle,
const wxString &  aMessage,
int  aMaximum = 100,
wxWindow *  aParent = nullptr,
bool  aIndeterminateTaskBarStatus = false,
int  aStyle = wxPD_APP_MODAL | wxPD_AUTO_HIDE 
)

Definition at line 28 of file app_progress_dialog.cpp.

References m_appProgressIndicator, and m_indeterminateTaskBarStatus.

Member Function Documentation

◆ Update()

bool APP_PROGRESS_DIALOG::Update ( int  aValue,
const wxString &  aNewMsg = wxEmptyString,
bool *  aSkip = nullptr 
)
overridevirtual

Member Data Documentation

◆ m_appProgressIndicator

wxAppProgressIndicator APP_PROGRESS_DIALOG::m_appProgressIndicator
private

Definition at line 45 of file app_progress_dialog.h.

Referenced by APP_PROGRESS_DIALOG(), and Update().

◆ m_indeterminateTaskBarStatus

bool APP_PROGRESS_DIALOG::m_indeterminateTaskBarStatus
private

Definition at line 46 of file app_progress_dialog.h.

Referenced by APP_PROGRESS_DIALOG(), and Update().


The documentation for this class was generated from the following files: