aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectconfigurationaspects.h
Commit message (Collapse)AuthorAgeFilesLines
* BaseStringAspect: Provide a way to place a hook between UI and valueTobias Hunger2020-04-301-0/+3
| | | | | | Change-Id: Ie6fd1c3215cba06dd67673b978af9f457f7fa9c8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* PathChooser: Allow for chooser-only selection of files/directoriesTobias Hunger2020-04-211-0/+1
| | | | | | | | | | | | | Makes the line edit disabled and read-only in that case. We also need to change the custom context menu from the line edit to the path chooser itself, because disabled widgets do not show a context menu, but we still want to see the select & copy, and the special items for opening explorer or terminal. Task-number: QTCREATORBUG-23798 Change-Id: Ib653b4eaaedfbe54c614377795ddc52d21ac12c0 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* BaseStringAspect: Enable use of validatorsTobias Hunger2020-03-201-0/+2
| | | | | Change-Id: I93ec60da6dc783beb2a81c0cc25c942e82e75f42 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Use full class for TriState valuehjk2019-12-031-3/+24
| | | | | | | | | Allows more compact code on the user side in most cases and can hide the internal 'int-ness' from user code by wrapping Variant conversions in the TriState class itself. Change-Id: I4c91e0cd798ee988a0b9cb057749251a4efebaff Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Qmake: Make proper use of BuildDirectoryAspectChristian Kandeler2019-11-281-2/+5
| | | | | Change-Id: I439496c85f7e0f402ab038de6a8171dd2f7d2ffd Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Introduce BuildDirectoryAspectChristian Kandeler2019-11-271-0/+8
| | | | | Change-Id: Id57d0a7901d2cec7b2d4f1fbeed6a1ecb41642cc Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add a base class for build aspectsChristian Kandeler2019-11-251-3/+14
| | | | | | | | | | ... and make use of it in the QmlDebuggingAspect. A build setting is conceptually not a boolean, but a tri-state, as we need to support force-switching a feature on and off as well as specifying that it is to be left at its default value. Change-Id: I15552614c5cf4f5187c026909d233c13e3487e81 Reviewed-by: hjk <hjk@qt.io>
* Project Aspects: Provide alternative display style for selection aspectChristian Kandeler2019-11-251-0/+3
| | | | | | | Typically, a combo box is preferred to radio buttons. Change-Id: I685d9c1773e4188252139fb7c784fd7b61e62c8f Reviewed-by: hjk <hjk@qt.io>
* QtSupport: Add a QmlDebuggingAspectChristian Kandeler2019-11-251-0/+7
| | | | | | | | | ... and make use of it in the qbs build configuration. We cannot use it for qmake yet, because the build config there still has a custom, non-aspectified widget. Change-Id: Iacf902a2d9384d0074b10fdc98e082fa906fb6d6 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Prepare more flexibility to aspect layoutinghjk2019-10-181-4/+4
| | | | | | | | | | | | | | | | This hides the explicit use of a QFormLayout from the aspect interface in a new LayoutBuilder class. That currently works only on a QFormLayout in the back, but opens the possibility to use e.g. a QGridLayout as use on the Kits and some option pages. The aspects now only announce sub-widgets they like to add, actuall positioning is does by a new LayoutBuilder class, also cramming several widgets in an hbox in the right column of the QFormLayout is done there. Change-Id: I2b788192c465f2ab82261849d34e514697c5a491 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Rename BaseStringAspect::{f,setF}ileNamehjk2019-08-291-2/+2
| | | | | | | ... to filePath and setFilePath. In line with Utils::FilePath. Change-Id: I7115b91876542629c3d61c8259bbd8d9f4022fc1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Add tool tip to ExecutableAspectChristian Kandeler2019-07-231-0/+1
| | | | | | | | | | Because our project mode uses a fixed width for some reason, the file path of an executable often does not fit on its label. Add a tool tip to work around this. Fixes: QTCREATORBUG-18991 Change-Id: I4ab7cd8812ae15bcef95c16a862361e24a28c259 Reviewed-by: hjk <hjk@qt.io>
* ProjectExplorer: Add a 'readOnly' property to BaseStringAspecthjk2019-06-251-0/+1
| | | | | Change-Id: I1aafcdc2d7b179a627060539cb7fbb9207c4f8ea Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Introduce a new BaseSelectionAspecthjk2019-06-141-0/+26
| | | | | | | | | | To handle an (exclusive) choice within a set of possible options, visualized by a set of QRadioButtons. Use in QdbMakeDefaultAppStep. Change-Id: Icc62a45e8c5986cd9400f90449f92154ed854a22 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Utils: Rename FileName to FilePathhjk2019-05-281-3/+3
| | | | | | | | More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* AutoTools: Use the base BuildConfiguration config widgethjk2019-04-291-0/+1
| | | | | Change-Id: I928b9bc7adc3424008ead27fe8457d345e1bcda5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Make BaseIntegerAspect operate on qint64hjk2019-04-241-3/+4
| | | | | | | ... and add a way to scale displayed values. Change-Id: Icd342935c80cc4f2077df95d856b5d7ab38448f2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Add a QTextEdit based variant for BaseStringAspecthjk2019-01-181-1/+6
| | | | | | | ... and use the QbsCleanStep as guinea pig. Change-Id: Ic0d62700bf48fc7971a290c90394c74b8860b9ff Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Allow tool tips for bool aspectshjk2018-10-231-0/+1
| | | | | | | Useful e.g. for Boot2Qt::PushToDeviceStep Change-Id: I41f4a52ee7d3b0f18df8b2249232cfd0e4445ced Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Project: Introduce BaseIntegerAspect base using spinboxeshjk2018-10-041-0/+27
| | | | | | | Basically upstreamed/pimpled from VxWorks::BaseNumberValueAspect Change-Id: I1dbedbbdd55b684fe1bb823e57d4830fb2eb0b0e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Move Base{Bool,String}Aspect to new fileshjk2018-09-191-0/+109
Create projectconfigurationaspect.{h,cpp} for re-usable aspects. Also pimpl the two exported classes. Task-number: QTCREATORBUG-19985 Change-Id: Id1d44b551c5dc2cf6eb4fbc3a2a505d4a83ae53f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>