Translations:Development/Tutorials/Physical Simulation/102/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 17:41, 19 July 2019
FallingBall::FallingBall(QWidget *parent) : KXmlGuiWindow(parent) {
master = new QWidget(); xyPlot = new KPlotWidget(); logic = new BallLogic(); ballGraph = new BallGraph(logic, xyPlot); QHBoxLayout *layout = new QHBoxLayout; layout->addWidget(ballGraph); layout->addWidget(xyPlot); master->setLayout(layout); setCentralWidget(master); setupGUI();