17 std::unique_ptr<CheckData>& pCheckData)
18 : m_xBuilder(
Application::CreateBuilder(pParent,
"svx/ui/genericcheckentry.ui"))
19 ,
m_xContainer(m_xBuilder->weld_container(
"checkEntryBox"))
20 ,
m_xLabel(m_xBuilder->weld_label(
"label"))
21 , m_xMarkButton(m_xBuilder->weld_button(
"markButton"))
22 , m_xPropertiesButton(m_xBuilder->weld_button(
"propertiesButton"))
23 , m_pCheckData(pCheckData)
36 m_pCheckData->markObject();
41 m_pCheckData->runProperties();
46 : GenericDialogController(pParent,
"svx/ui/genericcheckdialog.ui",
"GenericCheckDialog")
47 , m_rCheckDataCollection(rCheckDataCollection)
48 , m_xCheckBox(m_xBuilder->weld_box(
"checkBox"))
61 auto xEntry = std::make_unique<GenericCheckEntry>(
m_xCheckBox.get(), pCheckData);
65 return GenericDialogController::run();
std::unique_ptr< weld::Label > m_xLabel
Check data collection contains all the checks in one data structure, and also serves to define additi...
virtual OUString getTitle()=0
std::vector< std::unique_ptr< CheckData > > & getCollection()
CheckDataCollection & m_rCheckDataCollection
std::unique_ptr< weld::Box > m_xCheckBox
std::vector< std::unique_ptr< GenericCheckEntry > > m_aCheckEntries
virtual ~GenericCheckDialog() override
GenericCheckDialog(weld::Window *pParent, CheckDataCollection &rCheckDataCollection)
virtual short run() override
A UI piece to show check result text and other widgets, which are relevant for the check (various but...
GenericCheckEntry(weld::Container *pParent, std::unique_ptr< CheckData > &rCheckData)
std::unique_ptr< CheckData > & m_pCheckData
std::unique_ptr< weld::Button > m_xMarkButton
std::unique_ptr< weld::Button > m_xPropertiesButton
std::unique_ptr< weld::Container > m_xContainer
std::unique_ptr< weld::Label > m_xLabel
void set_title(const OUString &rTitle)
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(SuggestionDisplay, SelectSuggestionValueSetHdl, ValueSet *, void)
Reference< XNameAccess > m_xContainer