29using namespace ::
dbaui;
37 :
OChildWindow(pParent,
"dbaccess/ui/appswapwindow.ui",
"AppSwapWindow")
39 , m_xIconControlWin(new
weld::CustomWeld(*m_xBuilder,
"valueset", *m_xIconControl))
41 , m_rBorderWin(rBorderWindow)
42 , m_nChangeEvent(nullptr)
114 if (pEntry->mbSelected)
117 onContainerSelected(
eType);
123 m_nChangeEvent =
nullptr;
124 selectContainer(m_eLastType);
static ImplSVEvent * PostUserEvent(const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
static void RemoveUserEvent(ImplSVEvent *nUserEvent)
const vcl::KeyCode & GetKeyCode() const
OApplicationView * getView() const
bool onContainerSelect(ElementType _eType)
called when a container (category) in the application view has been selected
bool interceptKeyInput(const KeyEvent &_rEvent)
called to give the window the chance to intercept key events, while it has not the focus
ElementType getElementType() const
return the element of currently select entry
bool onContainerSelected(ElementType _eType)
void selectContainer(ElementType _eType)
changes the container which should be displayed.
ImplSVEvent * m_nChangeEvent
std::unique_ptr< OApplicationIconControl > m_xIconControl
virtual ~OApplicationSwapWindow() override
void createIconAutoMnemonics(MnemonicGenerator &_rMnemonics)
automatically creates mnemonics for the icon/texts in our left hand side panel
virtual void GrabFocus() override
OAppBorderWindow & m_rBorderWin
virtual bool HasChildPathFocus() const override
void clearSelection()
clears the selection in the icon choice control and calls the handler
OApplicationController & getAppController() const
std::unique_ptr< weld::Container > m_xContainer
sal_uInt16 GetModifier() const
constexpr OUStringLiteral HID_APP_SWAP_ICONCONTROL
constexpr sal_uInt16 KEY_MOD2
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(OApplicationController, OnClipboardChanged, TransferableDataHelper *, void)
IMPL_LINK(OApplicationController, OnSelectContainer, void *, _pType, void)