ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/mainwindow.h
(Generate patch)

Comparing Vago/trunk/Vago/mainwindow.h (file contents):
Revision 1052 by s10k, Sat Sep 17 13:32:34 2016 UTC vs.
Revision 1054 by s10k, Wed Oct 12 21:35:13 2016 UTC

# Line 7 | Line 7
7   #include "about.h"
8   #include "packagewizard.h"
9   #include "soundwizard.h"
10 + #include "bgimagewizard.h"
11   #include "converter.h"
12   #include "droptablewidget.h"
13  
# Line 53 | Line 54 | protected:
54      void closeEvent(QCloseEvent *event);
55  
56   private slots:
57 +    void applicationWasLoaded();
58 +
59      void on_actionExit_triggered();
60  
61      void on_actionAbout_triggered();
# Line 191 | Line 194 | private slots:
194  
195      void on_actionProject5_triggered();
196  
197 +    void on_actionBackground_Image_Wizard_triggered();
198 +
199 +    void on_actionNew_Project_triggered();
200 +
201   private:
202      Ui::MainWindow *ui;
203      Logger *myLogger;
# Line 208 | Line 215 | private:
215      QProgressBar *myBar; //Progress Bar
216      QHash<QString, QString> commandMap; //Map the commands for fast retreive
217      QStringList *listToProccess; //items to proccess
218 <    Converter *myConverter;
218 >    Converter *myConverter = nullptr;
219      QSettings *vagoSettings;
220      static const QString VagoSettingsName;
221      static constexpr int recentProjectsMaxSize=5;
# Line 218 | Line 225 | private:
225      QWinTaskbarProgress *win7TaskBarProgress;
226      QWinTaskbarButton *win7TaskBarButton;
227   #endif
228 +    bool unsavedChangesExist = false;
229 +    // Indicates that the application is fully loaded which includes painting the main window
230 +    bool applicationIsFullyLoaded = false;
231  
232      // anonymous enum
233      enum {XMLTabIndex, TexturesTabIndex, CharactersTabIndex, ObjectsTabIndex, LevelsTabIndex, MiscTabIndex};
# Line 246 | Line 256 | private:
256      void addNewRecentProject(const QString &filePath);
257      void reloadRecentProjectsMenu();
258      void showEvent(QShowEvent *e);
259 +    void rowsWereChangedInDropTableWidget();
260      QString getFileOutputFolder(QString fromTo, QString myOutputFolder="");
261      QString fileParsingXML(QString tabTitle, QString myOutputFolder, QString from, QString to , QString file);
262      QString fileParsingTextures(QString tabTitle, QString myOutputFolder, QString from, QString to , QString file);
# Line 263 | Line 274 | private:
274      DropTableWidget *getCurrentTableWidget();
275      DropTableWidget* getTableWidgetByTabName(const QString &tabName);
276      QList<DropTableWidget*> getAllTableWidgets();
277 +    QMessageBox::StandardButton askToSaveCurrentProject();
278  
279   signals:
280      void terminateCurrProcess();
281 +    void signalAppIsLoaded();
282   };
283  
284   #endif // MAINWINDOW_H

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)