Workout Editor Smart Guides

.. just a simple indicator in the x-axis for now
   when points are selected. may extend to the y-axis
   as well.

.. lots more to come on smart guides but needs a lot
   of thought and play time.
This commit is contained in:
Mark Liversedge
2016-01-04 22:05:01 +00:00
parent 5ae5da1b0f
commit f971ccff4b
4 changed files with 145 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ WorkoutWindow::WorkoutWindow(Context *context) :
// selection tool
rect = new WWRect(workout);
// guides always on top!
guide = new WWSmartGuide(workout);
// setup the toolbar
toolbar = new QToolBar(this);
toolbar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);