[AppManagement] Getting through previus windows by list

* removed first main window as first window in call app
* moved window switching to application from window
This commit is contained in:
Adam Dobrowolski
2020-01-02 13:58:30 +01:00
committed by pholat
parent 2406e06a3d
commit 26a98bce1e
26 changed files with 261 additions and 170 deletions

View File

@@ -23,13 +23,12 @@
namespace gui {
NotesMainWindow::NotesMainWindow( app::Application* app ) :
AppWindow(app,"MainWindow"),
notesModel{ new NotesModel( app ) }{
setSize( 480, 600 );
NotesMainWindow::NotesMainWindow(app::Application *app) : AppWindow(app, gui::name::window::main_window), notesModel{new NotesModel(app)}
{
setSize(480, 600);
buildInterface();
}
buildInterface();
}
void NotesMainWindow::rebuild() {
destroyInterface();