Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpwl_cblistbox.h
Go to the documentation of this file.
1// Copyright 2020 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef FPDFSDK_PWL_CPWL_CBLISTBOX_H_
8#define FPDFSDK_PWL_CPWL_CBLISTBOX_H_
9
10#include <memory>
11
12#include "fpdfsdk/pwl/cpwl_list_box.h"
13#include "fpdfsdk/pwl/ipwl_fillernotify.h"
14#include "public/fpdf_fwlevent.h"
15
16class CPWL_CBListBox final : public CPWL_ListBox {
17 public:
19 const CreateParams& cp,
20 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
21 ~CPWL_CBListBox() override;
22
23 // CPWL_ListBox
24 bool OnLButtonUp(Mask<FWL_EVENTFLAG> nFlag, const CFX_PointF& point) override;
25
26 bool IsMovementKey(FWL_VKEYCODE nKeyCode) const;
27 bool OnMovementKeyDown(FWL_VKEYCODE nKeyCode, Mask<FWL_EVENTFLAG> nFlag);
28 bool IsChar(uint16_t nChar, Mask<FWL_EVENTFLAG> nFlag) const;
29 bool OnCharNotify(uint16_t nChar, Mask<FWL_EVENTFLAG> nFlag);
30};
31
32#endif // FPDFSDK_PWL_CPWL_CBLISTBOX_H_
bool OnCharNotify(uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag)
CPWL_CBListBox(const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData)
bool OnMovementKeyDown(FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlag)
bool IsChar(uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) const
bool IsMovementKey(FWL_VKEYCODE nKeyCode) const
~CPWL_CBListBox() override
bool OnLButtonUp(Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override
bool OnNotifySelectionChanged(bool bKeyDown, Mask< FWL_EVENTFLAG > nFlag)
bool ClientHitTest(const CFX_PointF &point) const
Definition cpwl_wnd.cpp:571
void ReleaseCapture()
Definition cpwl_wnd.cpp:524
CPWL_Wnd * GetParentWindow() const
Definition cpwl_wnd.h:249
virtual bool OnLButtonUp(Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point)
virtual void NotifyLButtonUp(CPWL_Wnd *child, const CFX_PointF &pos)
Definition cpwl_wnd.cpp:436
@ FWL_VKEY_End
@ FWL_VKEY_Right
@ FWL_VKEY_Up
@ FWL_VKEY_Home
@ FWL_VKEY_Down
@ FWL_VKEY_Left