class QWidget;
class QPushButton;
class QLineEdit;
+class QCheckBox;
namespace lyx {
namespace frontend {
~ButtonController();
//@{
- /** Methods to set and get the ButtonPolicy.
- * \param ptr is owned by the ButtonController.
- */
+ /// Methods to set and get the ButtonPolicy.
void setPolicy(ButtonPolicy::Policy policy);
ButtonPolicy const & policy() const;
ButtonPolicy & policy();
void apply();
void cancel();
void restore();
+ void autoApply();
//@}
/// Tell the BC that the dialog is being hidden
*/
bool setReadOnly(bool);
- /** \param validity Tell the BC that the data is, or is not, valid.
+ /**
* Sets the activation state of the buttons immediately.
+ * \param validity Tell the BC that the data is, or is not, valid.
*/
void setValid(bool);
//
//@{
- /** Store pointers to these widgets.
- */
+ /// Store pointers to these widgets.
void setOK(QPushButton * obj);
void setApply(QPushButton * obj);
void setCancel(QPushButton * obj);
void setRestore(QPushButton * obj);
+ void setAutoApply(QCheckBox * obj);
//@}
/** Add a pointer to the list of widgets whose activation