diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-17 23:29:27 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-17 23:29:27 +0200 |
commit | 17a739b7e10e1417124d5aa1a1d253c266dccc21 (patch) | |
tree | 27fd9787b7dd781378c01164ccbe56c60ebfd945 /dw/widget.hh | |
parent | 0754874120c89fbc7e8c21b43c25337c83d74313 (diff) |
Handling nested layouts (e. g. <button>), part 1.
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index d045ffc2..bfbf1e91 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -105,6 +105,11 @@ private: Widget *parent; /** + * \brief ... + */ + Widget *quasiParent; + + /** * \brief The generating widget, NULL for top-level widgets, or if * not set; in the latter case, the effective generator (see * getGenerator) is the parent. @@ -390,6 +395,7 @@ public: inline bool wasAllocated () { return flags & WAS_ALLOCATED; } void setParent (Widget *parent); + void setQuasiParent (Widget *quasiParent); void setGenerator (Widget *generator) { this->generator = generator; } |