Progress indicators
This commit is contained in:
@@ -5,6 +5,16 @@
|
||||
#include <QLineEdit>
|
||||
#include <QCache>
|
||||
|
||||
struct CategorizedViewRoles
|
||||
{
|
||||
enum
|
||||
{
|
||||
CategoryRole = Qt::UserRole,
|
||||
ProgressValueRole,
|
||||
ProgressMaximumRole
|
||||
};
|
||||
};
|
||||
|
||||
class CategorizedView : public QListView
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -13,11 +23,6 @@ public:
|
||||
CategorizedView(QWidget *parent = 0);
|
||||
~CategorizedView();
|
||||
|
||||
enum
|
||||
{
|
||||
CategoryRole = Qt::UserRole
|
||||
};
|
||||
|
||||
virtual QRect visualRect(const QModelIndex &index) const;
|
||||
QModelIndex indexAt(const QPoint &point) const;
|
||||
void setSelection(const QRect &rect, const QItemSelectionModel::SelectionFlags commands) override;
|
||||
|
||||
Reference in New Issue
Block a user