summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-30 16:05:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-30 16:09:34 +0300
commite768add9d172d78bd5deb7e98d228fb50bf8e2c5 (patch)
tree44b9767ce542e3f5649b2f1b14e66dc4e6472941 /src/gui/widgets/guitable.h
parente469ec3a8b0c41168bcb3c3071c252e196ae78a8 (diff)
downloadplus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.gz
plus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.bz2
plus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.tar.xz
plus-e768add9d172d78bd5deb7e98d228fb50bf8e2c5.zip
add support for unselectable guitables.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 072563715..d41e5589b 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -158,6 +158,9 @@ public:
void requestFocus();
+ void setSelectable(bool b)
+ { mSelectable = b; }
+
protected:
/** Frees all action listeners on inner widgets. */
void uninstallActionListeners();
@@ -194,6 +197,7 @@ private:
bool mLinewiseMode;
bool mWrappingEnabled;
bool mOpaque;
+ bool mSelectable;
};
#endif // GUI_WIDGETS_GUITABLE_H