diff options
author | Kohei Yoshida <kohei@openoffice.org> | 2009-07-31 04:56:38 +0000 |
---|---|---|
committer | Kohei Yoshida <kohei@openoffice.org> | 2009-07-31 04:56:38 +0000 |
commit | 8dca6ccdde0d337c113217562c3a9f594ddbc155 (patch) | |
tree | a4200a552db7e5247a6d3e46505c7cc650e63aab /sc/source/ui/inc/dpcontrol.hxx | |
parent | 69e8adefda15685dc09b7af00fd6743c1937c4c7 (diff) |
Implemented single-select buttons. It's fully functional.
Diffstat (limited to 'sc/source/ui/inc/dpcontrol.hxx')
-rw-r--r-- | sc/source/ui/inc/dpcontrol.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx index 0a97f7e1046a..5f990038a112 100644 --- a/sc/source/ui/inc/dpcontrol.hxx +++ b/sc/source/ui/inc/dpcontrol.hxx @@ -248,14 +248,17 @@ private: LISTBOX_AREA_INNER, // box enclosing the check box items. SINGLE_BTN_AREA, // box enclosing the single-action buttons. CHECK_TOGGLE_ALL, // check box for toggling all items. + BTN_SINGLE_SELECT, + BTN_SINGLE_UNSELECT, BTN_OK, // OK button BTN_CANCEL, // Cancel button }; void getSectionPosSize(Point& rPos, Size& rSize, SectionType eType) const; void setAllMemberState(bool bSet); + void selectCurrentMemberOnly(bool bSet); - DECL_LINK( OKButtonHdl, OKButton* ); + DECL_LINK( ButtonHdl, Button* ); DECL_LINK( TriStateHdl, TriStateBox* ); DECL_LINK( CheckHdl, SvTreeListBox* ); @@ -263,6 +266,8 @@ private: SvxCheckListBox maChecks; TriStateBox maChkToggleAll; + ImageButton maBtnSelectSingle; + ImageButton maBtnUnselectSingle; OKButton maBtnOk; CancelButton maBtnCancel; |