2025-04-28 Fred Gleason <fredg@paravelsystems.com>

* Upgrade Qt dependency from Qt5 to Qt6.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-28 09:20:03 -04:00
parent 5950a9f7ab
commit 162aa3e483
169 changed files with 747 additions and 627 deletions

View File

@@ -33,10 +33,10 @@ RDSlotButton::RDSlotButton(int slotnum,QWidget *parent,RDConfig *c)
//
d_ready_color=
QPalette(QColor(BUTTON_STOPPED_BACKGROUND_COLOR),
palette().color(QPalette::Background));
palette().color(QPalette::Window));
d_playing_color=
QPalette(QColor(BUTTON_PLAY_BACKGROUND_COLOR),
palette().color(QPalette::Background));
palette().color(QPalette::Window));
setFocusPolicy(Qt::NoFocus);
}
@@ -101,7 +101,7 @@ void RDSlotButton::WriteKeycap()
p->setRenderHint(QPainter::SmoothPixmapTransform,true);
p->setPen(Qt::black);
p->setBrush(Qt::black);
p->fillRect(0,0,w,h,palette().color(QPalette::Background));
p->fillRect(0,0,w,h,palette().color(QPalette::Window));
p->setFont(hugeButtonFont());
p->drawText((w-p->fontMetrics().horizontalAdvance(QString::asprintf("%d",1+d_slot_number)))/2,