diff --git a/doc/qtcreator-texteditor-completion.png b/doc/qtcreator-texteditor-completion.png new file mode 100644 index 00000000000..b9affb23392 Binary files /dev/null and b/doc/qtcreator-texteditor-completion.png differ diff --git a/doc/qtcreator-texteditor-fonts.png b/doc/qtcreator-texteditor-fonts.png new file mode 100644 index 00000000000..ae08dfe5560 Binary files /dev/null and b/doc/qtcreator-texteditor-fonts.png differ diff --git a/doc/qtcreator-texteditor-general.png b/doc/qtcreator-texteditor-general.png new file mode 100644 index 00000000000..c701efbd2de Binary files /dev/null and b/doc/qtcreator-texteditor-general.png differ diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index f9e55ba866d..ac88edd4558 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -215,8 +215,20 @@ \title The Code Editor - ### SCREENSHOT of the editor in action + Qt Creator's code editor is designed to aid the developer to create, edit, + and navigate code. It is fully equipped with syntax highlighting, code + completion, context sensitive help, as well as inline error indicators + while you are typing. The screenshots below show the various dialogs within + which you can configure your editor. + \table + \row + \i \inlineimage qtcreator-texteditor-general.png + \i \inlineimage qtcreator-texteditor-fonts.png + \i \inlineimage qtcreator-texteditor-completion.png + \endtable + + The table below lists keyboard shortcuts supported by the code editor. \table \row @@ -230,46 +242,48 @@ To deselect, use \key{Ctrl+Shift+U}. \row \i Moving lines up and down - \i + \i Use \key{Ctrl+Shift+Up} and \key{Ctrl+Shift+Down} \row \i Completion - \i + \i Use \key{Ctrl+Space} \row \i Indenting Blocks - \i - \row - \i Commenting or Uncommenting Blocks - \i + \i Use \key{Ctrl+I} \row - \i Switch between Header and Source + \i Collapse + \i Use \key{Ctrl+\<} + + \row + \i Commenting or uncommenting blocks + \i Use \key{Ctrl+\/} + + \row + \i Delete a line + \i Use \key{Shift+Del} + + \row + \i Switch between header file and source file \i Use \key{F4}. \row - \i Increasing and Decreasing Font Size + \i Increasing and decreasing font size \i Use \key{Ctrl+Scroll Wheel} \row - \i Follow Symbols under The Cursor + \i Follow symbols under the cursor \i Use \key{F2} and \key{Shift+F2}. This feature works with namespaces, classes, methods, variables, include statements, and macros. + + \row + \i Switch to an external editor + \i Select \gui{Open in external editor} from the + \gui{Edit -> Advanced} menu. \endtable - - More: - - Collapse - - Up/Down/Page Up/Page Down - hold ctrl to prevent the cursor from moving - - - - To switch to an external editor, select \gui{Open in external editor} from - the \gui{Edit -> Advanced} menu. - */ @@ -1416,7 +1430,7 @@ colons, dollar signs, hash marks etc. may cause difficulties. This is because some of the tools Qt Creator uses in the background have restrictions on the characters allowed in file and directory names. - To be on the safe side, we recomment creating projects and project + To be on the safe side, we recommend creating projects and project items with names consisting of plain characters, numbers, underscores, and hyphens. diff --git a/src/plugins/bineditor/BinEditor.pluginspec b/src/plugins/bineditor/BinEditor.pluginspec index 499dc23e10b..82d7d9b8630 100644 --- a/src/plugins/bineditor/BinEditor.pluginspec +++ b/src/plugins/bineditor/BinEditor.pluginspec @@ -1,6 +1,6 @@ Nokia Corporation - (C) 2008 Nokia Corporation + (C) 2008-2009 Nokia Corporation Nokia Beta Version License Binary editor component. http://www.trolltech.com/ diff --git a/src/plugins/bookmarks/Bookmarks.pluginspec b/src/plugins/bookmarks/Bookmarks.pluginspec index 35f196fb9cb..0d22b8e877f 100644 --- a/src/plugins/bookmarks/Bookmarks.pluginspec +++ b/src/plugins/bookmarks/Bookmarks.pluginspec @@ -1,6 +1,6 @@ Nokia Corporation - (C) 2008 Nokia Corporation + (C) 2008-2009 Nokia Corporation Nokia Beta Version License Bookmarks in text editors. http://www.trolltech.com/ diff --git a/src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec b/src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec index 567839e781b..3818069b500 100644 --- a/src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec +++ b/src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec @@ -1,6 +1,6 @@ Nokia Corporation - (C) 2008 Nokia Corporation + (C) 2008-2009 Nokia Corporation ### TODO CMake support http://www.trolltech.com/ diff --git a/src/plugins/coreplugin/Core.pluginspec b/src/plugins/coreplugin/Core.pluginspec index e771f21ec2f..96607337182 100644 --- a/src/plugins/coreplugin/Core.pluginspec +++ b/src/plugins/coreplugin/Core.pluginspec @@ -1,6 +1,6 @@ Nokia Corporation - (C) 2008 Nokia Corporation + (C) 2008-2009 Nokia Corporation Nokia Beta Version License The core plugin for the Qt IDE. http://www.trolltech.com/ diff --git a/src/plugins/coreplugin/core.qrc b/src/plugins/coreplugin/core.qrc index a7271ec6beb..bd36c4f1c8d 100644 --- a/src/plugins/coreplugin/core.qrc +++ b/src/plugins/coreplugin/core.qrc @@ -3,10 +3,14 @@ html/images/bg_site_header_dark_grey.png html/images/body_bg_circles_bottom_right.png html/images/body_bg_gradient.png + html/images/btn_feedback.png + html/images/btn_feedback_hover.png html/images/btn_getting_started.png html/images/btn_getting_started_hover.png html/images/btn_restore_session.png html/images/btn_restore_session_hover.png + html/images/feedback-bar-background.png + html/images/feedback-text.png html/images/list_bullet_arrow.png html/images/mode_Project.png html/images/nokia_logo.png diff --git a/src/plugins/coreplugin/html/images/btn_feedback.png b/src/plugins/coreplugin/html/images/btn_feedback.png new file mode 100644 index 00000000000..ad972b082a5 Binary files /dev/null and b/src/plugins/coreplugin/html/images/btn_feedback.png differ diff --git a/src/plugins/coreplugin/html/images/btn_feedback_hover.png b/src/plugins/coreplugin/html/images/btn_feedback_hover.png new file mode 100644 index 00000000000..ebf3d5754a9 Binary files /dev/null and b/src/plugins/coreplugin/html/images/btn_feedback_hover.png differ diff --git a/src/plugins/coreplugin/html/images/feedback-bar-background.png b/src/plugins/coreplugin/html/images/feedback-bar-background.png new file mode 100644 index 00000000000..18b3a561ffd Binary files /dev/null and b/src/plugins/coreplugin/html/images/feedback-bar-background.png differ diff --git a/src/plugins/coreplugin/html/images/feedback-text.png b/src/plugins/coreplugin/html/images/feedback-text.png new file mode 100644 index 00000000000..731bdc50a32 Binary files /dev/null and b/src/plugins/coreplugin/html/images/feedback-text.png differ diff --git a/src/plugins/coreplugin/html/images/nokia_logo.png b/src/plugins/coreplugin/html/images/nokia_logo.png index c149f71b628..5f46512b7cc 100644 Binary files a/src/plugins/coreplugin/html/images/nokia_logo.png and b/src/plugins/coreplugin/html/images/nokia_logo.png differ diff --git a/src/plugins/coreplugin/html/images/qt_logo.png b/src/plugins/coreplugin/html/images/qt_logo.png index c8755ec090f..3cbfca726ba 100644 Binary files a/src/plugins/coreplugin/html/images/qt_logo.png and b/src/plugins/coreplugin/html/images/qt_logo.png differ diff --git a/src/plugins/coreplugin/html/qt.css b/src/plugins/coreplugin/html/qt.css index fa91bf8b931..aaba4703a0b 100644 --- a/src/plugins/coreplugin/html/qt.css +++ b/src/plugins/coreplugin/html/qt.css @@ -139,8 +139,31 @@ html, body { margin:0; padding:0; width:100%; - height:100px; - margin-top:-100px; + height:55px; + margin-top:-86px; +} + +.feedback-bar { + position:relative; + list-style-type:none; + margin:0; + padding:0; + height: 31px; + width: 100%; + margin-top: 0px; + background-image: url(images/feedback-bar-background.png); +} + +a.btn_feedback { + background-image:url(images/btn_feedback.png); + width:102px; + height:26px; + display:block; + float:left; +} + +a.btn_feedback:hover { + background-image:url(images/btn_feedback_hover.png) } .left-logo { @@ -148,13 +171,16 @@ html, body { background:none; margin:0; padding:0; + padding-left: 15px; content:url(images/qt_logo.png); } .right-logo { float:right; background:none; - margin:0; + margin: 0; + margin-right: 15px; + margin-top: 25px; padding:0; content:url(images/nokia_logo.png); } diff --git a/src/plugins/coreplugin/html/welcome.html b/src/plugins/coreplugin/html/welcome.html index 40cdafe8122..c4e47d62118 100644 --- a/src/plugins/coreplugin/html/welcome.html +++ b/src/plugins/coreplugin/html/welcome.html @@ -14,6 +14,8 @@ preloadImg01.src = "images/btn_getting_started_hover.png"; var preloadImg02 = new Image(); preloadImg02.src = "images/btn_restore_session_hover.png"; + var preloadImg03 = new Image(); + preloadImg03.src = "images/btn_feedback_hover.png"; @@ -73,4 +75,8 @@