Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
cxfa_fflistbox.h
Go to the documentation of this file.
1
// Copyright 2017 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
XFA_FXFA_CXFA_FFLISTBOX_H_
8
#
define
XFA_FXFA_CXFA_FFLISTBOX_H_
9
10
#
include
"v8/include/cppgc/member.h"
11
#
include
"v8/include/cppgc/prefinalizer.h"
12
#
include
"xfa/fxfa/cxfa_ffdropdown.h"
13
14
class
CXFA_FFListBox
final
:
public
CXFA_FFDropDown
{
15
CPPGC_USING_PRE_FINALIZER(CXFA_FFListBox, PreFinalize);
16
17
public
:
18
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
;
19
~
CXFA_FFListBox
()
override
;
20
21
void
PreFinalize
();
22
23
// CXFA_FFField:
24
void
Trace
(cppgc::Visitor* visitor)
const
override
;
25
bool
LoadWidget
()
override
;
26
[[nodiscard]]
bool
OnKillFocus
(
CXFA_FFWidget
* pNewWidget)
override
;
27
void
OnProcessMessage
(
CFWL_Message
* pMessage)
override
;
28
void
OnProcessEvent
(
pdfium
::
CFWL_Event
* pEvent)
override
;
29
void
OnDrawWidget
(
CFGAS_GEGraphics
* pGraphics,
30
const
CFX_Matrix
& matrix)
override
;
31
FormFieldType
GetFormFieldType
()
override
;
32
33
// CXFA_FFDropDown:
34
void
InsertItem
(
const
WideString
& wsLabel, int32_t nIndex)
override
;
35
void
DeleteItem
(int32_t nIndex)
override
;
36
37
void
OnSelectChanged
(
CFWL_Widget
* pWidget);
38
void
SetItemState
(int32_t nIndex,
bool
bSelected);
39
40
private
:
41
explicit
CXFA_FFListBox(
CXFA_Node
* pNode);
42
43
bool
CommitData
()
override
;
44
bool
UpdateFWLData
()
override
;
45
bool
IsDataChanged
()
override
;
46
47
uint32_t GetAlignment();
48
49
cppgc::Member<IFWL_WidgetDelegate> m_pOldDelegate;
50
};
51
52
#
endif
// XFA_FXFA_CXFA_FFLISTBOX_H_
FWL_STYLEEXT_LTB_MultiSelection
#define FWL_STYLEEXT_LTB_MultiSelection
Definition
cfwl_listbox.h:22
FWL_STYLEEXT_LTB_ShowScrollBarFocus
#define FWL_STYLEEXT_LTB_ShowScrollBarFocus
Definition
cfwl_listbox.h:27
FWL_STYLEEXT_LTB_CenterAlign
#define FWL_STYLEEXT_LTB_CenterAlign
Definition
cfwl_listbox.h:24
FWL_STYLEEXT_LTB_RightAlign
#define FWL_STYLEEXT_LTB_RightAlign
Definition
cfwl_listbox.h:25
FWL_STYLEEXT_LTB_LeftAlign
#define FWL_STYLEEXT_LTB_LeftAlign
Definition
cfwl_listbox.h:23
FWL_STYLE_WGT_NoBackground
#define FWL_STYLE_WGT_NoBackground
Definition
cfwl_widget.h:41
FWL_STYLE_WGT_VScroll
#define FWL_STYLE_WGT_VScroll
Definition
cfwl_widget.h:39
DCHECK
#define DCHECK
Definition
check.h:33
CFGAS_GEGraphics
Definition
cfgas_gegraphics.h:26
CFX_Matrix
Definition
fx_coordinates.h:440
CXFA_EventParam
Definition
cxfa_eventparam.h:49
CXFA_EventParam::CXFA_EventParam
CXFA_EventParam(XFA_EVENTTYPE type)
Definition
cxfa_eventparam.cpp:9
CXFA_FFDropDown
Definition
cxfa_ffdropdown.h:15
CXFA_FFDropDown::CXFA_FFDropDown
CXFA_FFDropDown(CXFA_Node *pNode)
Definition
cxfa_ffdropdown.cpp:9
CXFA_FFField
Definition
cxfa_fffield.h:18
CXFA_FFField::OnProcessEvent
void OnProcessEvent(pdfium::CFWL_Event *pEvent) override
Definition
cxfa_fffield.cpp:722
CXFA_FFField::OnKillFocus
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
Definition
cxfa_fffield.cpp:526
CXFA_FFField::ProcessCommittedData
bool ProcessCommittedData()
Definition
cxfa_fffield.cpp:610
CXFA_FFField::LoadWidget
bool LoadWidget() override
Definition
cxfa_fffield.cpp:139
CXFA_FFField::SetNormalWidget
void SetNormalWidget(CFWL_Widget *widget)
Definition
cxfa_fffield.cpp:131
CXFA_FFListBox::UpdateFWLData
bool UpdateFWLData() override
Definition
cxfa_fflistbox.cpp:146
CXFA_FFListBox::DeleteItem
void DeleteItem(int32_t nIndex) override
Definition
cxfa_fflistbox.cpp:183
CXFA_FFListBox::InsertItem
void InsertItem(const WideString &wsLabel, int32_t nIndex) override
Definition
cxfa_fflistbox.cpp:177
CXFA_FFListBox::~CXFA_FFListBox
~CXFA_FFListBox() override
CXFA_FFListBox::OnProcessMessage
void OnProcessMessage(CFWL_Message *pMessage) override
Definition
cxfa_fflistbox.cpp:194
CXFA_FFListBox::SetItemState
void SetItemState(int32_t nIndex, bool bSelected)
Definition
cxfa_fflistbox.cpp:170
CXFA_FFListBox::Trace
void Trace(cppgc::Visitor *visitor) const override
Definition
cxfa_fflistbox.cpp:42
CXFA_FFListBox::PreFinalize
void PreFinalize()
Definition
cxfa_fflistbox.cpp:34
CXFA_FFListBox::OnSelectChanged
void OnSelectChanged(CFWL_Widget *pWidget)
Definition
cxfa_fflistbox.cpp:164
CXFA_FFListBox::CommitData
bool CommitData() override
Definition
cxfa_fflistbox.cpp:93
CXFA_FFListBox::OnKillFocus
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
Definition
cxfa_fflistbox.cpp:86
CXFA_FFListBox::GetFormFieldType
FormFieldType GetFormFieldType() override
Definition
cxfa_fflistbox.cpp:215
CXFA_FFListBox::OnDrawWidget
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
Definition
cxfa_fflistbox.cpp:210
CXFA_FFListBox::LoadWidget
bool LoadWidget() override
Definition
cxfa_fflistbox.cpp:47
CXFA_FFListBox::OnProcessEvent
void OnProcessEvent(pdfium::CFWL_Event *pEvent) override
Definition
cxfa_fflistbox.cpp:198
CXFA_FFListBox::IsDataChanged
bool IsDataChanged() override
Definition
cxfa_fflistbox.cpp:104
CXFA_FFWidget
Definition
cxfa_ffwidget.h:69
CXFA_FFWidget::InvalidateRect
void InvalidateRect()
Definition
cxfa_ffwidget.cpp:335
CXFA_Node
Definition
cxfa_node.h:94
CXFA_Para::GetHorizontalAlign
XFA_AttributeValue GetHorizontalAlign()
Definition
cxfa_para.cpp:57
pdfium::CFDETextOutLargeBitmapTest
Definition
cfde_textout_unittest.cpp:117
pdfium::CFWL_Event
Definition
cfwl_event.h:17
pdfium::CFWL_Event::Type
Type
Definition
cfwl_event.h:21
pdfium::CFWL_Event::Type::SelectChanged
@ SelectChanged
Definition
cfwl_event.h:30
pdfium::CFWL_Event::GetType
Type GetType() const
Definition
cfwl_event.h:41
pdfium::CFWL_ListBox::Item
Definition
cfwl_listbox.h:34
pdfium::CFWL_ListBox::Item::IsSelected
bool IsSelected() const
Definition
cfwl_listbox.h:39
pdfium::CFWL_ListBox
Definition
cfwl_listbox.h:32
pdfium::CFWL_Message
Definition
cfwl_message.h:18
pdfium::CFWL_NoteDriver::RegisterEventTarget
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
Definition
cfwl_notedriver.cpp:52
pdfium::CFWL_NoteDriver::UnregisterEventTarget
void UnregisterEventTarget(CFWL_Widget *pListener)
Definition
cfwl_notedriver.cpp:66
pdfium::CFWL_Widget::ScopedUpdateLock
Definition
cfwl_widget.h:89
pdfium::CFWL_Widget
Definition
cfwl_widget.h:70
pdfium::CFWL_Widget::SetDelegate
void SetDelegate(IFWL_WidgetDelegate *delegate)
Definition
cfwl_widget.h:143
pdfium::CFWL_Widget::ModifyStyles
void ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved)
Definition
cfwl_widget.cpp:96
pdfium::CFWL_Widget::SetAdapterIface
void SetAdapterIface(AdapterIface *pItem)
Definition
cfwl_widget.h:156
pdfium::CFWL_Widget::ModifyStyleExts
virtual void ModifyStyleExts(uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
Definition
cfwl_widget.cpp:102
pdfium::CFWL_Widget::GetFWLApp
CFWL_App * GetFWLApp() const
Definition
cfwl_widget.h:151
FormFieldType
FormFieldType
Definition
cpdf_formfield.h:29
XFA_EVENT_Change
@ XFA_EVENT_Change
Definition
cxfa_eventparam.h:17
XFA_AttributeValue
XFA_AttributeValue
Definition
fxfa_basic.h:60
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition
heap.h:32
cppgc
Definition
heap.h:12
fxcrt
Definition
stl_util.h:17
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
WideString
fxcrt::WideString WideString
Definition
widestring.h:207
qtwebengine
src
3rdparty
chromium
third_party
pdfium
xfa
fxfa
cxfa_fflistbox.h
Generated on
for Qt by
1.18.0