libt3widget
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
mainwindow.h
1 /* Copyright (C) 2011-2012 G.P. Halkes
2  This program is free software: you can redistribute it and/or modify
3  it under the terms of the GNU General Public License version 3, as
4  published by the Free Software Foundation.
5 
6  This program is distributed in the hope that it will be useful,
7  but WITHOUT ANY WARRANTY; without even the implied warranty of
8  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9  GNU General Public License for more details.
10 
11  You should have received a copy of the GNU General Public License
12  along with this program. If not, see <http://www.gnu.org/licenses/>.
13 */
14 #ifndef T3_WIDGET_MAINWINDOW_H
15 #define T3_WIDGET_MAINWINDOW_H
16 
17 #include <t3widget/interfaces.h>
18 #include <t3widget/dialogs/dialog.h>
19 
20 namespace t3_widget {
21 
30 class T3_WIDGET_API main_window_base_t : public dialog_t {
31  private:
35  void set_size_real(int height, int width);
36  protected:
38  main_window_base_t(void);
39  virtual void close(void);
40 
41  public:
42  virtual void update_contents(void);
43  virtual bool set_size(optint height, optint width);
44  virtual void set_position(optint top, optint left);
45  virtual void show(void);
46 };
47 
48 }; // namespace
49 #endif
Base class for the application's main window.
Definition: mainwindow.h:30
Class defining values with a separate validity check.
Definition: util.h:29
Base class for dialogs.
Definition: dialog.h:27