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
cxfa_checkbutton.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_PARSER_CXFA_CHECKBUTTON_H_
8#define XFA_FXFA_PARSER_CXFA_CHECKBUTTON_H_
9
10#include "xfa/fxfa/parser/cxfa_node.h"
11
12class CXFA_CheckButton final : public CXFA_Node {
13 public:
14 static CXFA_CheckButton* FromNode(CXFA_Node* pNode);
15
17 ~CXFA_CheckButton() override;
18
20
21 bool IsRound();
22 bool IsAllowNeutral();
24
25 private:
26 CXFA_CheckButton(CXFA_Document* doc, XFA_PacketType packet);
27};
28
29#endif // XFA_FXFA_PARSER_CXFA_CHECKBUTTON_H_
#define FWL_STYLEEXT_CKB_SignShapeMask
#define FWL_STYLEEXT_CKB_SignShapeSquare
#define FWL_STATE_CKB_Neutral
#define FWL_STYLEEXT_CKB_SignShapeCheck
#define FWL_STYLEEXT_CKB_SignShapeStar
#define FWL_STATE_CKB_Checked
#define FWL_STYLEEXT_CKB_SignShapeCircle
#define FWL_STYLEEXT_CKB_3State
#define FWL_STYLEEXT_CKB_RadioButton
#define FWL_STYLEEXT_CKB_SignShapeDiamond
#define FWL_STYLEEXT_CKB_SignShapeCross
Type GetType() const
Definition cfwl_event.h:39
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
void SetDelegate(IFWL_WidgetDelegate *delegate)
void SetAdapterIface(AdapterIface *pItem)
virtual void ModifyStyleExts(uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
CFWL_App * GetFWLApp() const
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
CFX_RectF & operator=(const CFX_RectF &other)=default
float bottom() const
void Normalize()
float right() const
float GetReserve() const
~CXFA_Caption() override
CXFA_Font * GetFontIfExists()
static constexpr XFA_AttributeValue kDefaultPlacementType
CXFA_Margin * GetMarginIfExists()
CXFA_Value * GetValueIfExists()
XFA_AttributeValue GetPlacementType()
XFA_FFWidgetType GetDefaultFFWidgetType() const override
static CXFA_CheckButton * FromNode(CXFA_Node *pNode)
XFA_AttributeValue GetMark()
~CXFA_CheckButton() override
CXFA_EventParam(XFA_EVENTTYPE type)
bool IsDataChanged() override
void Trace(cppgc::Visitor *visitor) const override
void SetFWLCheckState(XFA_CheckState eCheckState)
void UpdateWidgetProperty() override
bool PerformLayout() override
FormFieldType GetFormFieldType() override
bool OnLButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
void OnProcessMessage(CFWL_Message *pMessage) override
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
bool UpdateFWLData() override
bool LoadWidget() override
~CXFA_FFCheckButton() override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
void OnProcessEvent(CFWL_Event *pEvent) override
~CXFA_FFExclGroup() override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
CXFA_FFField(CXFA_Node *pNode)
CFX_PointF FWLToClient(const CFX_PointF &point)
CFX_RectF m_UIRect
bool ProcessCommittedData()
virtual void SetFWLRect()
bool LoadWidget() override
void SetNormalWidget(CFWL_Widget *widget)
void OnProcessEvent(CFWL_Event *pEvent) override
void RenderCaption(CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix)
CFX_RectF m_CaptionRect
void SendMessageToFWLWidget(CFWL_Message *pMessage)
CFX_Matrix GetRotateMatrix() override
virtual bool PerformLayout()
virtual void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight)
bool HasVisibleStatus() const
void SetButtonDown(bool bSet)
CXFA_FFApp * GetApp()
CFX_RectF GetRectWithoutRotate()
CXFA_FFDocView * GetDocView() const
XFA_EventError ProcessEvent(CXFA_FFDocView *pDocView, XFA_AttributeValue iActivity, CXFA_EventParam *pEventParam)
CXFA_Margin * GetMarginIfExists() const
XFA_AttributeValue GetHorizontalAlign()
Definition cxfa_para.cpp:57
XFA_AttributeValue GetVerticalAlign()
Definition cxfa_para.cpp:63
FormFieldType
@ XFA_EVENT_Change
void XFA_RectWithoutMargin(CFX_RectF *rt, const CXFA_Margin *margin)
XFA_FFWidgetType
XFA_CheckState
Definition cxfa_node.h:64
XFA_FWL_KeyFlag
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12