Translations:Development/Tutorials/Physical Simulation/32/en
FallingBall::FallingBall(QWidget *parent) : KXmlGuiWindow(parent) {
master = new QWidget(); xyPlot = new KPlotWidget(); QHBoxLayout *layout = new QHBoxLayout; layout->addWidget(xyPlot); master->setLayout(layout); setCentralWidget(master); setupGUI();