Commit 8b4495e9 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE #42] tooltips are sentence style capitalization.

parent e619698c
......@@ -275,7 +275,7 @@ void WMainWindow::setupGUI()
m_loadButton->setToolTip( "Load a dataset from file" );
resetButton->setToolTip( "Reset main view" );
roiButton->setToolTip( "Create New ROI" );
roiButton->setToolTip( "Create new ROI" );
projectLoadButton->setToolTip( "Load a project from file" );
projectSaveButton->setToolTip( "Save current project to file" );
......@@ -429,19 +429,19 @@ void WMainWindow::setupGUI()
// create the show/hide actions using the selection manager's props
WQtPropertyBoolAction* showAxial = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropAxialShow(),
m_permanentToolBar );
showAxial->setToolTip( "Toggle Axial Slice" );
showAxial->setToolTip( "Toggle axial slice" );
showAxial->setText( "Toggle Axial Slice" );
showAxial->setIcon( m_iconManager.getIcon( "axial icon" ) );
WQtPropertyBoolAction* showCoronal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropCoronalShow(),
m_permanentToolBar );
showCoronal->setToolTip( "Toggle Coronal Slice" );
showCoronal->setToolTip( "Toggle coronal slice" );
showCoronal->setText( "Toggle Coronal Slice" );
showCoronal->setIcon( m_iconManager.getIcon( "coronal icon" ) );
WQtPropertyBoolAction* showSagittal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropSagittalShow(),
m_permanentToolBar );
showSagittal->setToolTip( "Toggle Sagittal Slice" );
showSagittal->setToolTip( "Toggle sagittal slice" );
showSagittal->setText( "Toggle Sagittal Slice" );
showSagittal->setIcon( m_iconManager.getIcon( "sagittal icon" ) );
......
......@@ -131,9 +131,9 @@ WQtGLScreenCapture::WQtGLScreenCapture( WGEViewer::SPtr viewer, WMainWindow* par
m_screenshotWidget->setLayout( screenshotLayout );
m_screenshotButton = new QPushButton( "Screenshot" );
m_screenshotButton->setToolTip( "Take a screenshot of the 3D view." );
m_screenshotButton->setToolTip( "Take a screenshot of the 3D view" );
m_screenshotAction = new QAction( parent->getIconManager()->getIcon( "image" ), "Screenshot", this );
m_screenshotAction->setToolTip( "Take a screenshot of the 3D view." );
m_screenshotAction->setToolTip( "Take a screenshot of the 3D view" );
m_screenshotAction->setShortcut( QKeySequence( Qt::Key_F12 ) );
m_screenshotAction->setShortcutContext( Qt::ApplicationShortcut );
connect( m_screenshotAction, SIGNAL( triggered( bool ) ), this, SLOT( screenShot() ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment