// Side bar setup
QGridLayout sidebarLayout = new QGridLayout();
sidebarScene = new QGraphicsScene(this);
QLineEdit textBox = new QLineEdit();
sidebarView = new QGraphicsView(sidebarScene);
slider = new TimingSlider(scene, textBox);
slider.setFixedHeight(200);
sidebarLayout.addWidget(new QLabel("Choose\nConstraint:"), 0, 0);
sidebarLayout.addWidget(slider, 1, 0);
sidebarLayout.addWidget(textBox, 2, 0);