Debian Codegraph @

src/toplevel.h

raw symbols SCIP
1 // Version: $Id $cxx . . $ `<file>/src/toplevel.h`/
2 /***************************************************************************
3 * Copyright (C) 2002-2003 Andi Peredri *
4 * [email protected] *
5 * Copyright (C) 2004-2005 Artur Wiebe *
6 * [email protected] *
7 * *
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
12 * *
13 * This program is distributed in the hope that it will be useful, *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16 * GNU General Public License for more details. *
17 * *
18 * You should have received a copy of the GNU General Public License *
19 * along with this program; if not, write to the *
20 * Free Software Foundation, Inc., *
21 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
22 ***************************************************************************/
23 #ifndef _TOPLEVEL_H_
24 #define _TOPLEVEL_H_cxx . . $ `src/toplevel.h:24:9`!
25
26 #include <QMainWindow>
27 #include <QAction>
28 #include <QMap>
29 #include <QTextEdit>
30
31 #include "history.h"cxx . . $ `<file>/src/history.h`/
32
33 class myViewcxx . . $ myView#;
34 class myNewGameDlgcxx . . $ myNewGameDlg#;
35
36
37 class myTopLevelcxx . . $ myTopLevel# : public QMainWindowcxx . . $ QMainWindow#
38 {
39 Q_OBJECTcxx . . $ QMetaObject#Call#
40
41 public:
42 myTopLevelcxx . . $ myTopLevel#myTopLevel(49f6e7a06ebc5aa8).();
43
44 void opencxx . . $ myTopLevel#open(3520e46b33348bf6).(const QStringcxx . . $ QString#& filename);
45
46 myHistorycxx . . $ myHistory#* get_historycxx . . $ myTopLevel#get_history(af936538a136922a).() const;
47 void clear_logcxx . . $ myTopLevel#clear_log(49f6e7a06ebc5aa8).();
48 void append_logcxx . . $ myTopLevel#append_log(3520e46b33348bf6).(const QStringcxx . . $ QString#&);
49
50 protected:
51 void closeEventcxx . . $ myTopLevel#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent#*);
52
53 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
54 void slot_helpcxx . . $ myTopLevel#slot_help(49f6e7a06ebc5aa8).();
55 void slot_aboutcxx . . $ myTopLevel#slot_about(49f6e7a06ebc5aa8).();
56
57 void slot_new_gamecxx . . $ myTopLevel#slot_new_game(49f6e7a06ebc5aa8).();
58 void slot_open_gamecxx . . $ myTopLevel#slot_open_game(49f6e7a06ebc5aa8).();
59 void slot_save_gamecxx . . $ myTopLevel#slot_save_game(49f6e7a06ebc5aa8).();
60 void slot_next_roundcxx . . $ myTopLevel#slot_next_round(49f6e7a06ebc5aa8).();
61
62 void slot_notationcxx . . $ myTopLevel#slot_notation(b45ddcbc8423892c).(bool);
63 void slot_notation_fontcxx . . $ myTopLevel#slot_notation_font(49f6e7a06ebc5aa8).();
64
65 void slot_workingcxx . . $ myTopLevel#slot_working(b45ddcbc8423892c).(bool);
66
67 void set_themecxx . . $ myTopLevel#set_theme(92b1e80c0a7f1406).(QActioncxx . . $ QAction#*);
68
69 void warningcxx . . $ myTopLevel#warning(3520e46b33348bf6).(const QStringcxx . . $ QString#& text);
70
71
72 private:
73 void make_actionscxx . . $ myTopLevel#make_actions(49f6e7a06ebc5aa8).();
74 void make_central_widgetcxx . . $ myTopLevel#make_central_widget(49f6e7a06ebc5aa8).();
75 void restore_settingscxx . . $ myTopLevel#restore_settings(49f6e7a06ebc5aa8).();
76 void store_settingscxx . . $ myTopLevel#store_settings(49f6e7a06ebc5aa8).();
77
78 void make_dockscxx . . $ myTopLevel#make_docks(49f6e7a06ebc5aa8).();
79 QDockWidgetcxx . . $ QDockWidget#* make_dockcxx . . $ myTopLevel#make_dock(fef18df664ed20e8).(const QStringcxx . . $ QString#&, const QStringcxx . . $ QString#&, Qtcxx . . $ Qt/::DockWidgetAreacxx . . $ Qt/DockWidgetArea#, QWidgetcxx . . $ QWidget#*);
80
81 // add themes to this menu.
82 void read_themescxx . . $ myTopLevel#read_themes(726c7baffdc25e5e).(QActionGroupcxx . . $ QActionGroup#*, QMenucxx . . $ QMenu#*, const QStringcxx . . $ QString#& path);
83
84 void informationcxx . . $ myTopLevel#information(c1427772cd1877b0).(const QStringcxx . . $ QString#& caption, const QStringcxx . . $ QString#& text);
85
86 // returns true if the user wishes to keep current game
87 bool keep_gamecxx . . $ myTopLevel#keep_game(c9857a73d68e59ba).();
88
89 private:
90 QMenucxx . . $ QMenu#* viewMenucxx . . $ myTopLevel#viewMenu.;
91 //
92 QActioncxx . . $ QAction#* gameNewcxx . . $ myTopLevel#gameNew.;
93 QActioncxx . . $ QAction#* gameStopcxx . . $ myTopLevel#gameStop.;
94 QActioncxx . . $ QAction#* gameOpencxx . . $ myTopLevel#gameOpen.;
95 QActioncxx . . $ QAction#* gameSavecxx . . $ myTopLevel#gameSave.;
96 QActioncxx . . $ QAction#* gameNextRoundcxx . . $ myTopLevel#gameNextRound.;
97 //
98 QActioncxx . . $ QAction#* viewNotationcxx . . $ myTopLevel#viewNotation.;
99 QActioncxx . . $ QAction#* viewNotationAbovecxx . . $ myTopLevel#viewNotationAbove.;
100 //
101 QActioncxx . . $ QAction#* settingsKeepcxx . . $ myTopLevel#settingsKeep.;
102 QActioncxx . . $ QAction#* settingsClearLogcxx . . $ myTopLevel#settingsClearLog.;
103
104 QStringcxx . . $ QString# filenamecxx . . $ myTopLevel#filename.; // PDN File Name
105
106 myViewcxx . . $ myView#* m_viewcxx . . $ myTopLevel#m_view.;
107 myNewGameDlgcxx . . $ myNewGameDlg#* m_newgamecxx . . $ myTopLevel#m_newgame.;
108
109 myHistorycxx . . $ myHistory#* m_historycxx . . $ myTopLevel#m_history.;
110 QTextEditcxx . . $ QTextEdit#* m_logcxx . . $ myTopLevel#m_log.;
111 QDockWidgetcxx . . $ QDockWidget#* m_history_dockcxx . . $ myTopLevel#m_history_dock.;
112 QDockWidgetcxx . . $ QDockWidget#* m_log_dockcxx . . $ myTopLevel#m_log_dock.;
113
114 typedef QMapcxx . . $ QMap#<QActioncxx . . $ QAction#*, QStringcxx . . $ QString#> myThemeMapcxx . . $ myTopLevel#myThemeMap#;
115 myThemeMapcxx . . $ myTopLevel#myThemeMap# m_themescxx . . $ myTopLevel#m_themes.;
116 };
117
118 #endif
119