summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBWidgetPropertyModel.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-23 08:18:28 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-23 08:18:28 +0200
commit6a0011dcea26bc687a6c114e62ec1496807d1115 (patch)
treeff52ed80b1544559e82b0ec55d7553d1b6551a86 /DevTools/VisualBuilder/VBWidgetPropertyModel.h
parent1d0ada32cc33aac5ed9ad8fa65cb051512edd57a (diff)
downloadserenity-6a0011dcea26bc687a6c114e62ec1496807d1115.zip
LibGUI+VisualBuilder: Support custom editing widgets for property values.
Implemented this by letting GAbstractViews provide a GModelEditingDelegate for a given index, which then knows how to create and setup a custom widget appropriate for the data type being edited.
Diffstat (limited to 'DevTools/VisualBuilder/VBWidgetPropertyModel.h')
-rw-r--r--DevTools/VisualBuilder/VBWidgetPropertyModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/VisualBuilder/VBWidgetPropertyModel.h b/DevTools/VisualBuilder/VBWidgetPropertyModel.h
index 0653e818ae..8d5cf17eae 100644
--- a/DevTools/VisualBuilder/VBWidgetPropertyModel.h
+++ b/DevTools/VisualBuilder/VBWidgetPropertyModel.h
@@ -10,6 +10,7 @@ public:
enum Column {
Name = 0,
Value,
+ Type,
__Count
};