Commit 44578059 authored by Samikshan Bairagya's avatar Samikshan Bairagya

Removed the close button from the QML interface. (Not needed anymore.)

parent c0d3e385
......@@ -14,24 +14,6 @@ Rectangle {
color: "#020518"
anchors.fill: parent
opacity: 0.890
Image {
id: closeButton
objectName: "closeButtonObj"
x: 333
y: 11
sourceSize.height: 28
sourceSize.width: 28
source: "dialog_close.png"
signal closeButtonClicked()
MouseArea {
id: closeMouseArea
anchors.fill: parent
onClicked: closeButton.closeButtonClicked()
}
}
}
Text {
......
......@@ -54,9 +54,6 @@ WIView::WIView(QWidget *parent, ObsConditions *obs) : QWidget(parent)
m_SlewButtonObj = m_BaseObj->findChild<QObject *>("slewButtonObj");
connect(m_SlewButtonObj, SIGNAL(slewButtonClicked()), this, SLOT(onSlewButtonClicked()));
QObject *closeButtonObj = m_BaseObj->findChild<QObject *>("closeButtonObj");
connect(closeButtonObj, SIGNAL(closeButtonClicked()), baseView, SLOT(close()));
baseView->setResizeMode(QDeclarativeView::SizeRootObjectToView);
baseView->show();
data->setWIView(baseView);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment