Commit Graph

5173 Commits

Author SHA1 Message Date
Thomas Hartmann
e7418a9c95 QmlDesigner.PropertyEditor: some adjustment to ComboBox style
Change-Id: I52a80941e343ad9ad3cca7bc0bcdec8fe0a90156
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 14:20:36 +02:00
hjk
71080c8b8a Debugger: Fix std::map::iterator dumper for LLDB
"Better" spaces in type names again...

Change-Id: I21aafa021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 12:46:27 +02:00
hjk
fc4a953bb5 Debugger: Simplify LLDB communication protocol
Produce proper JSON directly.

Change-Id: I61aaba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 12:26:17 +02:00
hjk
46c1769e24 Debugger: Show at least size for std::__1::unordered_map
Change-Id: I51aaba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 12:24:44 +02:00
hjk
1daac29647 Debugger: More QRegion dumper fixes
Change-Id: I01aaba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-24 11:37:50 +02:00
Marco Bubke
a2c0b91ec5 QmlDesigner: Disable componentComplete for primitive creation
Control are now in a qrc file and the component are registered as Qml
types. We are using the primitive creation path in this case so we have
to disable the componentComplete call.

Change-Id: I52936b92d936acbfc21ba800ffca9123fcece864
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-24 09:48:04 +02:00
hjk
b889bb1608 Debugger: Make QRegion dumper more independent of debuginfo
Change-Id: I332e17cd4c6a167d273f31f4e7ff63c149a5d34b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 19:27:33 +02:00
hjk
c60cc101dd Debugger: More robust type lookup in QHashIterator dumper
LLDB needs exact matches of spaces

Change-Id: I442e17cd4c6a167d273f31f4e7ff63c149a5d34b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 19:27:25 +02:00
Thomas Hartmann
f2634b316a QmlDesigner.PropertyEditor: fix property name in LayoutSection
Change-Id: I3ca4d1930a90c9d84019061f32a8d34d646fce98
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 18:01:25 +02:00
hjk
0614587ebf Debugger: Use more robust way to look up QMapNode types
LLDB needs exactly the same spacing as in the debug info.

Change-Id: I8a2e17cd4c6a167d273f31f4e7ff63c149a5d34b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 17:52:15 +02:00
Thomas Hartmann
120d56c116 QmlDesigner.PropertyEditor: bringing back the templates
Template for auto generates pages now work with in Qt Quick 2.

Change-Id: Idd0a8fe8d82555bc69b192b21df7641dcdb634b4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 17:45:31 +02:00
Thomas Hartmann
c0cae37d6a QmlDesigner.PropertyEditor: fixing color editing
Change-Id: I3102799952bace9c052f70f52489f5d768621f25
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 17:44:53 +02:00
Thomas Hartmann
f06d1ae0bf QmlDesigner.PropertyEditor: cleanup of unused code
Change-Id: Ia62b8cc0889ed6ccb83cada5718b75c5205fa2a6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 17:44:43 +02:00
Thomas Hartmann
e4f4042bd6 QmlDesigner.PropertyEditor: fix names of margin properties
Change-Id: I284b1ec1269afa38f62a3f9b2747440ce4eedc36
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 17:44:34 +02:00
Christian Kandeler
bdc26d9379 Do not set the QT_CREATOR macro for the QML puppet.
It's not Qt Creator. And otherwise the build breaks with a namespaced
Qt.

Change-Id: Ib30ef86fbc59a02f6fd60d2f0b0b8f4ab452ef6d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 16:55:37 +02:00
hjk
e94e403052 Debugger: Fix QList<QStringList> dumper for LLDB
QStringList is movable in Qt 5

Change-Id: I5b0bee9c55e54f62c93a8515af0f56cdafed78bf
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 16:34:09 +02:00
hjk
04eaf6cdfc Debugger: Make function pointers visible with LLDB
Change-Id: I230bee9c55e54f62c93a8515af0f56cdafed78bf
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 15:21:18 +02:00
Thomas Hartmann
60710f6c05 QmlDesigner.PropertyEditor: moving the color logic into component
Change-Id: I3d90618f5826cf77cc9813fd3b31fbfdbd5b50e7
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 14:38:29 +02:00
Thomas Hartmann
8b2682b257 QmlDesigner.PropertyEditor: fixing step size for opacity
Change-Id: I461baba451c0aed3c34ec581bccce82f954df511
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 14:38:20 +02:00
Thomas Hartmann
ea6c6ccbe1 QmlDesigner.PropertyEditor: avoiding text eliding in LayoutSection
Change-Id: I5635e2a304f7ad3c66d6eb17d2318af0dbd19037
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:43:02 +02:00
Thomas Hartmann
e21d11371c QmlDesigner.PropertyEditor: polishing TextEditSpecfics
* adding TextInputSection
* moving StandardTextSection to the top
* adding ComboBox for Format

Change-Id: I730bee9c55e54f62c93a8515af0f56cdafed78bf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:42:52 +02:00
Thomas Hartmann
c22e28e0e4 QmlDesigner.PropertyEditor: polish TextSpecifics
* moving StandardTextSection to the top

Change-Id: I58f6e148389f5e073bb40c177bbf238931cf47e9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:42:43 +02:00
Thomas Hartmann
c76e4e4234 QmlDesigner.PropertyEditor: polish TextInputSpecifics
* adding TextInputSection
* moving StandardTextSection to the front

Change-Id: Ic6eb7aecefa63c1e7c6f003b5b8ae900291aaee1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:40:33 +02:00
Thomas Hartmann
b80b806ac9 QmlDesigner.PropertyEditor: fixing layout in ItemPane
Change-Id: I44e9f35bfa592c015f3a089ace82c64995d89748
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:40:23 +02:00
Thomas Hartmann
77095bfc9e QmlDesigner.PropertyEditor: fixing layout of GeometrySection
Change-Id: Ic89df790be9c30cb84ce4d2ecaa7ebe5d322c9b8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:40:14 +02:00
Thomas Hartmann
c932d99470 QmlDesigner.PropertyEditor: adding TextInputSection
Change-Id: Iee3416c098608de5a76b1ef017a95efb7077c2bf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:40:05 +02:00
Thomas Hartmann
922286bf1a QmlDesigner.PropertyEditor: fixing LayoutSection
Change-Id: I8c8bcee36b2e2ee1d2e32535da135ac5182459a5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 13:39:57 +02:00
hjk
de40fff331 Debugger: Silence some debug output
Change-Id: I80cd68574586fdaf463d59b6f4dfb9149a120089
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 12:59:24 +02:00
hjk
07492890f7 Debugger: Add a parseAndEval implementation to the LLDB bridge
Makes e.g. QVariant5 dumper pass

Change-Id: I8fad68574586fdaf463d59b6f4dfb9149a120089
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 12:58:38 +02:00
hjk
a590f8de05 Debugger: Fix some of the array dumpers with LLDB
Change-Id: Ie2b12a526ff7199bcadfc21a3deb5354063a3e3b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 12:41:17 +02:00
hjk
ad7e12447c Debugger: Add 64 bit int extraction for LLDB
Fixes QDateTime dumper

Change-Id: I1c408e30ee0cdc22610e3037f94de5f7d246accf
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 12:31:47 +02:00
hjk
d13a8c1ada Debugger: Add dumper for QByteArrayData
Change-Id: Ia13be75a6466b710ddfe66665b124b1e2335a72c
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-23 12:31:23 +02:00
Thomas Hartmann
957f09a2f0 QmlDesigner.PropertyEditor: adjusting Section
Removing the light border so it blends better with the rest.

Change-Id: I7fe5647b46fc20b960ae66fef5ade1ce7e4a2311
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 11:25:58 +02:00
Thomas Hartmann
e0ecb9c797 QmlDesigner.PropertyEditor: adjusting RoundedPanel
Getting rid of the ugly shading

Change-Id: Ib2fa68028533ad6af7cbbc29c07ab43a5b5b4f69
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 11:25:50 +02:00
Thomas Hartmann
be8cee36bb QmlDesigner.PropertyEditor: fixing the layout for StandardTextSection
Change-Id: Iea1a30b8718ccaafec3388aa793119443b1fe38c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 11:25:40 +02:00
Thomas Hartmann
bfb1f31c47 QmlDesigner.PropertyEditor: adjustment to the CustomSpinBoxStyle
Moving the controls slighlt to the right.

Change-Id: I09a3599d88830367abd9caa6c1b62504c573b813
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 11:25:32 +02:00
Thomas Hartmann
2448cab1c4 QmlDesigner.PropertyEditor: fully qualify property
Change-Id: I2a2a6f1908fa96bdaca4e3128bf9bfe54ab67d53
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:21:42 +02:00
Thomas Hartmann
067c789c09 QmlDesigner.PropertyEditor: adjusting combobox sizes
Using Layout.fillWidth: true.

Task-Number: QTCREATORBUG-10413
Change-Id: Ia2771fa6e8a4cbb3acc3c2893fccbcb23fa78f6f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:21:01 +02:00
Thomas Hartmann
62b0f4372b QmlDesigner.PropertyEditor: adding functionality to SpinBox
* Adding blue highlight for modified values

Change-Id: I8d68dc2e23a7c1c3d2055a5be13d7f57e94860ed
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:17:04 +02:00
Thomas Hartmann
d510167e4a QmlDesigner.PropertyEditor: adding functionality to LineEdit
* Adding the ExtendedFunctionButton
* Adding blue highlight for modified values

Change-Id: I44f7d3bfbf58f0fe60321b5c696d3e3ba9c6578f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:16:55 +02:00
Thomas Hartmann
4a8a33179a QmlDesigner.PropertyEditor: adding functionality to ComboBox
* Adding the ExtendedFunctionButton
* Adding blue highlight for modified values

Change-Id: I2035ebba61b27ec5c75f02abc3a435709cc69f43
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:16:46 +02:00
Thomas Hartmann
d60f87d925 QmlDesigner.PropertyEditor: adding color constants
Change-Id: Iced7b432da397485015a4ea4a3e742f0ab475b6a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-23 10:16:37 +02:00
hjk
9f66b6384a Debugger: Fix QVariant{Map,Hash} dumper with Qt 5
Change-Id: I5be3b960a7a3091dc77555883d93e3d89b17381d
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-22 19:14:33 +02:00
hjk
4c35310cec Debugger: Adjust QDateTime dumper after Qt 5.2 changes
Task-number: QTCREATORBUG-10232
Change-Id: I10551a258edb9456c4a9f93a3bfb374a8f07fc7d
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-22 19:12:31 +02:00
hjk
a6c060cc65 Debugger: Try to extract Qt version from QtCore
This won't work without inferior calls (e.g. when loading core files),
so the old code is needed as fallback.

Change-Id: I1c9efc06374b00bc391bf55528546ccefc60349b
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-22 19:12:22 +02:00
hjk
363c9c87b2 Debugger: Work around strange GDB behavior with overload resolution
Contrary to the documention, using the default (i.e. 'on') it seems to _require_
xplicit casting of function pointers:
 (gdb) p &Myns::QMetaType::typeName
    -> $1 = (const char *(*)(int)) 0xb7cf73b0 <Myns::QMetaType::typeName(int)>
 (gdb) p Myns::QMetaType::typeName(1024)
     -> 31^error,msg="Couldn't find method Myns::QMetaType::typeName"
But we can work around on the dumper side. So let's use the default from now on.

Change-Id: I3e2a87df797c6abab6183b4c121b843e5035cd47
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-22 19:10:47 +02:00
Thomas Hartmann
cde0a8828d QmlDesigner.PropertyEditor: fix combobox for anchor targets
Change-Id: Ib66e19ad2d70cb8c5fd295288a625af06104d40e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-22 17:05:12 +02:00
Thomas Hartmann
92baa15ed0 QmlDesigner.PropertyEditor: fixing combo box for font
Change-Id: If1a72549568bfddac3e02151ff9a13be4b578e40
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-22 17:02:16 +02:00
Thomas Hartmann
4c42a8ee95 QmlDesigner.PropertyEditor: fix for CheckBox
Change-Id: I8ca2642b50c8f1b529db77ffb4e91f34a0a3b2bf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-22 17:02:06 +02:00
Thomas Hartmann
50c9661ca3 QmlDesigner.PropertyEditor: fix for ComboBox
Change-Id: I766cdf7831509fa7d4e6c6b98f304b814f2f4e76
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-10-22 17:01:58 +02:00