src/mainwindow.cpp

changeset 1322
d8935cdb24c0
parent 1319
39d7a9642eea
child 1323
05b3e173c900
equal deleted inserted replaced
1321:413d7be6f042 1322:d8935cdb24c0
48 Toolset* object; 48 Toolset* object;
49 }; 49 };
50 50
51 // --------------------------------------------------------------------------------------------------------------------- 51 // ---------------------------------------------------------------------------------------------------------------------
52 // 52 //
53 MainWindow::MainWindow(class Configuration& config, QWidget* parent, Qt::WindowFlags flags) : 53 MainWindow::MainWindow(QWidget* parent, Qt::WindowFlags flags) :
54 QMainWindow (parent, flags), 54 QMainWindow (parent, flags),
55 m_config(config), 55 m_config(*::config),
56 m_guiUtilities (new GuiUtilities (this)), 56 m_guiUtilities (new GuiUtilities (this)),
57 m_primitives(new PrimitiveManager(this)), 57 m_primitives(new PrimitiveManager(this)),
58 m_grid(new Grid(this)), 58 m_grid(new Grid(this)),
59 m_mathFunctions(new MathFunctions(this)), 59 m_mathFunctions(new MathFunctions(this)),
60 ui (*new Ui_MainWindow), 60 ui (*new Ui_MainWindow),

mercurial