Warning, /maui/mauikit-calendar/src/controls.5/DateComboBox.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.4 0002 import QtQuick.Layouts 1.1 0003 import QtQuick.Controls 2.15 0004 0005 import org.mauikit.controls 1.3 as Maui 0006 import org.mauikit.calendar 1.0 as Kalendar 0007 0008 0009 ComboBox 0010 { 0011 id: control 0012 enabled: true 0013 0014 property alias selectedMonth : _picker.selectedMonth 0015 property alias selectedYear: _picker.selectedYear 0016 property alias selectedDay : _picker.selectedDay 0017 0018 property alias selectedDate : _picker.selectedDate 0019 0020 displayText: selectedDate.toLocaleDateString() 0021 0022 font.bold: true 0023 font.weight: Font.Bold 0024 font.family: "Monospace" 0025 icon.source: "view-calendar" 0026 0027 signal datePicked(var date) 0028 0029 popupContent: Kalendar.DatePicker 0030 { 0031 id: _picker 0032 implicitHeight: 300 0033 background: null 0034 0035 onAccepted: 0036 { 0037 control.datePicked(date) 0038 control.accepted() 0039 control.popup.close() 0040 } 0041 } 0042 }