mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
refactor(ui): drop Fusion styles , adjust sizes and improve layout in various components
This commit is contained in:
@@ -79,15 +79,11 @@ void WelcomeWidget::setupUI()
|
||||
connect(m_githubLabel, &ZLabel::clicked, this,
|
||||
[]() { QDesktopServices::openUrl(QUrl(REPO_URL)); });
|
||||
|
||||
// Make it look like a link
|
||||
QPalette githubPalette = m_githubLabel->palette();
|
||||
githubPalette.setColor(QPalette::WindowText,
|
||||
QColor(0, 122, 255)); // Apple blue
|
||||
m_githubLabel->setPalette(githubPalette);
|
||||
|
||||
// Connect click functionality using installEventFilter
|
||||
m_githubLabel->installEventFilter(this);
|
||||
|
||||
m_mainLayout->addWidget(m_githubLabel, 0, Qt::AlignCenter);
|
||||
|
||||
// no additional deps needed on macOS
|
||||
|
||||
Reference in New Issue
Block a user