Q4Wine  2.0
Q4Wine is a Qt GUI for Wine.
mainwindow.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2008-2016 by Alexey S. Malakhov <brezerk@gmail.com> *
3  * *
4  * This program is free software: you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation, either version 3 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
16  * *
17  ***************************************************************************/
18 
19 #pragma once
20 
21 #include <gtkmm.h>
22 
23 class MainWindow : public Gtk::Window {
24  public:
25  explicit MainWindow(BaseObjectType* cobject,
26  const Glib::RefPtr<Gtk::Builder>& builder);
27  virtual ~MainWindow();
28 
29  private:
30  // Signal handlers:
31  void on_action_file_run();
32  void on_action_file_quit();
33  void on_action_file_preferences();
34  void on_action_tool_desktop();
35  protected:
36  Glib::RefPtr<Gtk::Builder> builder_;
37  Gtk::Statusbar* statusBar_;
38 };
Glib::RefPtr< Gtk::Builder > builder_
Definition: mainwindow.hpp:36
MainWindow(BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &builder)
Definition: mainwindow.cpp:23
virtual ~MainWindow()
Definition: mainwindow.cpp:36
Definition: mainwindow.hpp:23
Gtk::Statusbar * statusBar_
Definition: mainwindow.hpp:37