Commit Graph

72811 Commits

Author SHA1 Message Date
Jörg Schummer
f7e0366d65 QmlDesigner.ItemLibrary: various updates
- clearing search input focus when clicking clear icon
- re-set updated sections' models
- using GridView-based item selection
- C++ code cleanup
- Manhattan-length used for drag & drop initiation
- integrated QtCreator's filter text input
- replaced QToolButtons with a QTabBar
- fix: eliding text & corrected selector offset
- styled resources view
- updated Qml syntax
2010-03-10 13:32:28 +01:00
Lasse Holmstedt
c9cffb28b7 refactored include statement 2010-03-10 12:54:57 +01:00
Friedemann Kleint
f65092bd56 Profiling: Re-introduce delayed loading of Designer
from options dialog and editor factory.
2010-03-10 12:51:04 +01:00
Lasse Holmstedt
762b30dbc2 rename 2010-03-10 12:49:53 +01:00
Lasse Holmstedt
64b6b8c43e Renaming designmodetoolbar -> editortoolbar pt.1 2010-03-10 12:48:17 +01:00
Lasse Holmstedt
99ab71d7c1 Removed undefined slot 2010-03-10 12:31:50 +01:00
Lasse Holmstedt
3124db009f Refactored toolbar interface 2010-03-10 12:26:19 +01:00
Lasse Holmstedt
a6a049852b Editor toolbar integration 2010-03-10 12:26:19 +01:00
Lasse Holmstedt
9534f6bc50 rename of faketoolbar -> DesignModeToolBar 2010-03-10 12:26:18 +01:00
Lasse Holmstedt
a4cfad693c refactored faketoolbar into core -> designmodetoolbar
Reviewed-by: kkoehne
2010-03-10 12:26:18 +01:00
Lasse Holmstedt
54aefb71de rename 2010-03-10 12:26:18 +01:00
Lasse Holmstedt
30b9273e8e Moving fake toolbar to core 2010-03-10 12:26:18 +01:00
ck
35572c4654 Maemo: Fix toolchain's gcc path.
Reviewed-by: kh1
2010-03-10 12:18:50 +01:00
Jens Bache-Wiig
67c421f018 Remove unknown icons from compiler output
These icons adds visual clutter and do not really give any
added value. We should reserve icons for lines that are
known as errors or warnings as these deserve special
attention.
2010-03-10 12:10:46 +01:00
hjk
d069713ada debugger: some status message cosmetics 2010-03-10 11:44:49 +01:00
Friedemann Kleint
edf3437644 VCS/git: Add setting for diff --patience and make it default. 2010-03-10 11:19:59 +01:00
Kai Koehne
d0da52f548 Wizards: Simplify error message for invalid names 2010-03-10 10:52:15 +01:00
Friedemann Kleint
7828bb811c DesignMode/Qt Designer clean-up Part V: Renaming
Re-introduce FormWindowEditor as IEditor used for
Designer. Use SharedTools::WidgetHost directly
for embedding into FormEditorStack, doing the
geometry-changed handling in there as well.
2010-03-10 10:21:52 +01:00
Roberto Raggi
1c8930737c Fixed possible crash when asking for the icon of a top-level symbol (e.g. the global namespace). 2010-03-10 09:32:27 +01:00
Jens Bache-Wiig
c5df0a1d0d Fix text eliding on progress bars
We need this for translations.
I also added the label to the tool tip.
2010-03-09 19:32:21 +01:00
hjk
3999651fb9 debugger: remove irrelevant comment containing a reminder 2010-03-09 17:50:24 +01:00
hjk
dd7abf87a6 debugger: empty list of fetched variables at the end of the full cycle
The original logic was faulty but worked better in the presence of the
original "extra layoutChanged()" hack which is replaced now.
2010-03-09 17:50:24 +01:00
hjk
c741f83514 fakevim: fix some indentation when tabs are not expanded 2010-03-09 17:50:24 +01:00
hjk
0bd8864780 fakevim: adjust visual tabwidth 2010-03-09 17:50:23 +01:00
Thorbjørn Lindeijer
a456164631 Simplify finding the best match for switching to definition
Also make sure it searches for the best match in all files that define
potential matching definitions.
2010-03-09 17:38:56 +01:00
Alexander Anokhin
a72042ab6a Fixed switch from declaration to definition
Added compatibility scores to functions - candidates to switch to

Merge-request: 121
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-03-09 17:38:56 +01:00
Erik Verbruggen
417a1c9f28 Fixed QTCREATORBUG-745.
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
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
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
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
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