Optionsopts=NO_OPTIONS);//!< Constructs the dialog with no default resolutions. \param parent Parent top-level widget. \param Opts Construction options.
/*! \param obj The object to resolve.
\returnTheacceptedresolution.*/
intexecute(void*obj);//!< Prompts the dialog asking for user input, until a
//! valid resolution for the specified object is selected or
//! the action is canceled.
virtualvoidreset();//!< Clears accepted resolutions - should be used together
//! with option \p APPLY_TO_ALL.
protected:
QButtonGroup*m_buttonGroup;//!< Group of abstract buttons representing all
//! available resolutions.
protected:
/*! \details Resolution \p NO_REQUIRED_RESOLUTION is always tested before other
proposedresolutions.
\returnAnerrormessageuponfailure.*/
virtualQStringacceptResolution(
void*obj,//!< The type-erased object to be resolved. May be modified.
intresolution,//!< The <I>button id</I> associated to the selected resolution.
boolapplyToAll//!< Whether user selected the resolution for all successive prompts.
)=0;//!< Attempts enforcement of the selected resolution.
/*! \details This function can be used to initialize the widget as soon as