- /** \name Dialog Specialization
- * Methods to set the Controller and View and so specialise
- * to a particular dialog.
- */
- //@{
- /// \param ptr is stored and destroyed by \c Dialog.
- void setController(Controller * ptr);
- //@}
-
- /** \name Dialog Components
- * Methods to access the various components making up a dialog.
- */
- //@{
- virtual Controller & controller() { return *controller_; }
- //@}
-
- /** Defaults to nothing. Can be used by the Controller, however, to
- * indicate to the View that something has changed and that the
- * dialog therefore needs updating.
- * \param id identifies what should be updated.
- */
- virtual void partialUpdateView(int /*id*/) {}
-
- ///
- std::string name() const { return name_; }
-
- void apply();
- void redrawView() {}
-
-private: