Commit Graph

56 Commits

Author SHA1 Message Date
dt_
f6148f6d45 Environment, expandVariables() can return native separators
Convert to '/' at the right place.
2011-04-29 13:39:43 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Tobias Hunger
7c469ae68b PathChooser: Always return path for existing commands
Always return pathes for existing commands, even if the path is invalid.

Task-number: QTCREATORBUG-4130
2011-04-01 13:30:18 +02:00
Tobias Hunger
f6ceffb0d9 PathChooser: Make error messages more informative 2011-04-01 13:30:18 +02:00
Oswald Buddenhagen
219c3372ae revalidate when the expected kind changes
otherwise the initial value set before the kind was set will be
displayed as validated by the default kind's rules.
2011-03-08 20:46:12 +01:00
Oswald Buddenhagen
e26b631a5a remove dead code 2011-03-08 20:46:11 +01:00
Friedemann Kleint
505256fab9 API-Documentation: Add the Utils-library.
Fix API after doc template change.
2011-03-02 17:14:19 +01:00
Leandro Melo
e6d10c86ec Make PathChooser always use QPushButtons
It might look a little bigger, but since we are using
QPushButtons by default in the options pages it's more
uniform considering the buttons around.

If we "conclude" it looks weird or unpleasant in other
places (like in the wizards, for example) we can consider
an alternative approach.

Reviewed-by: con
2011-02-28 16:25:42 +01:00
Leandro Melo
b3791e52d7 Fix setReadOnly method in PathChooser
Reviewed-by: dt
2011-02-28 16:25:42 +01:00
dt
aa66684b62 PathChooser: Introduce read-only mode.
In that mode the lineedit is readonly and the browse button is
disabled. To be used in the new targetsetuppage
2011-02-22 15:35:24 +01:00
dt
7edd89ba85 PathChooser: rename Directory to ExistingDirectory, introduce Directory
Existing Directory checks for whether the directory exists, which
Directory does not. Also changes all existing PathChoosers from
Directory to ExistingDirectory as that does not change behaviour.
2011-02-22 15:35:24 +01:00
Friedemann Kleint
086c993ac9 Path Chooser: Introduce tooltip displaying the version.
Add a string-list type property specifying the version argument
for command type Path Choosers. Use it prototypically in
GccToolChainWidget.

Rubber-stamped-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-02-22 12:28:29 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
b1bcf081d8 Merge branch '2.1'
Conflicts:
	src/plugins/coreplugin/basemode.cpp
	src/plugins/coreplugin/basemode.h
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
	src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/debugger/debuggeruiswitcher.h
	src/plugins/projectexplorer/buildconfigdialog.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
	src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
	src/plugins/qmldesigner/designercore/include/modelutilities.h
	src/plugins/qmldesigner/designercore/include/nodeinstance.h
	src/plugins/qmldesigner/designercore/include/propertymetainfo.h
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
	src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
	src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
	src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
	src/plugins/qmldesigner/designercore/model/modelutilities.cpp
	src/plugins/snippets/inputwidget.cpp
	src/plugins/snippets/snippetscompletion.cpp
	src/plugins/snippets/snippetscompletion.h
	src/plugins/snippets/snippetspec.cpp
	src/plugins/snippets/snippetsplugin.cpp
	src/plugins/snippets/snippetswindow.cpp
	src/plugins/snippets/snippetswindow.h
	src/plugins/texteditor/snippetsparser.cpp
	src/tools/qml/qmldom/main.cpp
	tests/manual/trk/runner.cpp
	tests/manual/trk/trkolddevice.cpp
	tests/manual/trk/trkolddevice.h
	tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Pawel Polanski
d1089afcfe Unable to enter slash and backslash manually in PatchChooser
Task-number: QTCREATORBUG-3214
Reviewed-by: Tobias Hunger
2010-12-06 11:37:08 +01:00
dt
5689e904fe New Project Wizard: Recheck existence of directory after browsing
The user might create directories or delete them while in the browsing
interface, thus in the PathChooser trigger a validation after browsing.

Task-Nr: QTCREATORBUG-3105
Reviewed-By: Friedemann Kleint
2010-11-23 15:25:17 +01:00
dt
1e15e030b9 PathChooser: Use QDir::cleanPath() in path()
Reviewed-By: hunger
2010-10-11 16:49:01 +02:00
dt
31aae4056c PathChooser: On changing environment emit changed() if the path changed.
Reviewed-By: hunger
2010-10-11 16:49:01 +02:00
Tobias Hunger
ad008b9b57 Environment: Disable escaping when expanding variables
This breaks too much on windows.

Reviewed-by: dt
2010-10-08 14:30:26 +02:00
Friedemann Kleint
6fabd1b237 PathChooser: Fix Windows.
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2010-09-29 12:03:14 +02:00
Friedemann Kleint
87250689ef PathChooser: Fix: Unable to enter relative command paths.
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2010-09-29 11:33:07 +02:00
Tobias Hunger
656c8691f1 PathChooser: Make use of the environment
* Expand environment arguments
 * Introduce new kind: ExistingCommand
 * Use PATH to look up ExistingCommand

Reviewed-by: dt
2010-09-24 16:35:04 +02:00
dt
2a86cb134a PathChooser: Fix some regressions
Task-Nr: QTCREATORBUG-2409
2010-09-23 10:28:57 +02:00
dt
b97aec31a7 Path Chooser: Add a basedirectory
Reviewed-By: Friedemann Kleint
2010-09-17 15:32:41 +02:00
hjk
c9a47cc5b8 path chooser: provide access to the line edit
To make it work with the HistoryCompleter.
2010-09-16 14:04:29 +02:00
Jarek Kobus
573006f370 Add "Add library wizard" to the pro file editor
Reviewed-by: dt <qtc-committer@nokia.com>
Task-number: QTCREATORBUG-125
2010-08-16 18:25:38 +02:00
Leena Miettinen
cf233161fa Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Thorbjørn Lindeijer
c0b42868b0 Preserve the user-set build directory for Generic Projects
Previously it would be converted to an absolute path. Preserving the
original path allows it to be set as relative to the project.

Reviewed-by: dt
2010-03-15 16:27:39 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Daniel Molkentin
60578cb556 Add validChanged(bool) to PathChooser.
This is useful when e.g. connecting directly to the setEnabled() slot of
a Widget.
2009-10-22 18:20:39 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
ee524eb1a7 Beautify general build configuration. 2009-07-22 18:18:12 +02:00
Friedemann Kleint
024b548e13 Added a wizard for Qt Designer custom widgets and collections.
Add the wizard. Modify basefilewizard to use be able to handle binary
data. Add some properties to path chooser (filters).

Task-number: 251982
Initial-patch-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-06-29 14:47:04 +02:00
con
07187e0a80 Custom signature support.
Not able to give it an additional passphrase yet, though.
2009-06-24 13:41:48 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
Friedemann Kleint
7d41e04884 Split apart debugger options pages, allow specifying a path to CDB.
Modify engine creation funcs to populate a list of option pages
to be able to handle engine enabling independently of the
actual engine creation.
2009-04-17 09:03:32 +02:00
hjk
0b58f1f527 debugger: reorganizing settings and actions in progress 2009-03-19 09:32:47 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
con
0f5de365b9 Fixes: - Some layouting issues 2009-01-28 17:39:31 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
goro
6ef67df88b PathChooser migration for Qt4 build config page 2008-12-19 18:26:01 +01:00
goro
12bcc11389 PathChooser migration for external app debug lanuching 2008-12-19 16:39:53 +01:00
goro
cb7bb2eefe PathChooser migration for Qt version config page 2008-12-19 15:33:15 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
con
c4b222695e Fixes: - Choose... buttons are push buttons on mac 2008-12-11 15:11:15 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00