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 <about_dialog.h>
Represents a dialog box that displays about dialog.
Windows | macOS | Gnome | |
---|---|---|---|
Light | |||
Dark |
Inherits xtd::forms::component.
Public Types | |
using | artist_collection = xtd::forms::layout::arranged_element_collection< xtd::ustring > |
Represents a artist collection. More... | |
using | author_collection = xtd::forms::layout::arranged_element_collection< xtd::ustring > |
Represents a author collection. More... | |
using | documenter_collection = xtd::forms::layout::arranged_element_collection< xtd::ustring > |
Represents a documenter collection. More... | |
using | translator_collection = xtd::forms::layout::arranged_element_collection< xtd::ustring > |
Represents a translator collection. More... | |
Public Member Functions | |
about_dialog ()=default | |
Initializes a new instance of the about_dialog class. More... | |
artist_collection & | artists () |
Gets the artists array. More... | |
const artist_collection & | artists () const |
Gets the artists array. More... | |
about_dialog & | artists (const artist_collection &artists) |
Sets the artists array. More... | |
author_collection & | authors () |
Gets the authors array. More... | |
const author_collection & | authors () const |
Gets the authors array. More... | |
about_dialog & | authors (const author_collection &authors) |
Sets the authors array. More... | |
xtd::ustring | copyright () const |
Gets the product copyright. More... | |
about_dialog & | copyright (const xtd::ustring ©right) |
Sets the product description. More... | |
xtd::ustring | description () const |
Gets the product description. More... | |
about_dialog & | description (const xtd::ustring &description) |
Sets the product description. More... | |
xtd::forms::dialog_style | dialog_style () const |
Gets the dialog style. More... | |
about_dialog & | dialog_style (xtd::forms::dialog_style dialog_style) |
Sets the dialog style. More... | |
documenter_collection & | documenters () |
Gets the artists array. More... | |
const documenter_collection & | documenters () const |
Gets the documentation writers array. More... | |
about_dialog & | documenters (const documenter_collection &documenters) |
Sets the documenters array. More... | |
xtd::drawing::icon | icon () const |
Gets the product icon. More... | |
about_dialog & | icon (const xtd::drawing::bitmap &bitmap) |
Sets the product icon. More... | |
about_dialog & | icon (const xtd::drawing::icon &icon) |
Sets the product icon. More... | |
about_dialog & | icon (const xtd::drawing::image &image) |
Sets the product icon. More... | |
xtd::ustring | license () const |
Gets the product license. More... | |
about_dialog & | license (const xtd::ustring &license) |
Sets the product license. More... | |
xtd::ustring | long_version () const |
Gets the product long version. More... | |
about_dialog & | long_version (const xtd::ustring &long_version) |
Sets the product long version. More... | |
xtd::ustring | name () const |
Gets the product name. More... | |
about_dialog & | name (const xtd::ustring &name) |
Sets the product name. More... | |
void | reset () |
Resets all properties to empty string. More... | |
void | show () |
Runs about dialog box. More... | |
void | show (const iwin32_window &owner) |
Runs about dialog box. More... | |
translator_collection & | translators () |
Gets the translators array. More... | |
const translator_collection & | translators () const |
Gets the translators array. More... | |
about_dialog & | translators (const translator_collection &translators) |
Sets the translators array. More... | |
xtd::ustring | version () const |
Gets the product version. More... | |
about_dialog & | version (const xtd::ustring &version) |
Sets the product version. More... | |
xtd::ustring | website () const |
Gets the product website. More... | |
about_dialog & | website (const xtd::ustring &website) |
Sets the product website. More... | |
xtd::ustring | website_label () const |
Gets the product website label. More... | |
about_dialog & | website_label (const xtd::ustring &website_label) |
Sets the product website label. 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... | |
using xtd::forms::about_dialog::artist_collection = xtd::forms::layout::arranged_element_collection<xtd::ustring> |
Represents a artist collection.
using xtd::forms::about_dialog::author_collection = xtd::forms::layout::arranged_element_collection<xtd::ustring> |
Represents a author collection.
using xtd::forms::about_dialog::documenter_collection = xtd::forms::layout::arranged_element_collection<xtd::ustring> |
Represents a documenter collection.
using xtd::forms::about_dialog::translator_collection = xtd::forms::layout::arranged_element_collection<xtd::ustring> |
Represents a translator collection.
|
default |
Initializes a new instance of the about_dialog class.
|
inline |
Gets the artists array.
|
inline |
Gets the artists array.
|
inline |
|
inline |
Gets the authors array.
|
inline |
Gets the authors array.
|
inline |
|
inline |
Gets the product copyright.
|
inline |
Sets the product description.
copyright | The description copyright. |
|
inline |
Gets the product description.
|
inline |
Sets the product description.
description | The product description. |
|
inline |
Gets the dialog style.
|
inline |
Sets the dialog style.
dialog_style | One of the xtd::forms::dialog_style values. The default value is xtd::forms::dialog_style::standard. |
|
inline |
Gets the artists array.
|
inline |
Gets the documentation writers array.
|
inline |
Sets the documenters array.
documenters | The documenters array. |
|
inline |
Gets the product icon.
|
inline |
|
inline |
|
inline |
|
inline |
Gets the product license.
|
inline |
|
inline |
Gets the product long version.
|
inline |
Sets the product long version.
version | The version version. |
|
inline |
Gets the product name.
|
inline |
void xtd::forms::about_dialog::reset | ( | ) |
Resets all properties to empty string.
void xtd::forms::about_dialog::show | ( | ) |
Runs about dialog box.
void xtd::forms::about_dialog::show | ( | const iwin32_window & | owner | ) |
Runs about dialog box.
|
inline |
Gets the translators array.
|
inline |
Gets the translators array.
|
inline |
Sets the translators array.
translators | The translators array. |
|
inline |
Gets the product version.
|
inline |
Sets the product version.
version | The version version. |
|
inline |
Gets the product website.
|
inline |
Sets the product website.
website | The product website. |
|
inline |
Gets the product website label.
|
inline |
Sets the product website label.
website_label | The product website label. |