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() ...@@ -275,7 +275,7 @@ void WMainWindow::setupGUI()
m_loadButton->setToolTip( "Load a dataset from file" ); m_loadButton->setToolTip( "Load a dataset from file" );
resetButton->setToolTip( "Reset main view" ); resetButton->setToolTip( "Reset main view" );
roiButton->setToolTip( "Create New ROI" ); roiButton->setToolTip( "Create new ROI" );
projectLoadButton->setToolTip( "Load a project from file" ); projectLoadButton->setToolTip( "Load a project from file" );
projectSaveButton->setToolTip( "Save current project to file" ); projectSaveButton->setToolTip( "Save current project to file" );
...@@ -429,19 +429,19 @@ void WMainWindow::setupGUI() ...@@ -429,19 +429,19 @@ void WMainWindow::setupGUI()
// create the show/hide actions using the selection manager's props // create the show/hide actions using the selection manager's props
WQtPropertyBoolAction* showAxial = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropAxialShow(), WQtPropertyBoolAction* showAxial = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropAxialShow(),
m_permanentToolBar ); m_permanentToolBar );
showAxial->setToolTip( "Toggle Axial Slice" ); showAxial->setToolTip( "Toggle axial slice" );
showAxial->setText( "Toggle Axial Slice" ); showAxial->setText( "Toggle Axial Slice" );
showAxial->setIcon( m_iconManager.getIcon( "axial icon" ) ); showAxial->setIcon( m_iconManager.getIcon( "axial icon" ) );
WQtPropertyBoolAction* showCoronal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropCoronalShow(), WQtPropertyBoolAction* showCoronal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropCoronalShow(),
m_permanentToolBar ); m_permanentToolBar );
showCoronal->setToolTip( "Toggle Coronal Slice" ); showCoronal->setToolTip( "Toggle coronal slice" );
showCoronal->setText( "Toggle Coronal Slice" ); showCoronal->setText( "Toggle Coronal Slice" );
showCoronal->setIcon( m_iconManager.getIcon( "coronal icon" ) ); showCoronal->setIcon( m_iconManager.getIcon( "coronal icon" ) );
WQtPropertyBoolAction* showSagittal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropSagittalShow(), WQtPropertyBoolAction* showSagittal = new WQtPropertyBoolAction( WKernel::getRunningKernel()->getSelectionManager()->getPropSagittalShow(),
m_permanentToolBar ); m_permanentToolBar );
showSagittal->setToolTip( "Toggle Sagittal Slice" ); showSagittal->setToolTip( "Toggle sagittal slice" );
showSagittal->setText( "Toggle Sagittal Slice" ); showSagittal->setText( "Toggle Sagittal Slice" );
showSagittal->setIcon( m_iconManager.getIcon( "sagittal icon" ) ); showSagittal->setIcon( m_iconManager.getIcon( "sagittal icon" ) );
......
...@@ -131,9 +131,9 @@ WQtGLScreenCapture::WQtGLScreenCapture( WGEViewer::SPtr viewer, WMainWindow* par ...@@ -131,9 +131,9 @@ WQtGLScreenCapture::WQtGLScreenCapture( WGEViewer::SPtr viewer, WMainWindow* par
m_screenshotWidget->setLayout( screenshotLayout ); m_screenshotWidget->setLayout( screenshotLayout );
m_screenshotButton = new QPushButton( "Screenshot" ); 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 = 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->setShortcut( QKeySequence( Qt::Key_F12 ) );
m_screenshotAction->setShortcutContext( Qt::ApplicationShortcut ); m_screenshotAction->setShortcutContext( Qt::ApplicationShortcut );
connect( m_screenshotAction, SIGNAL( triggered( bool ) ), this, SLOT( screenShot() ) ); 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