Boost.UI
User Interface Boost library
group_box.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_GROUP_BOX_HPP
9 #define BOOST_UI_GROUP_BOX_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/widget.hpp>
18 
19 namespace boost {
20 namespace ui {
21 
25 
26 class BOOST_UI_DECL group_box : public widget
27 {
28 public:
29  group_box() {}
30 
32  explicit group_box(widget& parent, const uistring& title = uistring())
33  { create(parent, title); }
34  group_box& create(widget& parent, const uistring& title = uistring());
36 
37 private:
38  class detail_impl;
39  detail_impl* get_impl();
40  const detail_impl* get_impl() const;
41 };
42 
43 } // namespace ui
44 } // namespace boost
45 
46 #endif // BOOST_UI_GROUP_BOX_HPP
boost::ui::uistring
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
config.hpp
Configuration options.
widget.hpp
Widget class.
boost::ui::group_box
Widget that groups other widgets using a frame and a title.
Definition: group_box.hpp:26
boost
Boost C++ libraries namespace.
Definition: window.hpp:19
boost::ui::group_box::group_box
group_box(widget &parent, const uistring &title=uistring())
Creates group box widget.
Definition: group_box.hpp:32
boost::ui::widget
Base class for all widgets.
Definition: widget.hpp:45