xtd 0.2.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_control.hpp"
10#include <xtd/drawing/icon>
11#include <xtd/reflection/assembly>
12#include <xtd/delegate>
13#include <xtd/string>
14
16namespace xtd {
18 namespace forms {
40 class forms_export_ about_dialog final : public component {
41 struct data;
42
43 public:
45
58
60
65
69
71
75 const artist_collection& artists() const noexcept;
78 artist_collection& artists() noexcept;
82 about_dialog& artists(const artist_collection& artists);
83
86 const author_collection& authors() const noexcept;
89 author_collection& authors() noexcept;
93 about_dialog& authors(const author_collection& authors);
94
97 xtd::string copyright() const noexcept;
101 about_dialog& copyright(const xtd::string& copyright);
102
105 xtd::string description() const noexcept;
109 about_dialog& description(const xtd::string& description);
110
113 const documenter_collection& documenters() const noexcept;
116 documenter_collection& documenters() noexcept;
120 about_dialog& documenters(const documenter_collection& documenters);
121
129
132 xtd::drawing::icon icon() const noexcept;
136 about_dialog& icon(const xtd::drawing::icon& icon);
140 about_dialog& icon(const xtd::drawing::image& image);
144 about_dialog& icon(const xtd::drawing::bitmap& bitmap);
145
148 xtd::string license() const noexcept;
152 about_dialog& license(const xtd::string& license);
153
156 xtd::string long_version() const noexcept;
160 about_dialog& long_version(const xtd::string& long_version);
161
164 xtd::string name() const noexcept;
168 about_dialog& name(const xtd::string& name);
169
172 const translator_collection& translators() const noexcept;
175 translator_collection& translators() noexcept;
179 about_dialog& translators(const translator_collection& translators);
180
184 user_tab_page_collection& user_tab_pages() noexcept;
188 const user_tab_page_collection& user_tab_pages() const noexcept;
189
192 xtd::string version() const noexcept;
196 about_dialog& version(const xtd::string& version);
197
200 xtd::string website() const noexcept;
204 about_dialog& website(const xtd::string& website);
205
208 xtd::string website_label() const noexcept;
212 about_dialog& website_label(const xtd::string& website_label);
214
216
219 void reset() noexcept;
220
222 void show();
225 void show(const iwin32_window& owner);
227
229
234 static about_dialog from_assembly(const xtd::reflection::assembly& assembly);
237 static about_dialog from_executing_assembly_informations();
239
240 private:
241 xtd::sptr<data> data_;
242 };
243 }
244}
Contains xtd::forms::layout::arranged_element_collection collection.
Represents a dialog box that displays about dialog.
Definition about_dialog.hpp:40
about_dialog()
Initializes a new instance of the about_dialog class.
const artist_collection & artists() const noexcept
Gets the artists array.
Provides the base implementation and enables object sharing between applications.
Definition component.hpp:25
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.hpp:23
Represents a collection of objects.
Definition arranged_element_collection.hpp:34
Represents a collection of controls.
Definition tab_control.hpp:44
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.hpp:114
Contains xtd::forms::component class.
Contains xtd::forms::dialog_appearance enum class.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
control_appearance
Specifies the appearance of a control.
Definition control_appearance.hpp:21
Contains xtd::forms::iwin32_window interface.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::tab_control container.