mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-02 21:14:05 +01:00
AccountSwitcher: make table sortable
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "Subaddress.h"
|
||||
#include <QAbstractTableModel>
|
||||
#include <QSortFilterProxyModel>
|
||||
|
||||
class SubaddressAccount;
|
||||
|
||||
@@ -45,4 +46,12 @@ private:
|
||||
SubaddressAccount *m_subaddressAccount;
|
||||
};
|
||||
|
||||
class SubaddressAccountProxyModel : public QSortFilterProxyModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SubaddressAccountProxyModel(QObject *parent = nullptr);
|
||||
};
|
||||
|
||||
#endif // SUBADDRESSACCOUNTMODEL_H
|
||||
|
||||
Reference in New Issue
Block a user