Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4168521a
Commit
4168521a
authored
Jun 12, 2009
by
Daniel Molkentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed the last round of tips contributed by the office.
Reviewed-by: Ossi
parent
cb784459
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
src/plugins/coreplugin/welcomemode.cpp
src/plugins/coreplugin/welcomemode.cpp
+28
-7
No files found.
src/plugins/coreplugin/welcomemode.cpp
View file @
4168521a
...
...
@@ -414,16 +414,17 @@ QStringList WelcomeMode::tipsOfTheDay()
{
static
QStringList
tips
;
if
(
tips
.
isEmpty
())
{
QString
sideBar
Shortcut
=
QString
alt
Shortcut
=
#ifdef Q_WS_MAC
tr
(
"Cmd
+0
"
);
tr
(
"Cmd
"
,
"Shortcut key
"
);
#else
tr
(
"Alt
+0
"
);
tr
(
"Alt
"
,
"Shortcut key
"
);
#endif
tips
.
append
(
tr
(
"You can switch between Qt Creator's modes using <tt>Ctrl+number</tt>:"
"<ol><li> - Welcome</li><li> - Edit</li><li>- Debug</li><li>- Projects</li><li>- Help</li>"
"<li></li><li>- Output</li></ol>"
));
tips
.
append
(
tr
(
"You can show and hide the side bar using <tt>%1<tt>."
).
arg
(
sideBarShortcut
));
tips
.
append
(
tr
(
"You can switch between Qt Creator's modes using <tt>Ctrl+number</tt>:<ul>"
"<li>1 - Welcome</li><li>2 - Edit</li><li>3 - Debug</li><li>4 - Projects</li><li>5 - Help</li>"
"<li></li><li>6 - Output</li></ul>"
));
//:%1 gets replaced by Alt (Win/Unix) or Cmd (Mac)
tips
.
append
(
tr
(
"You can show and hide the side bar using <tt>%1+0<tt>."
).
arg
(
altShortcut
));
tips
.
append
(
tr
(
"You can fine tune the <tt>Find</tt> function by selecting "Whole Words" "
"or "Case Sensitive". Simply click on the icons on the right end of the line edit."
));
tips
.
append
(
tr
(
"If you add <a href=
\"
qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html
\"
"
...
...
@@ -432,6 +433,26 @@ QStringList WelcomeMode::tipsOfTheDay()
tips
.
append
(
tr
(
"The code completion is CamelCase-aware. For example, to complete <tt>namespaceUri</tt> "
"you can just type <tt>nU</tt> and hit <tt>Ctrl+Space</tt>."
));
tips
.
append
(
tr
(
"You can force code completion at any time using <tt>Ctrl+Space</tt>."
));
tips
.
append
(
tr
(
"You can start Qt Creator with a session by calling <tt>qtcreator <sessionname></tt>."
));
tips
.
append
(
tr
(
"You can return to edit mode from any other mode at any time by hitting <tt>Escape</tt>."
));
//:%1 gets replaced by Alt (Win/Unix) or Cmd (Mac)
tips
.
append
(
tr
(
"You can switch between the output pane by hitting <tt>%1+n</tt> where n is the number denoted "
"on the buttons at the window bottom:"
"<ul><li>1 - Build Issues</li><li>2 - Search Results</li><li>3 - Application Output</li>"
"<li>4 - Compile Output</li></ul>"
).
arg
(
altShortcut
));
tips
.
append
(
tr
(
"You can quickly search methods, classes, help and more using the "
"<a href=
\"
qthelp://com.nokia.qtcreator/doc/creator-navigation.html
\"
>Locator bar</a> (<tt>Ctrl+K</tt>)."
));
tips
.
append
(
tr
(
"You can add custom build steps in the "
"<a href=
\"
qthelp://com.nokia.qtcreator/doc/creator-build-settings.html
\"
>build settings</a>."
));
tips
.
append
(
tr
(
"Within a session, you can add "
"<a href=
\"
qthelp://com.nokia.qtcreator/doc/creator-build-settings.html#dependencies
\"
>dependencies</a> between projects."
));
tips
.
append
(
tr
(
"You can set the preferred editor encoding for every project in <tt>Projects -> Editor Settings -> Default Encoding</tt>."
));
tips
.
append
(
tr
(
"You can modify the binary that is being executed when you press the <tt>Run</tt> button: Add a <tt>Custom Executable</tt> "
"by clicking the <tt>+</tt> button in <tt>Projects -> Run Settings -> Run Configuration</tt> and then select the new "
"target in the combo box."
));
tips
.
append
(
tr
(
"You can use Qt Creator with a number of <a href=
\"
qthelp://com.nokia.qtcreator/doc/creator-version-control.html
\"
>"
"revision control systems</a> such as Subversion, Perforce and Git."
));
tips
.
append
(
tr
(
"In the editor, <tt>F2</tt> toggles declaration and definition while <tt>F4</tt> toggles header file and source file."
));
}
return
tips
;
}
...
...
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