xtd 0.2.0
Loading...
Searching...
No Matches
about_dialog.h
Go to the documentation of this file.
1
4#pragma once
6#include "component.h"
7#include "dialog_appearance.h"
8#include "iwin32_window.h"
9#include "tab_control.h"
10#include <xtd/drawing/icon>
11#include <xtd/reflection/assembly>
12#include <xtd/delegate>
13#include <xtd/ustring>
14
16namespace xtd {
18 namespace forms {
38 class forms_export_ about_dialog final : public component {
39 struct data;
40
41 public:
43
56
58
63
67
69
73 const artist_collection& artists() const noexcept;
76 artist_collection& artists() noexcept;
80 about_dialog& artists(const artist_collection& artists);
81
84 const author_collection& authors() const noexcept;
87 author_collection& authors() noexcept;
91 about_dialog& authors(const author_collection& authors);
92
95 xtd::ustring copyright() const noexcept;
99 about_dialog& copyright(const xtd::ustring& copyright);
100
103 xtd::ustring description() const noexcept;
107 about_dialog& description(const xtd::ustring& description);
108
111 const documenter_collection& documenters() const noexcept;
114 documenter_collection& documenters() noexcept;
118 about_dialog& documenters(const documenter_collection& documenters);
119
127
130 xtd::drawing::icon icon() const noexcept;
134 about_dialog& icon(const xtd::drawing::icon& icon);
138 about_dialog& icon(const xtd::drawing::image& image);
142 about_dialog& icon(const xtd::drawing::bitmap& bitmap);
143
146 xtd::ustring license() const noexcept;
150 about_dialog& license(const xtd::ustring& license);
151
154 xtd::ustring long_version() const noexcept;
158 about_dialog& long_version(const xtd::ustring& long_version);
159
162 xtd::ustring name() const noexcept;
166 about_dialog& name(const xtd::ustring& name);
167
170 const translator_collection& translators() const noexcept;
173 translator_collection& translators() noexcept;
177 about_dialog& translators(const translator_collection& translators);
178
182 user_tab_page_collection& user_tab_pages() noexcept;
186 const user_tab_page_collection& user_tab_pages() const noexcept;
187
190 xtd::ustring version() const noexcept;
195
198 xtd::ustring website() const noexcept;
202 about_dialog& website(const xtd::ustring& website);
203
206 xtd::ustring website_label() const noexcept;
210 about_dialog& website_label(const xtd::ustring& website_label);
212
214
217 void reset() noexcept;
218
220 void show();
223 void show(const iwin32_window& owner);
225
227
232 static about_dialog from_assembly(const xtd::reflection::assembly& assembly);
235 static about_dialog from_executing_assembly_informations();
237
238 private:
239 std::shared_ptr<data> data_;
240 };
241 }
242}
Contains xtd::forms::layout::arranged_element_collection collection.
Represents a dialog box that displays about dialog.
Definition about_dialog.h:38
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.h:23
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.h:21
Represents a collection of objects.
Definition arranged_element_collection.h:32
Represents a collection of controls.
Definition tab_control.h:42
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.h:110
Contains xtd::forms::component class.
Contains xtd::forms::dialog_appearance enum class.
#define forms_export_
Define shared library export.
Definition forms_export.h:13
control_appearance
Specifies the appearance of a control.
Definition control_appearance.h:19
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.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::tab_control container.