LibreOffice Module sc (master) 1
Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
ScCheckListMenuControl Class Referencefinal

This class implements a popup window for the auto filter dropdown. More...

#include <checklistmenu.hxx>

Collaboration diagram for ScCheckListMenuControl:
[legend]

Classes

class  Action
 Action to perform when an event takes place. More...
 
struct  Config
 Configuration options for this popup window. More...
 
struct  ExtendedData
 Extended data that the client code may need to store. More...
 
struct  MenuItemData
 
struct  ResultEntry
 
struct  SubMenuItemData
 

Public Types

typedef std::set< ResultEntryResultType
 

Public Member Functions

 ScCheckListMenuControl (weld::Widget *pParent, ScViewData &rViewData, bool bTreeMode, int nWidth, bool bIsMultiField=false)
 
 ~ScCheckListMenuControl ()
 
void addMenuItem (const OUString &rText, Action *pAction)
 
void addSeparator ()
 
ScListSubMenuControladdSubMenuItem (const OUString &rText, bool bEnabled, bool bColorMenu)
 
void selectMenuItem (size_t nPos, bool bSubMenuTimer)
 
void queueLaunchSubMenu (size_t nPos, ScListSubMenuControl *pMenu)
 
void setMemberSize (size_t n)
 
void addDateMember (const OUString &rName, double nVal, bool bVisible, bool bHiddenByOtherFilter)
 
void addMember (const OUString &rName, const double nVal, bool bVisible, bool bHiddenByOtherFilter, bool bValue=false)
 
void clearMembers ()
 
size_t initMembers (int nMaxMemberWidth=-1)
 
void setConfig (const Config &rConfig)
 
bool isAllSelected () const
 
void getResult (ResultType &rResult)
 
void launch (weld::Widget *pWidget, const tools::Rectangle &rRect)
 
void close (bool bOK)
 
void StartPopupMode (weld::Widget *pParent, const tools::Rectangle &rRect)
 
void EndPopupMode ()
 
size_t getSubMenuPos (const ScListSubMenuControl *pSubMenu)
 
void setSubMenuFocused (const ScListSubMenuControl *pSubMenu)
 
void queueCloseSubMenu ()
 
void clearSelectedMenuItem ()
 
void setExtendedData (std::unique_ptr< ExtendedData > p)
 Set auxiliary data that the client code might need. More...
 
ExtendedDatagetExtendedData ()
 Get the store auxiliary data, or NULL if no such data is stored. More...
 
ScViewDataGetViewData () const
 
void GrabFocus ()
 
void setOKAction (Action *p)
 
void setPopupEndAction (Action *p)
 
void setFieldChangedAction (Action *p)
 
int GetTextWidth (const OUString &rsName) const
 
int IncreaseWindowWidthToFitText (int nMaxTextWidth)
 
void terminateAllPopupMenus ()
 Dismiss all visible popup menus and set focus back to the application window. More...
 
void endSubMenu (ScListSubMenuControl &rSubMenu)
 
void addFields (const std::vector< OUString > &aFields)
 
tools::Long getField ()
 

Static Public Attributes

static constexpr size_t MENU_NOT_SELECTED = 999
 

Private Member Functions

void prepWindow ()
 Calculate the appropriate window size based on the menu items. More...
 
void setAllMemberState (bool bSet)
 
void selectCurrentMemberOnly (bool bSet)
 
void updateMemberParents (const weld::TreeIter *pLeaf, size_t nIdx)
 
std::unique_ptr< weld::TreeIterShowCheckEntry (const OUString &sName, ScCheckListMember &rMember, bool bShow=true, bool bCheck=true)
 
void CheckEntry (std::u16string_view sName, const weld::TreeIter *pParent, bool bCheck)
 
void CheckEntry (const weld::TreeIter &rEntry, bool bCheck)
 
void GetRecursiveChecked (const weld::TreeIter *pEntry, std::unordered_set< OUString > &vOut, OUString &rLabel)
 
std::unordered_set< OUString > GetAllChecked ()
 
bool IsChecked (std::u16string_view sName, const weld::TreeIter *pParent)
 
int GetCheckedEntryCount () const
 
void CheckAllChildren (const weld::TreeIter &rEntry, bool bCheck)
 
void setSelectedMenuItem (size_t nPos)
 
std::unique_ptr< weld::TreeIterFindEntry (const weld::TreeIter *pParent, std::u16string_view sNode)
 
void executeMenuItem (size_t nPos)
 
tools::Rectangle GetSubMenuParentRect ()
 Get the area of the active row. More...
 
void handleMenuTimeout (const SubMenuItemData *pTimer)
 
void launchSubMenu ()
 
void CreateDropDown ()
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (TriStateHdl, weld::Toggleable &, void)
 
void Check (const weld::TreeIter *pIter)
 
 DECL_LINK (CheckHdl, const weld::TreeView::iter_col &, void)
 
 DECL_LINK (PopupModeEndHdl, weld::Popover &, void)
 
 DECL_LINK (SearchEditTimeoutHdl, Timer *, void)
 
 DECL_LINK (ComboChangedHdl, weld::ComboBox &, void)
 
 DECL_LINK (EdModifyHdl, weld::Entry &, void)
 
 DECL_LINK (EdActivateHdl, weld::Entry &, bool)
 
 DECL_LINK (RowActivatedHdl, weld::TreeView &rMEvt, bool)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (TreeSizeAllocHdl, const Size &, void)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (MenuKeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (MouseEnterHdl, const MouseEvent &, bool)
 
 DECL_LINK (PostPopdownHdl, void *, void)
 
void SetDropdownPos ()
 
 DECL_LINK (SetDropdownPosHdl, void *, void)
 
 DECL_LINK (CommandHdl, const CommandEvent &, bool)
 
void ResizeToRequest ()
 
void DropPendingEvents ()
 

Private Attributes

std::vector< MenuItemDatamaMenuItems
 
std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::PopovermxPopover
 
std::unique_ptr< weld::ContainermxContainer
 
std::unique_ptr< weld::TreeViewmxMenu
 
std::unique_ptr< weld::TreeItermxScratchIter
 
std::unique_ptr< weld::WidgetmxNonMenu
 
std::unique_ptr< weld::LabelmxFieldsComboLabel
 
std::unique_ptr< weld::ComboBoxmxFieldsCombo
 
std::unique_ptr< weld::EntrymxEdSearch
 
std::unique_ptr< weld::WidgetmxBox
 
std::unique_ptr< weld::TreeViewmxListChecks
 
std::unique_ptr< weld::TreeViewmxTreeChecks
 
weld::TreeViewmpChecks
 
std::unique_ptr< weld::CheckButtonmxChkToggleAll
 
std::unique_ptr< weld::ButtonmxBtnSelectSingle
 
std::unique_ptr< weld::ButtonmxBtnUnselectSingle
 
std::unique_ptr< weld::BoxmxButtonBox
 
std::unique_ptr< weld::ButtonmxBtnOk
 
std::unique_ptr< weld::ButtonmxBtnCancel
 
std::unique_ptr< weld::MenumxContextMenu
 
ScopedVclPtr< VirtualDevicemxDropDown
 
std::vector< ScCheckListMembermaMembers
 
std::map< OUString, size_t > maYearMonthMap
 
std::unique_ptr< ExtendedDatamxExtendedData
 
std::unique_ptr< ActionmxOKAction
 
std::unique_ptr< ActionmxPopupEndAction
 
std::unique_ptr< ActionmxFieldChangedAction
 
Config maConfig
 
Size maAllocatedSize
 
int mnCheckWidthReq
 
int mnWndWidth
 matching width request for mxChecks More...
 
int mnCheckListVisibleRows
 whole window width. More...
 
TriState mePrevToggleAllState
 
size_t mnSelectedMenu
 
ScViewDatamrViewData
 
ImplSVEventmnAsyncPostPopdownId
 
ImplSVEventmnAsyncSetDropdownPosId
 
bool mbHasDates
 
bool mbIsPoppedUp
 
SubMenuItemData maOpenTimer
 
SubMenuItemData maCloseTimer
 
Timer maSearchEditTimer
 
bool mbIsMultiField
 

Detailed Description

This class implements a popup window for the auto filter dropdown.

Definition at line 56 of file checklistmenu.hxx.

Member Typedef Documentation

◆ ResultType

Definition at line 95 of file checklistmenu.hxx.

Constructor & Destructor Documentation

◆ ScCheckListMenuControl()

ScCheckListMenuControl::ScCheckListMenuControl ( weld::Widget pParent,
ScViewData rViewData,
bool  bTreeMode,
int  nWidth,
bool  bIsMultiField = false 
)

◆ ~ScCheckListMenuControl()

ScCheckListMenuControl::~ScCheckListMenuControl ( )

Member Function Documentation

◆ addDateMember()

void ScCheckListMenuControl::addDateMember ( const OUString &  rName,
double  nVal,
bool  bVisible,
bool  bHiddenByOtherFilter 
)

◆ addFields()

void ScCheckListMenuControl::addFields ( const std::vector< OUString > &  aFields)

Definition at line 376 of file checklistmenu.cxx.

References mbIsMultiField, and mxFieldsCombo.

◆ addMember()

void ScCheckListMenuControl::addMember ( const OUString &  rName,
const double  nVal,
bool  bVisible,
bool  bHiddenByOtherFilter,
bool  bValue = false 
)

◆ addMenuItem()

void ScCheckListMenuControl::addMenuItem ( const OUString &  rText,
Action pAction 
)

◆ addSeparator()

void ScCheckListMenuControl::addSeparator ( )

Definition at line 133 of file checklistmenu.cxx.

References maMenuItems, and mxMenu.

◆ addSubMenuItem()

ScListSubMenuControl * ScCheckListMenuControl::addSubMenuItem ( const OUString &  rText,
bool  bEnabled,
bool  bColorMenu 
)

◆ Check()

void ScCheckListMenuControl::Check ( const weld::TreeIter pIter)
private

◆ CheckAllChildren()

void ScCheckListMenuControl::CheckAllChildren ( const weld::TreeIter rEntry,
bool  bCheck 
)
private

◆ CheckEntry() [1/2]

void ScCheckListMenuControl::CheckEntry ( const weld::TreeIter rEntry,
bool  bCheck 
)
private

◆ CheckEntry() [2/2]

void ScCheckListMenuControl::CheckEntry ( std::u16string_view  sName,
const weld::TreeIter pParent,
bool  bCheck 
)
private

Definition at line 1203 of file checklistmenu.cxx.

References CheckEntry(), FindEntry(), and sName.

Referenced by Check(), CheckEntry(), initMembers(), and ShowCheckEntry().

◆ clearMembers()

void ScCheckListMenuControl::clearMembers ( )

◆ clearSelectedMenuItem()

void ScCheckListMenuControl::clearSelectedMenuItem ( )

Definition at line 426 of file checklistmenu.cxx.

References MENU_NOT_SELECTED, and selectMenuItem().

◆ close()

void ScCheckListMenuControl::close ( bool  bOK)

Definition at line 1528 of file checklistmenu.cxx.

References EndPopupMode(), and mxOKAction.

◆ CreateDropDown()

void ScCheckListMenuControl::CreateDropDown ( )
private

◆ DECL_LINK() [1/17]

ScCheckListMenuControl::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/17]

ScCheckListMenuControl::DECL_LINK ( CheckHdl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [3/17]

ScCheckListMenuControl::DECL_LINK ( ComboChangedHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/17]

ScCheckListMenuControl::DECL_LINK ( CommandHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [5/17]

ScCheckListMenuControl::DECL_LINK ( EdActivateHdl  ,
weld::Entry ,
bool   
)
private

◆ DECL_LINK() [6/17]

ScCheckListMenuControl::DECL_LINK ( EdModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/17]

ScCheckListMenuControl::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [8/17]

ScCheckListMenuControl::DECL_LINK ( MenuKeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [9/17]

ScCheckListMenuControl::DECL_LINK ( MouseEnterHdl  ,
const MouseEvent ,
bool   
)
private

◆ DECL_LINK() [10/17]

ScCheckListMenuControl::DECL_LINK ( PopupModeEndHdl  ,
weld::Popover ,
void   
)
private

◆ DECL_LINK() [11/17]

ScCheckListMenuControl::DECL_LINK ( PostPopdownHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [12/17]

ScCheckListMenuControl::DECL_LINK ( RowActivatedHdl  ,
weld::TreeView rMEvt,
bool   
)
private

◆ DECL_LINK() [13/17]

ScCheckListMenuControl::DECL_LINK ( SearchEditTimeoutHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [14/17]

ScCheckListMenuControl::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [15/17]

ScCheckListMenuControl::DECL_LINK ( SetDropdownPosHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [16/17]

ScCheckListMenuControl::DECL_LINK ( TreeSizeAllocHdl  ,
const Size ,
void   
)
private

◆ DECL_LINK() [17/17]

ScCheckListMenuControl::DECL_LINK ( TriStateHdl  ,
weld::Toggleable ,
void   
)
private

◆ DropPendingEvents()

void ScCheckListMenuControl::DropPendingEvents ( )
private

◆ EndPopupMode()

void ScCheckListMenuControl::EndPopupMode ( )

Definition at line 453 of file checklistmenu.cxx.

References mbIsPoppedUp, and mxPopover.

Referenced by close(), terminateAllPopupMenus(), and ~ScCheckListMenuControl().

◆ endSubMenu()

void ScCheckListMenuControl::endSubMenu ( ScListSubMenuControl rSubMenu)

◆ executeMenuItem()

void ScCheckListMenuControl::executeMenuItem ( size_t  nPos)
private

◆ FindEntry()

std::unique_ptr< weld::TreeIter > ScCheckListMenuControl::FindEntry ( const weld::TreeIter pParent,
std::u16string_view  sNode 
)
private

◆ GetAllChecked()

std::unordered_set< OUString > ScCheckListMenuControl::GetAllChecked ( )
private

◆ GetCheckedEntryCount()

int ScCheckListMenuControl::GetCheckedEntryCount ( ) const
private

◆ getExtendedData()

ScCheckListMenuControl::ExtendedData * ScCheckListMenuControl::getExtendedData ( )

Get the store auxiliary data, or NULL if no such data is stored.

Definition at line 1540 of file checklistmenu.cxx.

References mxExtendedData.

Referenced by ScListSubMenuControl::getExtendedData().

◆ getField()

tools::Long ScCheckListMenuControl::getField ( )

Definition at line 389 of file checklistmenu.cxx.

References mbIsMultiField, and mxFieldsCombo.

◆ GetRecursiveChecked()

void ScCheckListMenuControl::GetRecursiveChecked ( const weld::TreeIter pEntry,
std::unordered_set< OUString > &  vOut,
OUString &  rLabel 
)
private

◆ getResult()

void ScCheckListMenuControl::getResult ( ResultType rResult)

◆ GetSubMenuParentRect()

tools::Rectangle ScCheckListMenuControl::GetSubMenuParentRect ( )
private

Get the area of the active row.

Suitable as the parent rectangle argument for Executing a popup

Definition at line 322 of file checklistmenu.cxx.

References mxMenu, and mxScratchIter.

Referenced by launchSubMenu().

◆ getSubMenuPos()

size_t ScCheckListMenuControl::getSubMenuPos ( const ScListSubMenuControl pSubMenu)

Definition at line 431 of file checklistmenu.cxx.

References i, maMenuItems, MENU_NOT_SELECTED, and n.

Referenced by endSubMenu(), and setSubMenuFocused().

◆ GetTextWidth()

int ScCheckListMenuControl::GetTextWidth ( const OUString &  rsName) const

Definition at line 1570 of file checklistmenu.cxx.

References mxDropDown.

◆ GetViewData()

ScViewData & ScCheckListMenuControl::GetViewData ( ) const
inline

Definition at line 170 of file checklistmenu.hxx.

References mrViewData.

Referenced by ScListSubMenuControl::GetViewData().

◆ GrabFocus()

void ScCheckListMenuControl::GrabFocus ( )

Definition at line 628 of file checklistmenu.cxx.

References mxEdSearch, and mxMenu.

Referenced by StartPopupMode().

◆ handleMenuTimeout()

void ScCheckListMenuControl::handleMenuTimeout ( const SubMenuItemData pTimer)
private

◆ IncreaseWindowWidthToFitText()

int ScCheckListMenuControl::IncreaseWindowWidthToFitText ( int  nMaxTextWidth)

◆ initMembers()

size_t ScCheckListMenuControl::initMembers ( int  nMaxMemberWidth = -1)

◆ isAllSelected()

bool ScCheckListMenuControl::isAllSelected ( ) const

Definition at line 1448 of file checklistmenu.cxx.

References mxChkToggleAll, and TRISTATE_TRUE.

◆ IsChecked()

bool ScCheckListMenuControl::IsChecked ( std::u16string_view  sName,
const weld::TreeIter pParent 
)
private

Definition at line 1197 of file checklistmenu.cxx.

References FindEntry(), weld::TreeView::get_toggle(), mpChecks, sName, and TRISTATE_TRUE.

Referenced by initMembers().

◆ launch()

void ScCheckListMenuControl::launch ( weld::Widget pWidget,
const tools::Rectangle rRect 
)

◆ launchSubMenu()

void ScCheckListMenuControl::launchSubMenu ( )
private

◆ prepWindow()

void ScCheckListMenuControl::prepWindow ( )
private

Calculate the appropriate window size based on the menu items.

Definition at line 662 of file checklistmenu.cxx.

References MENU_NOT_SELECTED, mnSelectedMenu, mnWndWidth, mxContainer, mxMenu, and nBorderWidth.

Referenced by launch().

◆ queueCloseSubMenu()

void ScCheckListMenuControl::queueCloseSubMenu ( )

◆ queueLaunchSubMenu()

void ScCheckListMenuControl::queueLaunchSubMenu ( size_t  nPos,
ScListSubMenuControl pMenu 
)

◆ ResizeToRequest()

void ScCheckListMenuControl::ResizeToRequest ( )
private

◆ selectCurrentMemberOnly()

void ScCheckListMenuControl::selectCurrentMemberOnly ( bool  bSet)
private

◆ selectMenuItem()

void ScCheckListMenuControl::selectMenuItem ( size_t  nPos,
bool  bSubMenuTimer 
)

◆ setAllMemberState()

void ScCheckListMenuControl::setAllMemberState ( bool  bSet)
private

◆ setConfig()

void ScCheckListMenuControl::setConfig ( const Config rConfig)

Definition at line 1443 of file checklistmenu.cxx.

References maConfig.

◆ SetDropdownPos()

void ScCheckListMenuControl::SetDropdownPos ( )
private

Definition at line 154 of file checklistmenu.cxx.

References maAllocatedSize, mxMenu, and Size::Width().

Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().

◆ setExtendedData()

void ScCheckListMenuControl::setExtendedData ( std::unique_ptr< ExtendedData p)

Set auxiliary data that the client code might need.

Note that this popup window class manages its life time; no explicit deletion of the instance is needed in the client code.

Definition at line 1535 of file checklistmenu.cxx.

References mxExtendedData, and p.

◆ setFieldChangedAction()

void ScCheckListMenuControl::setFieldChangedAction ( Action p)

Definition at line 1555 of file checklistmenu.cxx.

References mxFieldChangedAction, and p.

◆ setMemberSize()

void ScCheckListMenuControl::setMemberSize ( size_t  n)

Definition at line 1008 of file checklistmenu.cxx.

References maMembers, and n.

◆ setOKAction()

void ScCheckListMenuControl::setOKAction ( Action p)

Definition at line 1545 of file checklistmenu.cxx.

References mxOKAction, and p.

◆ setPopupEndAction()

void ScCheckListMenuControl::setPopupEndAction ( Action p)

Definition at line 1550 of file checklistmenu.cxx.

References mxPopupEndAction, and p.

◆ setSelectedMenuItem()

void ScCheckListMenuControl::setSelectedMenuItem ( size_t  nPos)
private

Definition at line 230 of file checklistmenu.cxx.

References mnSelectedMenu, nPos, and selectMenuItem().

Referenced by IMPL_LINK_NOARG().

◆ setSubMenuFocused()

void ScCheckListMenuControl::setSubMenuFocused ( const ScListSubMenuControl pSubMenu)

◆ ShowCheckEntry()

std::unique_ptr< weld::TreeIter > ScCheckListMenuControl::ShowCheckEntry ( const OUString &  sName,
ScCheckListMember rMember,
bool  bShow = true,
bool  bCheck = true 
)
private

◆ StartPopupMode()

void ScCheckListMenuControl::StartPopupMode ( weld::Widget pParent,
const tools::Rectangle rRect 
)

Definition at line 463 of file checklistmenu.cxx.

References GrabFocus(), LINK, mbIsPoppedUp, and mxPopover.

Referenced by launch().

◆ terminateAllPopupMenus()

void ScCheckListMenuControl::terminateAllPopupMenus ( )

Dismiss all visible popup menus and set focus back to the application window.

This method is called e.g. when a menu action is fired.

Definition at line 471 of file checklistmenu.cxx.

References EndPopupMode().

Referenced by executeMenuItem(), and ScListSubMenuControl::terminateAllPopupMenus().

◆ updateMemberParents()

void ScCheckListMenuControl::updateMemberParents ( const weld::TreeIter pLeaf,
size_t  nIdx 
)
private

Member Data Documentation

◆ maAllocatedSize

Size ScCheckListMenuControl::maAllocatedSize
private

Definition at line 302 of file checklistmenu.hxx.

Referenced by IMPL_LINK(), and SetDropdownPos().

◆ maCloseTimer

SubMenuItemData ScCheckListMenuControl::maCloseTimer
private

◆ maConfig

Config ScCheckListMenuControl::maConfig
private

Definition at line 301 of file checklistmenu.hxx.

Referenced by Check(), launch(), setAllMemberState(), and setConfig().

◆ maMembers

std::vector<ScCheckListMember> ScCheckListMenuControl::maMembers
private

◆ maMenuItems

std::vector<MenuItemData> ScCheckListMenuControl::maMenuItems
private

◆ maOpenTimer

SubMenuItemData ScCheckListMenuControl::maOpenTimer
private

◆ maSearchEditTimer

Timer ScCheckListMenuControl::maSearchEditTimer
private

Definition at line 336 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl(), and ~ScCheckListMenuControl().

◆ maYearMonthMap

std::map<OUString, size_t> ScCheckListMenuControl::maYearMonthMap
private

Definition at line 294 of file checklistmenu.hxx.

Referenced by addDateMember(), and updateMemberParents().

◆ mbHasDates

bool ScCheckListMenuControl::mbHasDates
private

Definition at line 315 of file checklistmenu.hxx.

Referenced by initMembers(), and ScCheckListMenuControl().

◆ mbIsMultiField

bool ScCheckListMenuControl::mbIsMultiField
private

Definition at line 337 of file checklistmenu.hxx.

Referenced by addFields(), getField(), and ScCheckListMenuControl().

◆ mbIsPoppedUp

bool ScCheckListMenuControl::mbIsPoppedUp
private

Definition at line 316 of file checklistmenu.hxx.

Referenced by EndPopupMode(), and StartPopupMode().

◆ MENU_NOT_SELECTED

constexpr size_t ScCheckListMenuControl::MENU_NOT_SELECTED = 999
staticconstexpr

◆ mePrevToggleAllState

TriState ScCheckListMenuControl::mePrevToggleAllState
private

Definition at line 306 of file checklistmenu.hxx.

Referenced by Check(), and initMembers().

◆ mnAsyncPostPopdownId

ImplSVEvent* ScCheckListMenuControl::mnAsyncPostPopdownId
private

◆ mnAsyncSetDropdownPosId

ImplSVEvent* ScCheckListMenuControl::mnAsyncSetDropdownPosId
private

Definition at line 313 of file checklistmenu.hxx.

Referenced by DropPendingEvents(), IMPL_LINK(), and IMPL_LINK_NOARG().

◆ mnCheckListVisibleRows

int ScCheckListMenuControl::mnCheckListVisibleRows
private

whole window width.

Definition at line 305 of file checklistmenu.hxx.

Referenced by ResizeToRequest(), and ScCheckListMenuControl().

◆ mnCheckWidthReq

int ScCheckListMenuControl::mnCheckWidthReq
private

◆ mnSelectedMenu

size_t ScCheckListMenuControl::mnSelectedMenu
private

◆ mnWndWidth

int ScCheckListMenuControl::mnWndWidth
private

matching width request for mxChecks

Definition at line 304 of file checklistmenu.hxx.

Referenced by launch(), and prepWindow().

◆ mpChecks

weld::TreeView* ScCheckListMenuControl::mpChecks
private

◆ mrViewData

ScViewData& ScCheckListMenuControl::mrViewData
private

Definition at line 310 of file checklistmenu.hxx.

Referenced by addDateMember(), and GetViewData().

◆ mxBox

std::unique_ptr<weld::Widget> ScCheckListMenuControl::mxBox
private

Definition at line 276 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxBtnCancel

std::unique_ptr<weld::Button> ScCheckListMenuControl::mxBtnCancel
private

Definition at line 287 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxBtnOk

std::unique_ptr<weld::Button> ScCheckListMenuControl::mxBtnOk
private

Definition at line 286 of file checklistmenu.hxx.

Referenced by Check(), launch(), ScCheckListMenuControl(), and setAllMemberState().

◆ mxBtnSelectSingle

std::unique_ptr<weld::Button> ScCheckListMenuControl::mxBtnSelectSingle
private

Definition at line 282 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxBtnUnselectSingle

std::unique_ptr<weld::Button> ScCheckListMenuControl::mxBtnUnselectSingle
private

Definition at line 283 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxBuilder

std::unique_ptr<weld::Builder> ScCheckListMenuControl::mxBuilder
private

Definition at line 267 of file checklistmenu.hxx.

◆ mxButtonBox

std::unique_ptr<weld::Box> ScCheckListMenuControl::mxButtonBox
private

Definition at line 285 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxChkToggleAll

std::unique_ptr<weld::CheckButton> ScCheckListMenuControl::mxChkToggleAll
private

Definition at line 281 of file checklistmenu.hxx.

Referenced by Check(), initMembers(), isAllSelected(), and ScCheckListMenuControl().

◆ mxContainer

std::unique_ptr<weld::Container> ScCheckListMenuControl::mxContainer
private

Definition at line 269 of file checklistmenu.hxx.

Referenced by prepWindow(), and ScCheckListMenuControl().

◆ mxContextMenu

std::unique_ptr<weld::Menu> ScCheckListMenuControl::mxContextMenu
private

Definition at line 288 of file checklistmenu.hxx.

◆ mxDropDown

ScopedVclPtr<VirtualDevice> ScCheckListMenuControl::mxDropDown
private

Definition at line 290 of file checklistmenu.hxx.

Referenced by addSubMenuItem(), CreateDropDown(), and GetTextWidth().

◆ mxEdSearch

std::unique_ptr<weld::Entry> ScCheckListMenuControl::mxEdSearch
private

Definition at line 275 of file checklistmenu.hxx.

Referenced by GrabFocus(), and ScCheckListMenuControl().

◆ mxExtendedData

std::unique_ptr<ExtendedData> ScCheckListMenuControl::mxExtendedData
private

Definition at line 296 of file checklistmenu.hxx.

Referenced by getExtendedData(), and setExtendedData().

◆ mxFieldChangedAction

std::unique_ptr<Action> ScCheckListMenuControl::mxFieldChangedAction
private

Definition at line 299 of file checklistmenu.hxx.

Referenced by setFieldChangedAction().

◆ mxFieldsCombo

std::unique_ptr<weld::ComboBox> ScCheckListMenuControl::mxFieldsCombo
private

Definition at line 274 of file checklistmenu.hxx.

Referenced by addFields(), getField(), and ScCheckListMenuControl().

◆ mxFieldsComboLabel

std::unique_ptr<weld::Label> ScCheckListMenuControl::mxFieldsComboLabel
private

Definition at line 273 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxListChecks

std::unique_ptr<weld::TreeView> ScCheckListMenuControl::mxListChecks
private

Definition at line 277 of file checklistmenu.hxx.

Referenced by ResizeToRequest(), and ScCheckListMenuControl().

◆ mxMenu

std::unique_ptr<weld::TreeView> ScCheckListMenuControl::mxMenu
private

◆ mxNonMenu

std::unique_ptr<weld::Widget> ScCheckListMenuControl::mxNonMenu
private

Definition at line 272 of file checklistmenu.hxx.

Referenced by ScCheckListMenuControl().

◆ mxOKAction

std::unique_ptr<Action> ScCheckListMenuControl::mxOKAction
private

Definition at line 297 of file checklistmenu.hxx.

Referenced by close(), and setOKAction().

◆ mxPopover

std::unique_ptr<weld::Popover> ScCheckListMenuControl::mxPopover
private

Definition at line 268 of file checklistmenu.hxx.

Referenced by EndPopupMode(), ResizeToRequest(), and StartPopupMode().

◆ mxPopupEndAction

std::unique_ptr<Action> ScCheckListMenuControl::mxPopupEndAction
private

Definition at line 298 of file checklistmenu.hxx.

Referenced by setPopupEndAction().

◆ mxScratchIter

std::unique_ptr<weld::TreeIter> ScCheckListMenuControl::mxScratchIter
private

Definition at line 271 of file checklistmenu.hxx.

Referenced by GetSubMenuParentRect(), IMPL_LINK_NOARG(), and launchSubMenu().

◆ mxTreeChecks

std::unique_ptr<weld::TreeView> ScCheckListMenuControl::mxTreeChecks
private

Definition at line 278 of file checklistmenu.hxx.

Referenced by ResizeToRequest(), and ScCheckListMenuControl().


The documentation for this class was generated from the following files: