add of topFrame of edition mod
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user