xtd 1.0.0
Loading...
Searching...
No Matches
about_dialog.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "component.hpp"
8#include "iwin32_window.hpp"
9#include "tab_page.hpp"
10#include "tab_control.hpp"
11#include <xtd/drawing/icon>
12#include <xtd/reflection/assembly>
13#include <xtd/delegate>
14#include <xtd/string>
15
17namespace xtd {
19 namespace forms {
42 struct data;
43
44 public:
46
59
61
66
70
72
76 [[nodiscard]] auto artists() const noexcept -> const artist_collection&;
79 [[nodiscard]] auto artists() noexcept -> artist_collection&;
83 auto artists(const artist_collection& value) -> about_dialog&;
84
87 [[nodiscard]] auto authors() const noexcept -> const author_collection&;
90 [[nodiscard]] auto authors() noexcept -> author_collection&;
94 auto authors(const author_collection& value) -> about_dialog&;
95
98 [[nodiscard]] auto copyright() const noexcept -> xtd::string;
102 auto copyright(const xtd::string& value) -> about_dialog&;
103
106 [[nodiscard]] auto description() const noexcept -> xtd::string;
110 auto description(const xtd::string& value) -> about_dialog&;
111
114 [[nodiscard]] auto documenters() const noexcept -> const documenter_collection&;
117 [[nodiscard]] auto documenters() noexcept -> documenter_collection&;
122
125 [[nodiscard]] auto dialog_appearance() const noexcept -> xtd::forms::dialog_appearance;
130
133 [[nodiscard]] auto icon() const noexcept -> xtd::drawing::icon;
137 auto icon(const xtd::drawing::icon& value) -> about_dialog&;
141 auto icon(const xtd::drawing::image& value) -> about_dialog&;
145 auto icon(const xtd::drawing::bitmap& value) -> about_dialog&;
146
149 [[nodiscard]] auto license() const noexcept -> xtd::string;
153 auto license(const xtd::string& value) -> about_dialog&;
154
157 [[nodiscard]] auto long_version() const noexcept -> xtd::string;
161 auto long_version(const xtd::string& value) -> about_dialog&;
162
165 [[nodiscard]] auto name() const noexcept -> xtd::string;
169 auto name(const xtd::string& value) -> about_dialog&;
170
173 [[nodiscard]] auto translators() const noexcept -> const translator_collection&;
176 [[nodiscard]] auto translators() noexcept -> translator_collection&;
181
185 [[nodiscard]] auto user_tab_pages() noexcept -> user_tab_page_collection&;
189 [[nodiscard]] auto user_tab_pages() const noexcept -> const user_tab_page_collection&;
190
193 [[nodiscard]] auto version() const noexcept -> xtd::string;
197 auto version(const xtd::string& value) -> about_dialog&;
198
201 [[nodiscard]] auto website() const noexcept -> xtd::string;
205 auto website(const xtd::string& value) -> about_dialog&;
206
209 [[nodiscard]] auto website_label() const noexcept -> xtd::string;
213 auto website_label(const xtd::string& value) -> about_dialog&;
215
217
220 auto reset() noexcept -> void;
221
223 auto show() -> void;
226 auto show(const iwin32_window& owner) -> void;
228
230
235 [[nodiscard]] static auto from_assembly(const xtd::reflection::assembly& assembly) -> about_dialog;
240
241 private:
242 xtd::sptr<data> data_;
243 };
244 }
245}
Contains xtd::forms::layout::arranged_element_collection collection.
auto documenters() const noexcept -> const documenter_collection &
Gets the documentation writers array.
auto icon() const noexcept -> xtd::drawing::icon
Gets the product icon.
xtd::forms::layout::arranged_element_collection< xtd::string > author_collection
Represents an author collection.
Definition about_dialog.hpp:49
auto long_version() const noexcept -> xtd::string
Gets the product long version.
auto show() -> void
Runs about dialog box.
static auto from_assembly(const xtd::reflection::assembly &assembly) -> about_dialog
Create a new xtd::forms::about_dialog from specified assembly.
auto user_tab_pages() noexcept -> user_tab_page_collection &
Gets the collection of user tab pages in this about box.
auto authors() const noexcept -> const author_collection &
Gets the authors array.
about_dialog()
Initializes a new instance of the about_dialog class.
auto description() const noexcept -> xtd::string
Gets the product description.
auto name() const noexcept -> xtd::string
Gets the product name.
tab_control::tab_page_collection user_tab_page_collection
Represents user tab page collection.
Definition about_dialog.hpp:57
auto copyright() const noexcept -> xtd::string
Gets the product copyright.
xtd::forms::layout::arranged_element_collection< xtd::string > documenter_collection
Represents a documenter collection.
Definition about_dialog.hpp:53
static auto from_executing_assembly_informations() -> about_dialog
Create a new xtd::forms::about_dialog from executing xtd::reflection::assembly informations.
auto version() const noexcept -> xtd::string
Gets the product version.
auto license() const noexcept -> xtd::string
Gets the product license.
auto translators() const noexcept -> const translator_collection &
Gets the translators array.
xtd::forms::layout::arranged_element_collection< xtd::string > artist_collection
Represents an artist collection.
Definition about_dialog.hpp:51
auto website() const noexcept -> xtd::string
Gets the product website.
auto artists() const noexcept -> const artist_collection &
Gets the artists array.
auto website_label() const noexcept -> xtd::string
Gets the product website label.
xtd::forms::layout::arranged_element_collection< xtd::string > translator_collection
Represents a translator collection.
Definition about_dialog.hpp:55
auto reset() noexcept -> void
Resets all properties to empty string.
auto dialog_appearance() const noexcept -> xtd::forms::dialog_appearance
Gets the dialog appearance.
Provides the base implementation and enables object sharing between applications.
Definition component.hpp:26
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.hpp:23
Represents a collection of objects.
Definition arranged_element_collection.hpp:41
Represents a collection of controls.
Definition tab_control.hpp:44
Contains xtd::forms::component class.
Contains xtd::forms::dialog_appearance enum class.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
Contains xtd::forms::iwin32_window interface.
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd::reflection namespace contains types that retrieve information about assemblies,...
Definition assembly.hpp:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197
Contains xtd::forms::tab_control container.
Contains xtd::forms::tab_page container.