xtd - Reference Guide
0.1.0
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. | |
xtd::drawing::color | back_color () const |
Gets the background color for the dialog. | |
busy_dialog & | back_color (const xtd::drawing::color &color) |
Sets the background color for the dialog. | |
const xtd::ustring & | description () const |
Gets the product description. | |
busy_dialog & | description (const xtd::ustring &description) |
Sets the product description. | |
xtd::forms::dialog_style | dialog_style () const |
Gets the dialog style color for the dialog. | |
busy_dialog & | dialog_style (xtd::forms::dialog_style dialog_style) |
Sets the dialog style color for the dialog. | |
xtd::drawing::color | fore_color () const |
Gets the foreground color for the dialog. | |
busy_dialog & | fore_color (const xtd::drawing::color &color) |
Sets the foreground color for the dialog. | |
void | hide () |
Hides busy dialog box. | |
xtd::drawing::icon | icon () const |
Gets the product icon. | |
busy_dialog & | icon (const xtd::drawing::bitmap &bitmap) |
Sets the product icon. | |
busy_dialog & | icon (const xtd::drawing::icon &icon) |
Sets the product icon. | |
busy_dialog & | icon (const xtd::drawing::image &image) |
Sets the product icon. | |
double | opacity () const |
Gets the dialog opacity. | |
busy_dialog & | opacity (double opacity) |
Gets the dialog opacity. | |
void | reset () |
Resets all properties to empty string. | |
void | show () |
Runs busy dialog box. | |
void | show (const iwin32_window &owner) |
Runs busy dialog box. | |
const xtd::ustring & | text () const |
Gets the dialog title. | |
busy_dialog & | text (const xtd::ustring &text) |
Sets the dialog title. | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. | |
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. | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
Protected Member Functions inherited from xtd::forms::component | |
component ()=default | |
Initialises a new instance of the component class. | |
virtual bool | can_raise_events () const |
Gets a value indicating whether the component can raise an event. | |
bool | design_mode () const |
Gets a value that indicates whether the component is currently in design mode. | |
|
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 |
|
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 |
|
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 |
|
inline |