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
cffl_pushbutton.cpp
Go to the documentation of this file.
1
// Copyright 2014 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
#
include
"fpdfsdk/formfiller/cffl_pushbutton.h"
8
9
#
include
<
utility
>
10
11
#
include
"fpdfsdk/formfiller/cffl_formfield.h"
12
#
include
"fpdfsdk/pwl/cpwl_special_button.h"
13
14
CFFL_PushButton::
CFFL_PushButton
(CFFL_InteractiveFormFiller* pFormFiller,
15
CPDFSDK_Widget* pWidget)
16
:
CFFL_Button
(
pFormFiller
,
pWidget
)
{}
17
18
CFFL_PushButton::~
CFFL_PushButton
() =
default
;
19
20
std
::
unique_ptr
<
CPWL_Wnd
> CFFL_PushButton::
NewPWLWindow
(
21
const
CPWL_Wnd
::
CreateParams
& cp,
22
std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData) {
23
auto
pWnd =
std
::make_unique<CPWL_PushButton>(cp,
std
::move(pAttachedData));
24
pWnd->Realize();
25
return
pWnd;
26
}
CFFL_Button
Definition
cffl_button.h:18
CFFL_Button::CFFL_Button
CFFL_Button(CFFL_InteractiveFormFiller *pFormFiller, CPDFSDK_Widget *pWidget)
Definition
cffl_button.cpp:12
CFFL_PushButton::~CFFL_PushButton
~CFFL_PushButton() override
CFFL_PushButton::CFFL_PushButton
CFFL_PushButton(CFFL_InteractiveFormFiller *pFormFiller, CPDFSDK_Widget *pWidget)
Definition
cffl_pushbutton.cpp:14
CFFL_PushButton::NewPWLWindow
std::unique_ptr< CPWL_Wnd > NewPWLWindow(const CPWL_Wnd::CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) override
Definition
cffl_pushbutton.cpp:20
CPWL_Wnd::CreateParams
Definition
cpwl_wnd.h:96
CPWL_Wnd
Definition
cpwl_wnd.h:77
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fpdfsdk
formfiller
cffl_pushbutton.cpp
Generated on
for Qt by
1.18.0