From 80dba1457231afd13a667a85f07c3db74f30aa87 Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 18 Apr 2025 22:34:46 -0400 Subject: Add a status bar --- gui/gui.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui/gui.cc') diff --git a/gui/gui.cc b/gui/gui.cc index 39163ea..9381b55 100644 --- a/gui/gui.cc +++ b/gui/gui.cc @@ -7,6 +7,12 @@ GUI::GUI(QWidget *parent) { ui->setupUi(this); + QLabel* status_label = new QLabel("CONSENSUS: WAITING FOR USER.", this); + QLabel* risc_vector = new QLabel("RISC V[ECTOR], CS535 UMASS AMHERST", this); + status_label->setMinimumWidth(1200); + ui->statusBar->addWidget(status_label); + ui->statusBar->addPermanentWidget(risc_vector); + worker = new Worker(); worker->moveToThread(&workerThread); -- cgit v1.2.3