Commit Graph

6979 Commits

Author SHA1 Message Date
Kai Koehne
f4983380df Fix compilation against latest qt-dui
d914555badc in qt-dui/master removed QmlType::fromObject. This
patch replaces the method with QVariant::fromValue. The difference
here is that the QVariant type is always QObject*, instead of
the real inherited type. We have yet to verify if this breaks something.
2010-02-09 14:37:16 +01:00
Roberto Raggi
978c89f506 Get rid of obsolete README. 2010-02-09 14:03:35 +01:00
kh1
596eda7f54 Rephrase the error message.
Depending on the Qt version we might be able to gather the qemu path,
if not the former error message was a bit misleading.
2010-02-09 13:19:32 +01:00
Marco Bubke
94c940c5df Polish the output of the feedback for item in Bauhaus 2010-02-09 12:55:57 +01:00
Alessandro Portale
832d147078 Fix warning on MSVC
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>

	modified:   src/plugins/debugger/registerwindow.cpp
2010-02-09 12:39:27 +01:00
Alessandro Portale
2117d6af90 Compile fix for MSVC
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>

	modified:   src/libs/qmljs/qmljsinterpreter.cpp
2010-02-09 12:29:10 +01:00
Roberto Raggi
0567adbc32 Removed useless qDebug. 2010-02-09 12:16:19 +01:00
con
4c8a7cfcf6 Add position to history when user closes an editor.
This hopefully brings the navigation history back to behaving sensibly.
2010-02-09 12:08:43 +01:00
Roberto Raggi
3d44c5621d Improved completion of JavaScript expressions. 2010-02-09 11:37:58 +01:00
Roberto Raggi
967ed09c29 Initial support of `Follow symbol under cursor' for QML/JS. 2010-02-09 11:37:58 +01:00
Robert Loehning
1ae9c10fb8 Changed FolderNavigationWidget::showInGraphicalShell to show expected directories. 2010-02-09 11:23:59 +01:00
Christiaan Janssen
84e2ecb054 QmlDesigner.Navigator: removed tooltips 2010-02-09 11:18:22 +01:00
Christiaan Janssen
6a67f00e06 QmlDesigner: Fixed minor issues 2010-02-09 10:44:38 +01:00
Christiaan Janssen
6da581aa29 QmlDesigner.StatesEditor: extra add states button shown 2010-02-09 09:45:46 +01:00
Wolfgang Beck
c3122ce07c Change ICHECK_BUILD ifdef in Q_OS_SYMBIAN. 2010-02-09 15:36:00 +10:00
Marco Bubke
04ad9bb1fa First version of a feedback system in the formeditor 2010-02-08 19:08:16 +01:00
Marco Bubke
2ce5d7d94b Round margins of anchors in Bauhaus to integers. 2010-02-08 19:08:16 +01:00
Christiaan Janssen
d8621408c7 QmlDesigner.StatesEditor: Bottom border was missing 2010-02-08 18:22:59 +01:00
Christiaan Janssen
fd6ffd415f QmlDesigner.StatesEditor: addstate box resized 2010-02-08 18:01:16 +01:00
ck
a40a3d84d5 Maemo: Enable compilation unconditionally. 2010-02-08 17:52:56 +01:00
ck
1fa20b3838 Maemo: Removed ifdefs for old ssh approach. 2010-02-08 17:52:56 +01:00
Christiaan Janssen
0f52cd03b0 QmlDesigner.StatesEditor: New design of the states editor 2010-02-08 17:47:14 +01:00
Oswald Buddenhagen
4c9aca0cfc optimization: turn more constants into global statics 2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
1f088a70ba make profile evaluator re-entrant
the last step was moving the statics to a common class which is
initialized at startup.
2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
a4e4c44ac2 re-entrancy: $$list() counter cannot be static 2010-02-08 17:24:18 +01:00
Oswald Buddenhagen
cfa6203e52 BlockCursor was meant to be a Q_MOVABLE_TYPE ... 2010-02-08 17:24:18 +01:00
Thorbjørn Lindeijer
ea0394a8ec Style fixes and small optimizations to guessSpacesForTabs
Save some cycles by not using QTextBlock::text unnecessarily (since only
its length and the character at the block position were used).
2010-02-08 16:59:10 +01:00
Roopesh Chander
e64c255b7e fix crash on files with no indented lines 2010-02-08 16:59:10 +01:00
Roopesh Chander
d330320fc7 make auto-spaces-for-tabs work only if spaces-for-tabs is checked
This is to make it consistent with the rest of the settings ui.
When a checkbox is unchecked, the sub-check box becomes invalid, its
functionality is disabled, but it retains its checked state.
2010-02-08 16:59:10 +01:00
Roopesh Chander
bf2289127f Look both forward and backward for auto-determining spaces vs tabs 2010-02-08 16:59:10 +01:00
Roopesh Chander
9822fb65df cleanWhitespace() checkes whether it has to change indentation or not. handle that. 2010-02-08 16:59:10 +01:00
Roopesh Chander
fde766016a enable auto-determination of spaces/tabs for cleaning whitespace as well 2010-02-08 16:59:10 +01:00
Roopesh Chander
2d9996c703 Pass the current block in all applicable invocations of TabSettings::indentationString()
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
764245eed2 don't go searching backwards for more than a hundred lines of code
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
6fced0e5b0 A little code-beautification won't hurt
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
ea13309b9a Add a checkbox for 'auto-determine spaces or tabs from the previous line'
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
Roopesh Chander
2a58049e6a Ability to auto-determine whether we want spaces instead of tabs or not
Based on the previous (referrable) line

Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-08 16:59:10 +01:00
con
7391ba388c Fix navigation history issues.
Separating navigation history logic from updating of highlights.
2010-02-08 16:55:07 +01:00
Marco Bubke
f133d0ac8c Improve undo/redo for move by cursor key 2010-02-08 16:51:23 +01:00
Marco Bubke
0a62a383bd Improve Copy and Paste in Bauhaus
Now the items are pasted to the parent of selected node. It is too
selected after the paste.

Reviewed-by: Kai Koehne
2010-02-08 16:01:00 +01:00
Marco Bubke
e5e3c24ed4 Change formeditor bounding rect painting 2010-02-08 16:01:00 +01:00
Erik Verbruggen
285cc418b9 Put the re-indenting into the active undo-group. 2010-02-08 15:43:42 +01:00
Erik Verbruggen
1af05166d9 Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. 2010-02-08 15:41:18 +01:00
hjk
bd1b9e6ccb debugger: cache target read-only memory in the trkadapter 2010-02-08 14:57:14 +01:00
hjk
f6d4680ffe fakevim: make ':r' undoable and behave more vim-ish 2010-02-08 14:56:52 +01:00
Erik Verbruggen
e500075b1c Added missing include file. 2010-02-08 14:48:56 +01:00
Erik Verbruggen
fcb91a7031 Fixes to get the QML designer to compile against qt-qml. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
a6b1fb94e6 Moved Creator specific code to a subclas. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
09cae866e5 Synced changes with Qt. 2010-02-08 14:29:43 +01:00
Erik Verbruggen
c453212542 Added indenting of dirty areas. 2010-02-08 14:29:42 +01:00