implemented settings window

This commit is contained in:
Geoffray Levasseur committed 2026-11-04 14:11:05 +01:00
1 parent 19006fac6c
commit a24876cf79
7 files changed
+582 -1

No files matched your search

+6
View File
@@ -57,6 +57,12 @@ void ListBoxExDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt
ListBoxEx::ListBoxEx(QWidget *parent) : Dpi::ListBox(parent)
{
setItemDelegate(new ListBoxExDelegate(this));
// Black list area without a frame, like the original (Color = clBlack, BorderStyle = bsNone).
QPalette pal = palette();
pal.setColor(QPalette::Base, Qt::black);
setPalette(pal);
setFrameShape(QFrame::NoFrame);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
}
} // namespace Cevo