Added a startup wizard.

This commit is contained in:
Jim Evins
2016-03-27 17:06:53 -04:00
parent 9a92c2a064
commit 5b21e8a23f
10 changed files with 326 additions and 28 deletions
+8 -13
View File
@@ -81,6 +81,13 @@ MainWindow::MainWindow()
setPasteVerbsEnabled( false );
setTitle();
connect( mView, SIGNAL(zoomChanged()), this, SLOT(onZoomChanged()) );
#if 0
connect( mView, SIGNAL(pointerMoved(double, double)),
this, SLOT(onPointerMoved(double, double)) );
connect( mView, SIGNAL(pointerExited()), this, SLOT(onPointerExit()) );
#endif
readSettings();
smWindowList.push_back( this );
@@ -603,19 +610,7 @@ void MainWindow::createToolBars()
///
void MainWindow::createStatusBar()
{
cursorInfoLabel = new QLabel;
cursorInfoLabel->setIndent( 3 );
cursorInfoLabel->setFrameStyle( QFrame::Panel | QFrame::Sunken );
statusBar()->addWidget( cursorInfoLabel, 1 );
onZoomChanged();
onPointerExit();
connect( mView, SIGNAL(zoomChanged()), this, SLOT(onZoomChanged()) );
connect( mView, SIGNAL(pointerMoved(double, double)),
this, SLOT(onPointerMoved(double, double)) );
connect( mView, SIGNAL(pointerExited()), this, SLOT(onPointerExit()) );
statusBar();
}