More sync from quickmods
Also a small VersionSelectDialog refactor
This commit is contained in:
parent
20cb97a35a
commit
b00e63dbe8
10 changed files with 378 additions and 28 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue