summaryrefslogtreecommitdiff
path: root/src/modlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlistview.h')
-rw-r--r--src/modlistview.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h
index dac96822..84e55e2b 100644
--- a/src/modlistview.h
+++ b/src/modlistview.h
@@ -36,6 +36,14 @@ public:
OnViewport = DropIndicatorPosition::OnViewport
};
+ // indiucate the groupby mode
+ enum class GroupByMode {
+ NONE,
+ SEPARATOR,
+ CATEGORY,
+ NEXUS_ID
+ };
+
public:
explicit ModListView(QWidget* parent = 0);
@@ -58,6 +66,10 @@ public:
//
int sortColumn() const;
+ // the current group mode
+ //
+ GroupByMode groupByMode() const;
+
// retrieve the actions from the view
//
ModListViewActions& actions() const;
@@ -173,6 +185,8 @@ private:
//
void updateGroupByProxy(int groupIndex);
+ // index in the groupby combo
+ //
enum GroupBy {
NONE = 0,
CATEGORY = 1,