Index: sources/gui/qml/components/MainMenu.qml =================================================================== diff -u -rd473be913284c14f14a6e5b18446cceafc3e1265 -r5194f3afffb28dac90a7ca4153b6a0ca2f239387 --- sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision d473be913284c14f14a6e5b18446cceafc3e1265) +++ sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision 5194f3afffb28dac90a7ca4153b6a0ca2f239387) @@ -1,15 +1,40 @@ +/*! + * + * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * \copyright \n + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, \n + * IN PART OR IN WHOLE, \n + * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. \n + * + * \file MainMenu.qml + * \date 2019/10/18 + * \author Behrouz NematiPour + * + */ + +// Qt import QtQuick 2.12 import QtQuick.Controls 2.12 +// Project +// Qml imports import "qrc:/globals" -Item { - property alias settingsButton: _settingsRect.button +// TODO : Make it more general Component +/* + * \brief The MainMenu Component + * which contains three [Treatment, Manager, Settings] + */ +Item { id: _root + property alias treatmentButton : _treatmentRect.button + property alias managerButton : _managerRect.button + property alias settingsButton : _settingsRect.button + height: Variables.mainMenuHeight anchors { - right: parent.right - left: parent.left + right : parent.right + left : parent.left bottom: parent.bottom }