xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <busy_dialog.h>
Represents a dialog box that displays busy dialog.
Inherits xtd::forms::component.
Public Member Functions | |
busy_dialog ()=default | |
Initializes a new instance of the busy_dialog class. More... | |
xtd::drawing::color | back_color () const |
Gets the background color for the dialog. More... | |
busy_dialog & | back_color (const xtd::drawing::color &color) |
Sets the background color for the dialog. More... | |
const xtd::ustring & | description () const |
Gets the product description. More... | |
busy_dialog & | description (const xtd::ustring &description) |
Sets the product description. More... | |
xtd::forms::dialog_style | dialog_style () const |
Gets the dialog style color for the dialog. More... | |
busy_dialog & | dialog_style (xtd::forms::dialog_style dialog_style) |
Sets the dialog style color for the dialog. More... | |
xtd::drawing::color | fore_color () const |
Gets the foreground color for the dialog. More... | |
busy_dialog & | fore_color (const xtd::drawing::color &color) |
Sets the foreground color for the dialog. More... | |
void | hide () |
Hides busy dialog box. More... | |
xtd::drawing::icon | icon () const |
Gets the product icon. More... | |
busy_dialog & | icon (const xtd::drawing::bitmap &bitmap) |
Sets the product icon. More... | |
busy_dialog & | icon (const xtd::drawing::icon &icon) |
Sets the product icon. More... | |
busy_dialog & | icon (const xtd::drawing::image &image) |
Sets the product icon. More... | |
double | opacity () const |
Gets the dialog opacity. More... | |
busy_dialog & | opacity (double opacity) |
Gets the dialog opacity. More... | |
void | reset () |
Resets all properties to empty string. More... | |
void | show () |
Runs busy dialog box. More... | |
void | show (const iwin32_window &owner) |
Runs busy dialog box. More... | |
const xtd::ustring & | text () const |
Gets the dialog title. More... | |
busy_dialog & | text (const xtd::ustring &text) |
Sets the dialog title. More... | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. More... | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
Protected Member Functions inherited from xtd::forms::component | |
component ()=default | |
Initialises a new instance of the component class. More... | |
virtual bool | can_raise_events () const |
Gets a value indicating whether the component can raise an event. More... | |
bool | design_mode () const |
Gets a value that indicates whether the component is currently in design mode. More... | |
|
default |
Initializes a new instance of the busy_dialog class.
|
inline |
Gets the background color for the dialog.
|
inline |
Sets the background color for the dialog.
color | A xtd::drawing::color that represents the background color of the dialog. |
|
inline |
Gets the product description.
|
inline |
Sets the product description.
description | The product description. |
|
inline |
Gets the dialog style color for the dialog.
|
inline |
Sets the dialog style color for the dialog.
dialog_style | A xtd::forms::dialog_style that represents the dialog style of the dialog. |
|
inline |
Gets the foreground color for the dialog.
|
inline |
Sets the foreground color for the dialog.
color | A xtd::drawing::color that represents the foreground color of the dialog. |
void xtd::forms::busy_dialog::hide | ( | ) |
Hides busy dialog box.
|
inline |
Gets the product icon.
|
inline |
|
inline |
|
inline |
|
inline |
Gets the dialog opacity.
|
inline |
Gets the dialog opacity.
opacity | The dialog opacity. |
void xtd::forms::busy_dialog::reset | ( | ) |
Resets all properties to empty string.
void xtd::forms::busy_dialog::show | ( | ) |
Runs busy dialog box.
void xtd::forms::busy_dialog::show | ( | const iwin32_window & | owner | ) |
Runs busy dialog box.
|
inline |
Gets the dialog title.
|
inline |