Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml =================================================================== diff -u -r56381aae237db191956aff493907cd1f0801216b -r4a7dd11138d2321f1ab8d324b3bd25f02eaefe84 --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision 56381aae237db191956aff493907cd1f0801216b) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreatePatientPrescription.qml (.../PreTreatmentCreatePatientPrescription.qml) (revision 4a7dd11138d2321f1ab8d324b3bd25f02eaefe84) @@ -1,8 +1,25 @@ -import QtQuick 2.0 +// Qt +import QtQuick 2.15 +import QtQuick.Controls 2.15 -Rectangle { - anchors.fill: parent - color: "blue" +// Qml +import "qrc:/globals" +import "qrc:/components" +import "qrc:/compounds" + +Grid { id: _root + readonly property int cellWidth : Variables.createRxLabelUnitContainerWidth + readonly property int cellHeight : Variables.createRxLabelUnitContainerHeight + + + property bool editingEnabled : true + + flow : Grid.LeftToRight + rows : 7 + columns : 2 + rowSpacing : Variables.defaultMargin * 3 + columnSpacing : Variables.defaultMargin * 3 + }