add of fiche button
This commit is contained in:
+10
-4
@@ -21,24 +21,28 @@ public:
|
||||
~MainWindow();
|
||||
|
||||
void loadImage(QString fileName);
|
||||
void createNewCharacter(Character* p);
|
||||
void createNewCharacter(Character* p, QString s = QString());
|
||||
void loadNewCharacter();
|
||||
void saveJson();
|
||||
void saveAsJson();
|
||||
void getUi();
|
||||
void setUi(Character* p);
|
||||
void toogleBackPack();
|
||||
void addWindow(const QString& s = QString());
|
||||
QString extractFileName(QString s);
|
||||
void changeCurrentChracter();
|
||||
|
||||
private slots:
|
||||
void on_actionBlocNote_triggered();
|
||||
void on_actionOuvrir_une_fiche_triggered();
|
||||
void on_actionNouvelle_fiche_triggered();
|
||||
void on_actionSauvegarder_triggered();
|
||||
void on_actionEnregistrer_sous_triggered();
|
||||
void on_actionFermer_triggered();
|
||||
void on_actionBackPack_triggered();
|
||||
|
||||
void on_imagePushButton_clicked();
|
||||
void recevoirSauvegarde(QString contenu);
|
||||
void on_actionBloc_note_triggered();
|
||||
void on_actionCaract_ristiques_triggered();
|
||||
void changer_fiche_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
@@ -47,6 +51,8 @@ private:
|
||||
bool edition = true;
|
||||
QString currentFile;
|
||||
QList<Character*> characters;
|
||||
QList<QString> files;
|
||||
Character* currentCharacter;
|
||||
int idFicheButtonCounter = 0;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user