Commit Graph

72811 Commits

Author SHA1 Message Date
Tobias Hunger
878f465578 Update add/unset/resetVariable methods of EnvironmentModel
Reviewed-by: dt
2010-04-21 16:13:11 +02:00
Tobias Hunger
b9efb80900 Add some comments to environmentmodel::data()
Reviewed-by: dt
2010-04-21 16:13:11 +02:00
Tobias Hunger
dfad3fa772 Update EnvironmentModel::setData
Reviewed-by: dt
2010-04-21 16:13:10 +02:00
Tobias Hunger
b5d0824269 Add signal to hint where to focus next
Reviewed-by: dt
2010-04-21 16:13:10 +02:00
Tobias Hunger
c6c90a151e Fix possible crash in environmenteditmodel
* Do not trigger resets of the model when not necessary
 * Actually handle resets of the model when necessary

Tasknumber: QTCREATORBUG-1172
Reviewed-by: dt
2010-04-21 16:13:09 +02:00
Tobias Hunger
9e937b596b Remove unused parameter
Reviewed-by: dt
2010-04-21 16:13:09 +02:00
Tobias Hunger
12b0933d45 Rename some methods for consistency
Reviewed-by: dt
2010-04-21 16:13:08 +02:00
Tobias Hunger
dffb276e8e Update model code
* Be more paranoid when checking parameters
 * Use QAbstractTableModel instead of ItemModel,
   remove methods no longer needed
 * Update to newer interfaces for reseting the model
 * rename index() method which shadows the index
   from QAbstractTableModel

Reviewed-by: dt
2010-04-21 16:13:07 +02:00
Tobias Hunger
76738c21a0 Add hasKey method to find out whether a envvar exists
Reviewed-by: dt
2010-04-21 16:13:07 +02:00
Daniel Molkentin
ee8caa5b7c Modify behaviour of sessions on the welcomescreen and tweak the session manager
- List sessions by recent use instead of alphabetically
- Tweak the session manager. It is now a persistent dialog with only a close button
- Implement session renaming in the session manager
- Cleanups

Task-Number: QTCREATORBUG-1168
2010-04-21 16:08:24 +02:00
Thomas Hartmann
861981a39d QmlDesigner.statesView: not changing to base state anymore
Before recent refactoring (done by Marco) the node instances were not
able to handle outside the current state. So we had to change back to
the base state for all base state changes from the rewriter.

This is not necessary, anymore.

Reviewed-by: Marco Bubke
2010-04-21 16:01:48 +02:00
Thomas Hartmann
f7985a2ea8 QmlDesigner.propertyEditor: fix notification singals for
This patch fixes the notification signals for PropertyEditorValue
There a two different signals now for the qml part and the backend
This avoids subtle bugs
2010-04-21 16:01:46 +02:00
Thomas Hartmann
600ed1ebcc QmlDesigner.propertyEditor allow setting of expressions in states 2010-04-21 16:01:46 +02:00
Thomas Hartmann
a85fae4ba3 QmlDesigner: implenting expression() in QmlObjectNode
This function returns the expression in a certain state
2010-04-21 16:01:45 +02:00
Thorbjørn Lindeijer
8999b35fcf Only escape the code tooltip when it is used as rich text
Since the fix in 01a0ec161c, sometimes
& would turn up in the tooltips due to them being escaped but not
interpreted as HTML.
2010-04-21 14:55:08 +02:00
Thorbjørn Lindeijer
932a1d488f Get rid of redundant line in New dialog 2010-04-21 14:41:56 +02:00
Thorbjørn Lindeijer
98cf814911 Reduce icon size in settings dialog
The current icons don't look so nice at this size, but new ones should
be on their way.
2010-04-21 14:39:05 +02:00
con
62e57edf4c Remove the window modified indicator feature from non-Mac again.
It creates too much headache with widgets calling setWindowTitle
themselves and Qt spilling out warnings about missing "[*]".

Reviewed-by: Thorbjørn Lindeijer
2010-04-21 14:12:58 +02:00
Robert Loehning
ec688e5c62 Resurrecting the title and tooltip of FolderNavigationWidget 2010-04-21 13:43:50 +02:00
Jens Bache-Wiig
fa2d2717a9 Fix broken keyboard navigation in the new file/project dialog
* Enabled proper keyboard navigation
* Skip header items when using arrow keys
* Fixed a static pixmap warning

Task-number: QTCREATORBUG-1237

Reviewed-by: Daniel Molkentin
2010-04-21 13:38:58 +02:00
Thomas Hartmann
a4e5dd771f QmlDesigner.metasystem: extends the metasystem for new font . properties
font.bold, font.italic font.strikeout and font.underline are now
int the metasystem
2010-04-21 11:45:40 +02:00
Thomas Hartmann
0dc96b626a QmlDesigner.propertyEditor: avoid crash 2010-04-21 11:45:39 +02:00
Thomas Hartmann
9e2521b713 QmlDesigner: new resources for the property editor
Some more icons for font styles and clearer icons for alignment
2010-04-21 11:45:36 +02:00
Tobias Hunger
1b428d3db4 Coding style fixes 2010-04-21 10:55:22 +02:00
Christian Kamm
3067f441df QmlJS: Fix switch statement indentation.
Task-number: QTCREATORBUG-756
2010-04-21 10:52:07 +02:00
Lasse Holmstedt
30417bca46 Fixed bad scrollbar behavior and constant re-rendering of states
The states editor horizontal scrollbar was broken because the
setCurrentStateSilent() call was causing a loop, calling
nodeInstancePropertyChanged() when state property is changed. Because
rendering of states changes the "state" property, the calls never
stopped. Now StatesEditorView has a flag which prevents the loop.

Reviewed-by: Christiaan Janssen
2010-04-21 10:32:26 +02:00
Lasse Holmstedt
473a8e5d28 Categories and saving of settings in qml inspector 2010-04-21 10:32:26 +02:00
Lasse Holmstedt
9c2eb9fe2e QmlInspector: Modifiable properties from inspector property table 2010-04-21 10:32:26 +02:00
hjk
1af67204b7 debugger: prevent crash if breakpoint has been removed before the 'info line'
response was received
2010-04-21 10:16:40 +02:00
hjk
e94b6d95a6 fakevim: set target column after search operation 2010-04-21 10:16:40 +02:00
hjk
307eda415d fakevim: make IncSearch work better. 2010-04-21 10:16:40 +02:00
hjk
95cacf5c42 fakevim: looks like the Anchor concept needs a rework. 2010-04-21 10:16:40 +02:00
Friedemann Kleint
7f0d4ea542 Compile fix gcc 4.5/MinGW 2010-04-21 08:26:08 +02:00
ck
83f505d96a Maemo: Add model for future package contents view.
No functional changes for now.

Reviewed-by: kh1
2010-04-20 17:15:53 +02:00
Marco Bubke
9555ff028a Reset the feedback pane point for leaving the form editor
Reviewed-by: kkoehne
2010-04-20 17:07:21 +02:00
Marco Bubke
17d5cbee96 Show no more 'cannot reparent' text in the feedback pane
Reviewed-by: kkoehne
2010-04-20 17:07:20 +02:00
Kai Koehne
5c1078dce6 Change variable name from metaProperty to property for all QDeclarativeProperties
Reviewed-by: kkoehne
2010-04-20 17:07:20 +02:00
Marco Bubke
19d7fd0e11 Change colors of the feedback pane in the qml designer
Task-Number: BAUHAUS-535
Reviewed-by: kkoehne
2010-04-20 17:07:20 +02:00
Marco Bubke
fdd768352a Fix crash for changing a value if a expression is assigned
Task-Number: BAUHAUS-617
Reviewed-by: kkoehne
2010-04-20 17:07:20 +02:00
Friedemann Kleint
3d6560a10b Move the Debugger/Designer view menus to Window menu.
Move actions into FancyMainWindow. Register them in
DebuggerUISwitcher and FormEditorW. Manually hide
Debugger actions for Non-Debug modes (as they belong
to the language context).
Acked-by: con
2010-04-20 16:46:35 +02:00
kh1
e6900ff03d Just use the path as the url can have an anchor attached etc...
Fixes the broken topic chooser and keyword resolving.

Reviewed-by: ck
2010-04-20 16:17:29 +02:00
Christian Kamm
ce99372c63 QmlJS: Add variables and functions in a JS function to code model.
Allows completion of local variable and function names.

Task-number: QTCREATORBUG-942
Reviewed-by: Roberto Raggi
2010-04-20 15:20:52 +02:00
Tobias Hunger
f71049bee4 Make targetsetuppage work in customwizard 2010-04-20 15:21:20 +02:00
Tobias Hunger
5678bef399 Report issues when setting up targets
using the targetsetuppage.
2010-04-20 15:21:19 +02:00
Tobias Hunger
d50df7b22e Properly fix setup of targetsetuppage
Handle the deletion of temporary QtVersions properly. Remove
workaround.

Reviewed-by: dt
2010-04-20 15:21:19 +02:00
Tobias Hunger
44eef03c56 Update the target setup page with the pro-file name
... so that we can sanity check.
2010-04-20 15:21:18 +02:00
Tobias Hunger
f37824a676 Simplify qmakesteps sanity checking
Reviewed-by: dt
2010-04-20 15:21:18 +02:00
Tobias Hunger
6473ab730c Add method to QtVersion to query it for issues
Reviewed-by: dt
2010-04-20 15:21:17 +02:00
Tobias Hunger
e035862043 Move S60 sanity checking
... to a place where we can share the checks later.
2010-04-20 15:21:17 +02:00
Tobias Hunger
e3720a4659 Add method to task to retreive the icon
This makes a task somewhat more useful outside of the
context of a taskwindow.

Reviewed-by: dt
2010-04-20 15:21:16 +02:00