Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
eb7d97ce
Commit
eb7d97ce
authored
Jan 19, 2009
by
hjk
Browse files
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
76b33410
9916e4ae
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/qtcreator-session-manager.png
0 → 100644
View file @
eb7d97ce
42.9 KB
doc/qtcreator-session-menu.png
0 → 100644
View file @
eb7d97ce
47.3 KB
doc/qtcreator.qdoc
View file @
eb7d97ce
...
...
@@ -20,9 +20,9 @@
\table
\row
\o \inlineimage qtcreator-screenshots.png
\o \inlineimage qtcreator-screenshots.png
\row
\o Qt Creator includes a wide range of useful features. Among them are:
\o Qt Creator includes a wide range of useful features. Among them are:
\list 1
\o \bold{Smart Code Editor}: The code editor provides syntax
highlighting as well as code completion.
...
...
@@ -157,21 +157,19 @@
\section1 Session Management in Qt Creator
### screenshot
In Qt Creator, a session is a collection of loaded projects, opened files,
editor settings, and so on. When you run Qt Creator, you have a default
session. You can create a new session using the \gui{Session Manager...},
available in the \gui{File -> Session} menu.
\image qtcreator-session-menu.png
To switch between sessions, select \gui{File -> Session}. If you do not
create and select any session, Qt Creator will always use the default
session.
\omit
session management can also store project dependencies, thorbjorn is
currently working on it
\endomit
\image qtcreator-session-manager.png
\section1 Qt Help Integration
...
...
src/plugins/coreplugin/editormanager/stackededitorgroup.cpp
View file @
eb7d97ce
...
...
@@ -79,6 +79,7 @@ StackedEditorGroup::StackedEditorGroup(QWidget *parent) :
tl
->
setMargin
(
0
);
{
m_editorList
->
setSizePolicy
(
QSizePolicy
::
Fixed
,
QSizePolicy
::
Fixed
);
m_editorList
->
setSizeAdjustPolicy
(
QComboBox
::
AdjustToContents
);
m_editorList
->
setMinimumContentsLength
(
20
);
m_proxyModel
.
setSourceModel
(
model
());
m_proxyModel
.
sort
(
0
);
...
...
@@ -296,9 +297,9 @@ void StackedEditorGroup::setCurrentEditor(IEditor *editor)
void
StackedEditorGroup
::
checkEditorStatus
()
{
IEditor
*
editor
=
qobject_cast
<
IEditor
*>
(
sender
());
if
(
editor
==
currentEditor
())
updateEditorStatus
(
editor
);
IEditor
*
editor
=
qobject_cast
<
IEditor
*>
(
sender
());
if
(
editor
==
currentEditor
())
updateEditorStatus
(
editor
);
}
void
StackedEditorGroup
::
updateEditorStatus
(
IEditor
*
editor
)
...
...
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