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
#pragma once
#include <QFrame>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
namespace fincept::ui {
/// Reusable card widget — dark panel with title bar and content area.
class Card : public QFrame {
Q_OBJECT
public:
explicit Card(const QString& title, QWidget* parent = nullptr);
QWidget* content_area() const { return content_; }
QVBoxLayout* content_layout() const { return content_layout_; }
void set_title(const QString& title);
signals:
void close_requested();
private:
QLabel* title_label_ = nullptr;
QWidget* content_ = nullptr;
QVBoxLayout* content_layout_ = nullptr;
};
} // namespace fincept::ui