19 #ifndef INCLUDED_VCL_WIZARDMACHINE_HXX
20 #define INCLUDED_VCL_WIZARDMACHINE_HXX
35 #define WZS_INVALID_STATE (::vcl::WizardTypes::WizardState(-1))
62 virtual void initializePage() = 0;
72 virtual bool canAdvance()
const = 0;
86 virtual void initializePage()
override;
88 virtual bool canAdvance()
const override;
92 virtual void Activate()
override;
99 void updateDialogTravelUI();
136 std::unique_ptr<WizardMachineImplData>
m_pImpl;
148 void AddPage( std::unique_ptr<BuilderPage> xPage );
161 void setTitleBase(
const OUString& _rTitleBase);
164 virtual bool canAdvance()
const;
172 virtual void updateTravelUI();
175 virtual void ActivatePage();
176 virtual bool DeactivatePage();
223 virtual bool onFinish();
229 bool travelPrevious();
236 void enableAutomaticNextButtonState();
237 bool isAutomaticNextButtonStateEnabled()
const;
303 void getStateHistory(std::vector<WizardTypes::WizardState>& out_rHistory);
313 void suspendTraveling( AccessGuard );
314 void resumeTraveling( AccessGuard );
315 bool isTravelingSuspended()
const;
351 #define WIZARDDIALOG_BUTTON_STDOFFSET_X 6
352 #define WIZARDDIALOG_BUTTON_SMALLSTDOFFSET_X 3
354 #endif // INCLUDED_VCL_WIZARDMACHINE_HXX
std::unique_ptr< weld::Button > m_xPrevPage
void suspendTraveling(AccessGuard)
std::unique_ptr< WizardMachineImplData > m_pImpl
std::unique_ptr< weld::Button > m_xHelp
std::unique_ptr< weld::Button > m_xCancel
~WizardTravelSuspension()
WizPageData * m_pFirstPage
std::unique_ptr< weld::Button > m_xNextPage
implements some kind of finite automata, where the states of the automata exactly correlate with tab ...
WizardTypes::WizardState getCurrentState() const
returns the current state of the machine
WizardMachine * m_pWizard
std::unique_ptr< weld::Button > m_xFinish
WizardTravelSuspension(WizardMachine &rWizard)
void resumeTraveling(AccessGuard)
BuilderPage * m_pCurTabPage
#define DECL_DLLPRIVATE_LINK(Member, ArgType, RetType)
WizardTypes::WizardState m_nCurState
helper class to temporarily suspend any traveling in the wizard