• Main Page
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

C:/Users/David/Documents/QtProjects/visualsc/app/mainwindow.h

Go to the documentation of this file.
00001 /*
00002     visualsc - Visual State Chart Editing for SCXML State Engines
00003     Copyright (C) 2011  David W. Drell (david@davidwdrell.net) and
00004     Contributing Authors:
00005 
00006 
00007     This program is free software: you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation, either version 3 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 #ifndef MAINWINDOW_H
00022 #define MAINWINDOW_H
00023 
00024 #include <QMainWindow>
00025 #include "smproject.h"
00026 #include <QString>
00027 #include "textformattoolbar.h"
00028 
00029 class SCFormView;
00030 
00031 class QSettings;
00032 
00033 namespace Ui {
00034     class MainWindow;
00035 }
00036 
00037 class MainWindow : public QMainWindow
00038 {
00039     Q_OBJECT
00040 
00041 public:
00042     explicit MainWindow(QWidget *parent = 0);
00043     ~MainWindow();
00044 
00045 private:
00046     Ui::MainWindow *ui;
00047 
00048     SMProject *_project;
00049     QSettings *_settings;
00050     static QString _keyLastFilePath;
00051     SCFormView *_formEditorWindow;
00052     TextFormatToolBar *_textFormatToolBar;
00053 
00054 private slots:
00055     void handleFileOpenClick();
00056     void handleFileSaveClick();
00057     void handleNewClick();
00058     void handleReadInputFileDone(bool,QStringList);
00059 };
00060 
00061 #endif // MAINWINDOW_H

Generated on Mon Sep 26 2011 06:59:24 for visualsc by  doxygen 1.7.1