Photosine 0.5
Loading...
Searching...
No Matches

#include <ProgressDialog.h>

Inheritance diagram for ProgressDialog:

Public Member Functions

 ProgressDialog ()
 ~ProgressDialog ()
void handleAsyncUpdate () override
void resized () override
void paint (juce::Graphics &g) override
void setDisplayText (juce::String newText)
void setProgressText (juce::String newText)
void setCancelButtonVisible (CancelCallback callbackFunction)
void setProgress (double newProgress)
 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProgressDialog)

Public Attributes

juce::String text = ""
juce::String nextDisplayText = ""
juce::String nextProgressText = ""
std::unique_ptr< juce::ProgressBar > progressBar
juce::TextButton cancelButton
double progress = -1
double nextProgress = -1
std::mutex progressMutex
CancelCallback cancelCallback

Constructor & Destructor Documentation

◆ ProgressDialog()

ProgressDialog::ProgressDialog ( )
inline

◆ ~ProgressDialog()

ProgressDialog::~ProgressDialog ( )
inline

Member Function Documentation

◆ handleAsyncUpdate()

void ProgressDialog::handleAsyncUpdate ( )
inlineoverride

◆ JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR()

ProgressDialog::JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR ( ProgressDialog )

◆ paint()

void ProgressDialog::paint ( juce::Graphics & g)
inlineoverride

◆ resized()

void ProgressDialog::resized ( )
inlineoverride

◆ setCancelButtonVisible()

void ProgressDialog::setCancelButtonVisible ( CancelCallback callbackFunction)
inline

◆ setDisplayText()

void ProgressDialog::setDisplayText ( juce::String newText)
inline

◆ setProgress()

void ProgressDialog::setProgress ( double newProgress)
inline

◆ setProgressText()

void ProgressDialog::setProgressText ( juce::String newText)
inline

Member Data Documentation

◆ cancelButton

juce::TextButton ProgressDialog::cancelButton

◆ cancelCallback

CancelCallback ProgressDialog::cancelCallback

◆ nextDisplayText

juce::String ProgressDialog::nextDisplayText = ""

◆ nextProgress

double ProgressDialog::nextProgress = -1

◆ nextProgressText

juce::String ProgressDialog::nextProgressText = ""

◆ progress

double ProgressDialog::progress = -1

◆ progressBar

std::unique_ptr<juce::ProgressBar> ProgressDialog::progressBar

◆ progressMutex

std::mutex ProgressDialog::progressMutex

◆ text

juce::String ProgressDialog::text = ""

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