add of topFrame of edition mod

This commit is contained in:
2025-06-22 19:28:57 +02:00
parent bd23eb5793
commit 7d3f97fddd
3 changed files with 326 additions and 2 deletions
+12
View File
@@ -9,6 +9,8 @@ MainWindow::MainWindow(QWidget *parent)
Character* c = new Character();
currentCharacter = c;
characters.append(c);
ui->ageLineEdit->setValidator(new QIntValidator(0, 999999, ui->ageLineEdit));
ui->topLeftFrame->setHidden(true);
}
MainWindow::~MainWindow()
@@ -20,3 +22,13 @@ MainWindow::~MainWindow()
delete c;
}
}
void MainWindow::on_actionEditer_triggered(){
if(edition){
//Mode edition
}else{
//Mode visualisation
}
edition=!edition;
}