FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
#include "ui/navigation/DockStatusBar.h"
#include "ui/theme/Theme.h"
#include "ui/theme/ThemeManager.h"
namespace fincept::ui {
DockStatusBar::DockStatusBar(QWidget* parent) : QStatusBar(parent) {
inner_ = new StatusBar(this);
addPermanentWidget(inner_, 1);
setFixedHeight(26);
setSizeGripEnabled(false);
auto apply_style = [this]() {
setStyleSheet(QString("QStatusBar{border:none;padding:0;margin:0;background:%1;}").arg(colors::BG_BASE()));
};
apply_style();
connect(&ThemeManager::instance(), &ThemeManager::theme_changed, this,
[apply_style](const ThemeTokens&) { apply_style(); });
}
} // namespace fincept::ui