Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
8b4495e9
Commit
8b4495e9
authored
Jan 09, 2012
by
Alexander Wiebel
Browse files
[STYLE
#42
] tooltips are sentence style capitalization.
parent
e619698c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/qt4gui/qt4/WMainWindow.cpp
src/qt4gui/qt4/WMainWindow.cpp
+4
-4
src/qt4gui/qt4/WQtGLScreenCapture.cpp
src/qt4gui/qt4/WQtGLScreenCapture.cpp
+2
-2
No files found.
src/qt4gui/qt4/WMainWindow.cpp
View file @
8b4495e9
...
...
@@ -275,7 +275,7 @@ void WMainWindow::setupGUI()
m_loadButton
->
setToolTip
(
"Load a dataset from file"
);
resetButton
->
setToolTip
(
"Reset main view"
);
roiButton
->
setToolTip
(
"Create
N
ew ROI"
);
roiButton
->
setToolTip
(
"Create
n
ew 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
A
xial
S
lice"
);
showAxial
->
setToolTip
(
"Toggle
a
xial
s
lice"
);
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
C
oronal
S
lice"
);
showCoronal
->
setToolTip
(
"Toggle
c
oronal
s
lice"
);
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
S
agittal
S
lice"
);
showSagittal
->
setToolTip
(
"Toggle
s
agittal
s
lice"
);
showSagittal
->
setText
(
"Toggle Sagittal Slice"
);
showSagittal
->
setIcon
(
m_iconManager
.
getIcon
(
"sagittal icon"
)
);
...
...
src/qt4gui/qt4/WQtGLScreenCapture.cpp
View file @
8b4495e9
...
...
@@ -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
()
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment