mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Updated CheckComboBox to look more like QComboBox
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -49,8 +49,11 @@ class CheckComboBox : public QComboBox {
|
||||
signals:
|
||||
void checkedItemsChanged(const QStringList& items);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent*) override;
|
||||
|
||||
private:
|
||||
void updateCheckedItems();
|
||||
void emitCheckedItemsChanged();
|
||||
bool eventFilter(QObject* receiver, QEvent* event) override;
|
||||
void toggleCheckState(int index);
|
||||
|
||||
|
Reference in New Issue
Block a user