Lines Matching refs:ButtonPolicy
25 static char const * printState(ButtonPolicy::State const & state) in printState()
28 case ButtonPolicy::INITIAL: in printState()
30 case ButtonPolicy::VALID: in printState()
32 case ButtonPolicy::INVALID: in printState()
34 case ButtonPolicy::APPLIED: in printState()
36 case ButtonPolicy::AUTOAPPLY_INITIAL: in printState()
38 case ButtonPolicy::AUTOAPPLY_CHANGED: in printState()
40 case ButtonPolicy::RO_INITIAL: in printState()
42 case ButtonPolicy::RO_VALID: in printState()
44 case ButtonPolicy::RO_INVALID: in printState()
46 case ButtonPolicy::RO_APPLIED: in printState()
48 case ButtonPolicy::RO_AUTOAPPLY: in printState()
50 case ButtonPolicy::BOGUS: in printState()
58 static char const * printInput(ButtonPolicy::SMInput const & input) in printInput()
61 case ButtonPolicy::SMI_VALID: in printInput()
63 case ButtonPolicy::SMI_INVALID: in printInput()
65 case ButtonPolicy::SMI_OKAY: in printInput()
67 case ButtonPolicy::SMI_APPLY: in printInput()
69 case ButtonPolicy::SMI_CANCEL: in printInput()
71 case ButtonPolicy::SMI_RESTORE: in printInput()
73 case ButtonPolicy::SMI_AUTOAPPLY: in printInput()
75 case ButtonPolicy::SMI_HIDE: in printInput()
77 case ButtonPolicy::SMI_READ_ONLY: in printInput()
79 case ButtonPolicy::SMI_READ_WRITE: in printInput()
81 case ButtonPolicy::SMI_NOOP: in printInput()
83 case ButtonPolicy::SMI_TOTAL: in printInput()
91 char const * functionName(ButtonPolicy::Policy policy) in functionName()
94 case ButtonPolicy::PreferencesPolicy: in functionName()
96 case ButtonPolicy::OkCancelPolicy: in functionName()
98 case ButtonPolicy::OkCancelReadOnlyPolicy: in functionName()
100 case ButtonPolicy::OkApplyCancelPolicy: in functionName()
102 case ButtonPolicy::OkApplyCancelReadOnlyPolicy: in functionName()
104 case ButtonPolicy::OkApplyCancelAutoReadOnlyPolicy: in functionName()
106 case ButtonPolicy::NoRepeatedApplyPolicy: in functionName()
108 case ButtonPolicy::NoRepeatedApplyReadOnlyPolicy: in functionName()
110 case ButtonPolicy::IgnorantPolicy: in functionName()
118 ostream & operator<<(ostream & os, ButtonPolicy::State st) in operator <<()
124 ostream & operator<<(ostream & os, ButtonPolicy::SMInput smi) in operator <<()
136 class ButtonPolicy::Private
139 typedef ButtonPolicy::SMInput SMInput;
140 typedef ButtonPolicy::Policy Policy;
141 typedef ButtonPolicy::State State;
176 ButtonPolicy::Private::Private(Policy policy) in Private()
212 void ButtonPolicy::Private::nextState(SMInput input) in nextState()
233 void ButtonPolicy::Private::initPreferences() in initPreferences()
235 outputs_ = StateOutputs(APPLIED + 1, ButtonPolicy::ALL_BUTTONS); in initPreferences()
237 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initPreferences()
283 void ButtonPolicy::Private::initOkCancel() in initOkCancel()
285 outputs_ = StateOutputs(INVALID + 1, ButtonPolicy::ALL_BUTTONS); in initOkCancel()
287 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initOkCancel()
320 void ButtonPolicy::Private::initOkCancelReadOnly() in initOkCancelReadOnly()
322 outputs_ = StateOutputs(RO_INVALID + 1, ButtonPolicy::ALL_BUTTONS); in initOkCancelReadOnly()
324 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initOkCancelReadOnly()
377 void ButtonPolicy::Private::initNoRepeatedApplyReadOnly() in initNoRepeatedApplyReadOnly()
379 outputs_ = StateOutputs(RO_INVALID + 1, ButtonPolicy::ALL_BUTTONS); in initNoRepeatedApplyReadOnly()
381 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initNoRepeatedApplyReadOnly()
437 void ButtonPolicy::Private::initOkApplyCancelReadOnly() in initOkApplyCancelReadOnly()
439 outputs_ = StateOutputs(RO_APPLIED + 1, ButtonPolicy::ALL_BUTTONS); in initOkApplyCancelReadOnly()
441 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initOkApplyCancelReadOnly()
509 void ButtonPolicy::Private::initOkApplyCancel() in initOkApplyCancel()
511 outputs_ = StateOutputs(APPLIED + 1, ButtonPolicy::ALL_BUTTONS); in initOkApplyCancel()
513 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initOkApplyCancel()
555 void ButtonPolicy::Private::initOkApplyCancelAutoReadOnly() in initOkApplyCancelAutoReadOnly()
557 outputs_ = StateOutputs(RO_AUTOAPPLY + 1, ButtonPolicy::ALL_BUTTONS); in initOkApplyCancelAutoReadOnly()
559 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initOkApplyCancelAutoReadOnly()
654 void ButtonPolicy::Private::initNoRepeatedApply() in initNoRepeatedApply()
656 outputs_ = StateOutputs(INVALID + 1, ButtonPolicy::ALL_BUTTONS); in initNoRepeatedApply()
658 StateArray(int(SMI_TOTAL), ButtonPolicy::BOGUS)); in initNoRepeatedApply()
698 ButtonPolicy::ButtonPolicy(Policy policy) in ButtonPolicy() function in lyx::frontend::ButtonPolicy
703 ButtonPolicy::~ButtonPolicy() in ~ButtonPolicy()
709 void ButtonPolicy::setPolicy(Policy policy) in setPolicy()
715 void ButtonPolicy::input(SMInput input) in input()
745 bool ButtonPolicy::buttonStatus(Button button) const in buttonStatus()
751 bool ButtonPolicy::isReadOnly() const in isReadOnly()