aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakebuildstep.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-07-20 12:17:36 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-10-18 08:50:22 +0000
commit22ecd6b7efcdf377f2ce2c214afee892c48265ac (patch)
tree8dafd399d5b357a959c4d56413c7ffa2879d50f1 /src/plugins/cmakeprojectmanager/cmakebuildstep.h
parent900ef05d374cb5239a728eca6134e371e1ab566e (diff)
CMake: Use radio buttons to select build targets
Use radio buttons to select build targets in CMakeBuildStep. CMake only allows for one target to be built at one time, so checkboxes are confusing. Task-number: QTCREATORBUG-20764 Change-Id: I1171abd1753817595562526456c3ce613a22667c Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildstep.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakebuildstep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.h b/src/plugins/cmakeprojectmanager/cmakebuildstep.h
index 7a2b6f0c22..99de0046d5 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildstep.h
+++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.h
@@ -33,6 +33,7 @@ QT_BEGIN_NAMESPACE
class QLineEdit;
class QListWidget;
class QListWidgetItem;
+class QRadioButton;
QT_END_NAMESPACE
namespace Utils {
@@ -130,7 +131,9 @@ private:
void toolArgumentsEdited();
void updateDetails();
void buildTargetsChanged();
- void selectedBuildTargetsChanged();
+ void updateBuildTarget();
+
+ QRadioButton *itemWidget(QListWidgetItem *item);
CMakeBuildStep *m_buildStep;
QLineEdit *m_toolArguments;