refactor(cleanup) : finish statusballoon impl, remove dead code , visual improvements

This commit is contained in:
uncor3
2026-03-23 11:59:30 -07:00
parent d2a0fcbd42
commit 049b364ac5
34 changed files with 530 additions and 1031 deletions
+3 -3
View File
@@ -162,13 +162,14 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
[]() { QDesktopServices::openUrl(QUrl(REPO_URL)); });
m_connectedDeviceCountLabel = new QLabel("iDescriptor: no devices");
m_connectedDeviceCountLabel->setContentsMargins(5, 0, 5, 0);
m_connectedDeviceCountLabel->setContentsMargins(0, 0, 0, 0);
m_connectedDeviceCountLabel->setStyleSheet(
"QLabel:hover { background-color : #13131319; }");
QWidget *statusbar = new QWidget();
QHBoxLayout *statusLayout = new QHBoxLayout(statusbar);
statusLayout->setContentsMargins(0, 0, 0, 0);
statusLayout->setContentsMargins(10, 0, 10, 0);
statusLayout->setSpacing(1);
statusbar->setObjectName("StatusBar");
statusbar->setStyleSheet(
"QWidget#StatusBar { background-color: transparent; }");
@@ -205,7 +206,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
statusLayout->addWidget(welcomeMenuSwitch);
statusLayout->addStretch(1);
statusLayout->setContentsMargins(0, 0, 0, 0);
QLabel *appVersionLabel = new QLabel(QString("v%1").arg(APP_VERSION));
appVersionLabel->setContentsMargins(5, 0, 5, 0);
appVersionLabel->setStyleSheet(