Boost.UI
User Interface Boost library
dialog.hpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Kolya Kosenko
2 
3 // Distributed under the Boost Software License, Version 1.0.
4 // See http://www.boost.org/LICENSE_1_0.txt
5 
7 
8 #ifndef BOOST_UI_DIALOG_HPP
9 #define BOOST_UI_DIALOG_HPP
10 
11 #include <boost/ui/config.hpp>
12 
13 #ifdef BOOST_HAS_PRAGMA_ONCE
14 #pragma once
15 #endif
16 
17 #include <boost/ui/window.hpp>
18 
19 namespace boost {
20 namespace ui {
21 
28 
29 class BOOST_UI_DECL dialog : public window
30 {
31 public:
32  dialog() {}
33 
35  explicit dialog(const uistring& title)
36  { create(title); }
37  dialog& create(const uistring& title);
39 
40 private:
41  class detail_impl;
42 };
43 
44 } // namespace ui
45 } // namespace boost
46 
47 #endif // BOOST_UI_DIALOG_HPP
boost::ui::uistring
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
config.hpp
Configuration options.
boost::ui::dialog
Top level widget that hosts other widgets.
Definition: dialog.hpp:29
boost
Boost C++ libraries namespace.
Definition: window.hpp:19
boost::ui::dialog::dialog
dialog(const uistring &title)
Creates dialog with the title.
Definition: dialog.hpp:35
boost::ui::window
Abstract top level widget that hosts other widgets.
Definition: window.hpp:53
window.hpp
Window class.