More sync from quickmods
Also a small VersionSelectDialog refactor
This commit is contained in:
@ -27,6 +27,8 @@ namespace Ui
|
||||
class VersionSelectDialog;
|
||||
}
|
||||
|
||||
class VersionSelectProxyModel;
|
||||
|
||||
class VersionSelectDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -47,6 +49,7 @@ public:
|
||||
void setExactFilter(int column, QString filter);
|
||||
void setEmptyString(QString emptyString);
|
||||
void setResizeOn(int column);
|
||||
void setUseLatest(const bool useLatest);
|
||||
|
||||
private
|
||||
slots:
|
||||
@ -57,7 +60,8 @@ private:
|
||||
|
||||
BaseVersionList *m_vlist;
|
||||
|
||||
QSortFilterProxyModel *m_proxyModel;
|
||||
VersionSelectProxyModel *m_proxyModel;
|
||||
|
||||
int resizeOnColumn = 0;
|
||||
bool m_useLatest;
|
||||
};
|
||||
|
Reference in New Issue
Block a user