Add feature.commandlinkbutton

Change-Id: I057ed507552c74a787e5bcdaa28a18c667eecd43
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Stephan Binner 2017-02-27 15:06:12 +01:00
parent 5a3029fbf1
commit 104408f3da
3 changed files with 16 additions and 2 deletions

View File

@ -117,6 +117,12 @@
"condition": "features.tableview", "condition": "features.tableview",
"output": [ "publicFeature", "feature" ] "output": [ "publicFeature", "feature" ]
}, },
"commandlinkbutton": {
"label": "QCommandLinkButton",
"purpose": "Provides a Vista style command link button.",
"section": "Widgets",
"output": [ "publicFeature" ]
},
"datetimeedit": { "datetimeedit": {
"label": "QDateTimeEdit", "label": "QDateTimeEdit",
"purpose": "Supports editing dates and times.", "purpose": "Supports editing dates and times.",

View File

@ -43,6 +43,8 @@
#include <QtWidgets/qtwidgetsglobal.h> #include <QtWidgets/qtwidgetsglobal.h>
#include <QtWidgets/qpushbutton.h> #include <QtWidgets/qpushbutton.h>
QT_REQUIRE_CONFIG(commandlinkbutton);
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE

View File

@ -13,7 +13,6 @@ HEADERS += \
widgets/qcheckbox.h \ widgets/qcheckbox.h \
widgets/qcombobox.h \ widgets/qcombobox.h \
widgets/qcombobox_p.h \ widgets/qcombobox_p.h \
widgets/qcommandlinkbutton.h \
widgets/qdatetimeedit.h \ widgets/qdatetimeedit.h \
widgets/qdatetimeedit_p.h \ widgets/qdatetimeedit_p.h \
widgets/qdial.h \ widgets/qdial.h \
@ -92,7 +91,6 @@ SOURCES += \
widgets/qcalendarwidget.cpp \ widgets/qcalendarwidget.cpp \
widgets/qcheckbox.cpp \ widgets/qcheckbox.cpp \
widgets/qcombobox.cpp \ widgets/qcombobox.cpp \
widgets/qcommandlinkbutton.cpp \
widgets/qdatetimeedit.cpp \ widgets/qdatetimeedit.cpp \
widgets/qdial.cpp \ widgets/qdial.cpp \
widgets/qdialogbuttonbox.cpp \ widgets/qdialogbuttonbox.cpp \
@ -145,6 +143,14 @@ SOURCES += \
widgets/qtoolbararealayout.cpp \ widgets/qtoolbararealayout.cpp \
widgets/qplaintextedit.cpp widgets/qplaintextedit.cpp
qtConfig(commandlinkbutton) {
HEADERS += \
widgets/qcommandlinkbutton.h
SOURCES += \
widgets/qcommandlinkbutton.cpp
}
macx { macx {
HEADERS += \ HEADERS += \
widgets/qmacnativewidget_mac.h \ widgets/qmacnativewidget_mac.h \