- /** Allow the view to access the ButtonController. This method must be
- instantiated in a daughter class that creates the actual instance
- of the ButtonController. */
- virtual ButtonControllerBase & bc() = 0;
+ /// Returns the user-specified iconification policy.
+ bool IconifyWithMain() const;
+
+ ///
+ ButtonControllerBase & bc();
+
+ ///
+ void setView(ViewBase &);
+ ///
+ void setButtonController(ButtonControllerBase &);
+ /** When Applying it's useful to know whether the dialog is about
+ to close or not (no point refreshing the display for example). */
+ bool isClosing() const { return is_closing_; }