Commit Graph

8590 Commits

Author SHA1 Message Date
dt
e35a1e612a Fix crash for Custom Executable RunConfiguation with qml projects
Custom Executable RunConfiguation assumed that there is always a active
buildconfiguration which is simply not true for qml projects.

Also fix a small bug that the executable was not searched in the full
environment but only in the build environment.

Reviewed-By: Tobias Hunger
2010-03-09 17:33:01 +01:00
Jens Bache-Wiig
d7a190a1be Updated warning and error icons 2010-03-09 17:14:11 +01:00
Lasse Holmstedt
e6cb26142b Fixed faulty init of Qml run config 2010-03-09 17:05:11 +01:00
Friedemann Kleint
c7e3e6adf3 Design mode/Qt Designer clean-up, part III: Resources.
Move resource code to new ResourceHandler class and
instantiate it on the form window.
2010-03-09 17:01:51 +01:00
Kai Koehne
8aae812558 QmlDesigner: Rename log files to start with qmldesiger- 2010-03-09 16:37:42 +01:00
Kai Koehne
ac7023920a QmlDesigner: Move log files to /tmp (Mac OS X) 2010-03-09 16:37:41 +01:00
Kai Koehne
2a0d9b2ef3 Fix logic for configuring qt private headers 2010-03-09 16:29:39 +01:00
Friedemann Kleint
1c78e200c2 Design mode/Qt Designer: clean-up Part II: Fix undo.
Re-introduce FormEditorFile that delegates dirty handling to the form
window. Change DesignerXmlEditable to be an IEditor that embeds
TextEditable so that the PlainTextEditor can work with it, but delegates
relevant functionality to FormEditorFile.
Centralize all form window creation code that was scattered around
in FormEditorW::createEditor() and have that return a struct Editor
data, which is passed to FormEditorStack.
Update the text editor only on open/createNew/switch away from design
mode.
2010-03-09 15:48:01 +01:00
Tobias Hunger
403d755855 Add overlay icon in windows if text is empty
... not if it is null.
2010-03-09 15:05:43 +01:00
Tobias Hunger
5a2926b038 Do not disable combobox in addtarget dialog 2010-03-09 15:05:43 +01:00
Christiaan Janssen
de138e14ee QmlDesigner.Navigator: Fixing drag and drop target 2010-03-09 14:38:10 +01:00
hjk
11cb488dc5 debugger: make helper compilable with Qt 4.4 2010-03-09 14:35:58 +01:00
ck
22b5c74709 Maemo: First attempt at packaging. Disabled for now. 2010-03-09 14:01:59 +01:00
Jens Bache-Wiig
531ce89f80 Fix tool tips for target selector
Using non capitalized text this time as this is
what we have decided to standardize on for future versions.
2010-03-09 13:36:50 +01:00
hjk
0f7a6a20d4 debugger: Sort process ID column numerically in "Attach to process" dialog 2010-03-09 12:26:18 +01:00
hjk
9033976a3a debugger: replace a workaround to update the [+] marker when items by a less intrusive one 2010-03-09 12:26:18 +01:00
hjk
96eb8e962a debugger: always remove the extra nesting level for 'this' 2010-03-09 12:26:18 +01:00
Kai Koehne
961cdd5e17 QmlDesigner: Disable switching to Component elements for the Alpha
Changing anything in the submodel right now crashes, and it seems
it will take some time to fix this.

Reviewed-by: Thomas Hartmann
2010-03-09 12:23:21 +01:00
Kai Koehne
31f7c87537 QmlDesigner: Fix StatesView for switching subcomponents
Reviewed-by: Thomas Hartmann
2010-03-09 12:23:21 +01:00
Kai Koehne
25db585aa4 QmlDesigner: Make loop more explicit 2010-03-09 12:23:20 +01:00
Kai Koehne
bde5b3d5fd Fix compilation warnings 2010-03-09 12:23:20 +01:00
Jens Bache-Wiig
76fe997a45 Improve focus and keyboard interaction with projectselector
This kills the event filter since it is not really neccessary.
Most combo boxes should be disabled by default now. I Removed
redundant focus widgets from the keyboard chain and I
indicate that the list has focus by saturation.
2010-03-09 11:14:19 +01:00
Friedemann Kleint
1b86bc50c1 Design mode/Qt Designer: Clean up the widget part of it.
- Remove shared subwindow reparenting from EditorWidget, make EditorWidget
  inherit FancyMainWindow. and use just once instance of it instead of
  per-editor ones.
- Embedded FormEditorStack into EditorWidget as a centralwidget.
- Changed FormWindowEditor's base class from IEditor to SharedTools::FormWindowHost
  (Widget) to be embedded into FormEditorStack (no need to be an IEditor),
  Remove Designer::Internal::FormWindowHost which had little functionality.
- Add Design Mode widget to FormEditorW which has FakeToolBar and EditorWidget
  (single instance) in a vertical layout.
- Removed ProxyAction class handling dock view toggle actions of several EditorWidgets
  (no longer necessary since there is just once instance). Moved "View menu" to bottom.
- Started to make FakeToolBar work as a single instance listening on changing
  xml editors
- Include-file/slot connection clean-up.
2010-03-09 10:26:20 +01:00
Kai Koehne
9dae168869 QmlJsEditor: Fix support for .qmlproject files
Tell QmlJsEditor about the QmlProject namespace and it's content. This
enables auto-completion, and prevents the editor from underlining all
elements as errors.

Reviewed-by: Christian Kamm
2010-03-09 09:53:16 +01:00
Robert Loehning
09807e7391 Reserving needed amount of memory before copying. 2010-03-08 20:20:28 +01:00
Robert Loehning
bec01778d9 Fixed crash when trying to copy large binary file
Reviewed-by: Oswald Buddenhagen
Task-number: QTCREATORBUG-484
2010-03-08 20:19:33 +01:00
Thomas Hartmann
2f84e65b8f QmlDesigner.propertyEditor: removing maximum height 2010-03-08 17:40:33 +01:00
Thomas Hartmann
efc471af5e QmlDesigner.propertyEditor: fixing crashes in expression editing 2010-03-08 17:40:32 +01:00
Thomas Hartmann
910066ea21 QmlDesigner.propertyEditor: closing expression editing on enter/return 2010-03-08 17:40:32 +01:00
Thomas Hartmann
3300a1c2d4 QmlDesigner: adding ExpressionEditor to basicwidgets 2010-03-08 17:40:32 +01:00
Thomas Hartmann
54981a4a62 QmlDesigner: tweaking of pasting into the visual designer 2010-03-08 17:40:31 +01:00
Erik Verbruggen
f0d5036419 Added more newlines to the .dot file for the AST. 2010-03-08 17:35:06 +01:00
Christiaan Janssen
56a25fffa8 QmlDesigner.Navigator: LineInput now covers the whole item row 2010-03-08 17:34:10 +01:00
Erik Verbruggen
c124b0d1d0 More symbol dumping. 2010-03-08 17:31:14 +01:00
Erik Verbruggen
206793d785 Pimped the ast dumping and added symbol dumping. 2010-03-08 16:42:44 +01:00
Jens Bache-Wiig
e9f33fb8d3 Fix examples failing to open
After fixing the sidebar to use delayed update,
code that relied on setCurrentItem could break
since the state was not set asyncronously.
This fixes it by only making mouseClick delayed,
while setCurrentIndex works as before when set
programatically.

Reviewed-by: Lasse Holmstedt
2010-03-08 15:08:44 +01:00
Friedemann Kleint
8a73827ca8 Design mode: Suppress warning about top level spacers.
Improve c5d6c139c1.
2010-03-08 15:04:58 +01:00
Friedemann Kleint
666c96cf5d Revert "Design mode: Suppress warning about top level spacers."
This reverts commit c5d6c139c1.
2010-03-08 15:03:12 +01:00
Lasse Holmstedt
09c337dcab Fixed focus issues with F4 edit/design switch
Reviewed-by: kkoehne
2010-03-08 14:54:48 +01:00
hjk
8e522c92ee debugger: really don't use curses on windows 2010-03-08 14:46:28 +01:00
hjk
62811941de debugger: fix display of QContainer<T>::NestedType 2010-03-08 14:46:28 +01:00
hjk
a14b1a580c debugger: next attempt at fixing the "can't open items in locals view" issue. 2010-03-08 14:46:28 +01:00
hjk
5879b1fb1a debugger: removed unused variables 2010-03-08 14:46:27 +01:00
Jens Bache-Wiig
e2f79dd0c0 Disable project selector combo box when not needed
When we only have one option available, it makes no sense to
enable the combo box.
2010-03-08 14:40:42 +01:00
Lasse Holmstedt
61ca001e67 QML project executable file to default to lowercase .qml file
Use a lowercase .qml file found in project tree if no current file is
selected. This way we don't have to disable run controls if there are
some files to execute.

Reviewed-by: kkoehne
2010-03-08 14:39:46 +01:00
Friedemann Kleint
c5d6c139c1 Design mode: Suppress warning about top level spacers. 2010-03-08 14:10:31 +01:00
Thomas Hartmann
845948cdee QmlDesigner: crash fix
See BAUHAUS-435
Inside a modification group/transaction we disable undo/redo
2010-03-08 13:55:19 +01:00
Roberto Raggi
4bd8b4772b Show the token only in leaf nodes. 2010-03-08 12:22:17 +01:00
Lasse Holmstedt
21b26a796d Show different tooltips for run/debug actions when no project selected
Task-number: QTCREATOR-191
Reviewed-by: dt
2010-03-08 12:17:34 +01:00
Roberto Raggi
0e1632567c Initial work on an AST dumper.
That will be pretty helpful to understand what's going wrong with
templates.
2010-03-08 12:14:51 +01:00