mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-30 12:15:05 +00:00
27 lines
476 B
C
27 lines
476 B
C
|
#pragma once
|
||
|
#include <QDialog>
|
||
|
#include <QItemSelection>
|
||
|
|
||
|
namespace Ui {
|
||
|
class IconPickerDialog;
|
||
|
}
|
||
|
|
||
|
class IconPickerDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit IconPickerDialog(QWidget *parent = 0);
|
||
|
~IconPickerDialog();
|
||
|
int exec(QString selection);
|
||
|
QString selectedIconKey;
|
||
|
|
||
|
private:
|
||
|
Ui::IconPickerDialog *ui;
|
||
|
|
||
|
private slots:
|
||
|
void selectionChanged ( QItemSelection,QItemSelection );
|
||
|
void activated ( QModelIndex );
|
||
|
void delayed_scroll ( QModelIndex );
|
||
|
};
|