forked from qt-creator/qt-creator
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
This commit is contained in:
BIN
doc/qtcreator-session-manager.png
Normal file
BIN
doc/qtcreator-session-manager.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
doc/qtcreator-session-menu.png
Normal file
BIN
doc/qtcreator-session-menu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user