--- Vago/trunk/Vago/mainwindow.h 2013/03/31 19:02:16 771 +++ Vago/trunk/Vago/mainwindow.h 2013/04/13 12:15:20 811 @@ -7,6 +7,8 @@ #include "about.h" #include "packagewizard.h" #include "soundwizard.h" +#include "converter.h" +#include "droptablewidget.h" #include #include @@ -19,17 +21,15 @@ #include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include +//#include namespace Ui { class MainWindow; @@ -45,7 +45,7 @@ public: ~MainWindow(); protected: - void closeEvent(QCloseEvent *event); + void closeEvent(QCloseEvent *event); private slots: void on_actionExit_triggered(); @@ -185,6 +185,7 @@ private slots: private: Ui::MainWindow *ui; Logger *myLogger; + QString AppDir; QString workspaceLocation; //Workspace location QString workspaceWizardsLocation; //Workspace wizard location QString outputFolder; //Output folder @@ -209,6 +210,7 @@ private: void updateItemsLoaded(DropTableWidget *currentTable); void changeToCurrentSettings(QList rows, DropTableWidget* myTable); //change some rows to the current settings void changeItemsOutput(DropTableWidget* myTable, QList rows, QString newOutput); + void setConverterButtonsSize(); QString getFileOutputFolder(QString fromTo, QString myOutputFolder=""); QString fileParsingGeneral(QString myOutputFolder, QString from, QString to , QString file); QString fileParsingTextures(QString myOutputFolder, QString from, QString to , QString file); @@ -218,6 +220,7 @@ private: QString fileParsingMisc(QString myOutputFolder, QString from, QString to , QString file); QString getCommand(DropTableWidget* myTable, QString myOutputFolder, QString from, QString to , QString file); QString getTypeConversion(DropTableWidget *myTable); //get the current type for a table + QString getOSIndependentAppPath(); }; #endif // MAINWINDOW_H