summaryrefslogtreecommitdiffstats
path: root/sample/telemetry-cloud-app/app/ui_mainwindow.h
diff options
context:
space:
mode:
authorAndrey Shamanin <andrei.shamanin@orioninc.com>2020-10-16 16:08:27 +0300
committerAndrey Shamanin <andrei.shamanin@orioninc.com>2020-10-19 15:41:37 +0300
commit2d66933b9bf25af66696b097283109c8a6e87151 (patch)
tree92a0bc61822540d5175a87d643fcca24d4acb216 /sample/telemetry-cloud-app/app/ui_mainwindow.h
parentaee2ff16cc87a939e68aa2900e23d6705dda5408 (diff)
Bug-AGL: SPEC-3645 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: Ie165a50e7975a8e6f25b259be1679a9689414148
Diffstat (limited to 'sample/telemetry-cloud-app/app/ui_mainwindow.h')
-rwxr-xr-xsample/telemetry-cloud-app/app/ui_mainwindow.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/sample/telemetry-cloud-app/app/ui_mainwindow.h b/sample/telemetry-cloud-app/app/ui_mainwindow.h
index 5dbcbd5..6a24c62 100755
--- a/sample/telemetry-cloud-app/app/ui_mainwindow.h
+++ b/sample/telemetry-cloud-app/app/ui_mainwindow.h
@@ -36,6 +36,7 @@ class Ui_MainWindow
public:
QWidget *centralWidget{nullptr};
QPushButton *startMsgButton{nullptr};
+ QLabel *sendStatusLabel{nullptr};
QLabel *stateLabel{nullptr};
void setupUi(double scale_factor, QMainWindow *MainWindow)
@@ -54,9 +55,16 @@ public:
startMsgButton->setGeometry(QRect((540-242/2)*scale_factor, 20*scale_factor, 242*scale_factor, 64*scale_factor));
startMsgButton->setStyleSheet(style);
- stateLabel = new QLabel(centralWidget);
- stateLabel->setObjectName(QString::fromUtf8("label"));
- stateLabel->setGeometry(QRect(40*scale_factor, 180*scale_factor, 1000*scale_factor, 420*scale_factor));
+ sendStatusLabel = new QLabel(centralWidget);
+ sendStatusLabel->setObjectName(QString::fromUtf8("sendStatusLabel"));
+ sendStatusLabel->setGeometry(QRect(40*scale_factor, 180*scale_factor, 1000*scale_factor, 80*scale_factor));
+ sendStatusLabel->setWordWrap(false);
+ sendStatusLabel->setAlignment(Qt::AlignTop);
+ sendStatusLabel->setStyleSheet(style);
+
+ stateLabel = new QLabel(centralWidget);
+ stateLabel->setObjectName(QString::fromUtf8("stateLabel"));
+ stateLabel->setGeometry(QRect(40*scale_factor, 280*scale_factor, 1000*scale_factor, 420*scale_factor));
stateLabel->setWordWrap(true);
stateLabel->setAlignment(Qt::AlignTop);
stateLabel->setStyleSheet(style);
@@ -74,6 +82,8 @@ public:
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
startMsgButton->setText(QApplication::translate("MainWindow", "Start", nullptr));
+ sendStatusLabel->setText(QApplication::translate("MainWindow", "Connection status: None", nullptr));
+ stateLabel->setText(QApplication::translate("MainWindow", "Cloud message:", nullptr));
} // retranslateUi
};