Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_fffield.h>
Public Types | |
enum | ShapeOption { kSquareShape = 0 , kRoundShape } |
Public Types inherited from CXFA_FFWidget | |
enum | FocusOption { kDoNotDrawFocus = 0 , kDrawFocus } |
enum | HighlightOption { kNoHighlight = 0 , kHighlight } |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Public Attributes inherited from CXFA_FFWidget | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Protected Attributes | |
CFX_RectF | m_UIRect |
CFX_RectF | m_CaptionRect |
Protected Attributes inherited from CXFA_FFWidget | |
cppgc::Member< CXFA_ContentLayoutItem > | m_pLayoutItem |
cppgc::Member< CXFA_FFDocView > | m_pDocView |
cppgc::Member< CXFA_FFPageView > | m_pPageView |
cppgc::Member< CXFA_Node > const | m_pNode |
CFX_RectF | m_WidgetRect |
Additional Inherited Members | |
Static Public Member Functions inherited from CXFA_FFWidget | |
static CXFA_FFWidget * | FromLayoutItem (CXFA_LayoutItem *pLayoutItem) |
Definition at line 18 of file cxfa_fffield.h.
Enumerator | |
---|---|
kSquareShape | |
kRoundShape |
Definition at line 20 of file cxfa_fffield.h.
|
overridedefault |
|
explicitprotected |
Definition at line 48 of file cxfa_fffield.cpp.
References CXFA_FFWidget::CXFA_FFWidget().
Referenced by CXFA_FFDropDown::CXFA_FFDropDown(), and CXFA_FFTextEdit::CXFA_FFTextEdit().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFImageEdit, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 398 of file cxfa_fffield.cpp.
References GetNormalWidget(), and PtInActiveRect().
Referenced by CXFA_FFImageEdit::AcceptsFocusOnButtonDown().
|
virtual |
Reimplemented in CXFA_FFDropDown.
Definition at line 52 of file cxfa_fffield.cpp.
Referenced by ToDropDown().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 56 of file cxfa_fffield.cpp.
|
protected |
Definition at line 646 of file cxfa_fffield.cpp.
References fxcrt::WideString::FromASCII(), CXFA_FFWidget::GetAppProvider(), CXFA_Node::GetCalculateIfExists(), CXFA_FFWidget::GetDoc(), CXFA_Script::GetExpression(), CXFA_Calculate::GetMessageText(), CXFA_Calculate::GetOverride(), CXFA_Calculate::GetScriptIfExists(), fxcrt::WideString::IsEmpty(), CXFA_Node::IsUserInteractive(), kOK, kUserInteractive, kWarning, kYes, kYesNo, CXFA_FFApp::CallbackIface::MsgBox(), fxcrt::WideString::operator+=(), CXFA_Node::SetFlag(), and XFA_VERSION_204.
Referenced by CalculateOverride().
|
protected |
Definition at line 624 of file cxfa_fffield.cpp.
References CalculateNode(), CXFA_Node::GetExclGroupFirstMember(), CXFA_Node::GetExclGroupNextMember(), and CXFA_Node::IsWidgetReady().
Referenced by ProcessCommittedData().
|
protected |
Definition at line 317 of file cxfa_fffield.cpp.
References CFX_RectF::height, CFX_RectF::left, m_CaptionRect, m_UIRect, CFX_RectF::top, CFX_RectF::width, and XFA_RectWithoutMargin().
Referenced by CapPlacement().
|
protected |
Definition at line 178 of file cxfa_fffield.cpp.
References CFX_RectF::CFX_RectF(), CFX_RectF::bottom(), CapLeftRightPlacement(), CapTopBottomPlacement(), CFX_RectF::Deflate(), CXFA_ContentLayoutItem::GetAbsoluteRect(), CXFA_Margin::GetBottomInset(), CXFA_ContentLayoutItem::GetFirst(), CXFA_FFWidget::GetLayoutItem(), CXFA_Margin::GetLeftInset(), CXFA_Caption::GetMarginIfExists(), CXFA_Node::GetMarginIfExists(), CXFA_ContentLayoutItem::GetNext(), CXFA_Caption::GetPlacementType(), CXFA_ContentLayoutItem::GetPrev(), CXFA_FFWidget::GetRectWithoutRotate(), CXFA_Caption::GetReserve(), CXFA_Margin::GetRightInset(), CXFA_Margin::GetTopInset(), CFX_RectF::Height(), CFX_RectF::height, CXFA_Caption::IsHidden(), CFX_RectF::left, m_CaptionRect, m_UIRect, CFX_RectF::Normalize(), CFX_RectF::operator=(), CFX_RectF::right(), CFX_RectF::top, CFX_RectF::width, and XFA_RectWithoutMargin().
Referenced by PerformLayout().
|
protected |
Definition at line 291 of file cxfa_fffield.cpp.
References CFX_RectF::height, CFX_RectF::left, m_CaptionRect, m_UIRect, CFX_RectF::top, CFX_RectF::width, and XFA_RectWithoutMargin().
Referenced by CapPlacement().
|
protectedvirtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFDateTimeEdit, CXFA_FFImageEdit, CXFA_FFListBox, and CXFA_FFTextEdit.
Definition at line 707 of file cxfa_fffield.cpp.
Referenced by ProcessCommittedData().
|
protected |
Definition at line 101 of file cxfa_fffield.cpp.
References CFGAS_GEPath::AddEllipse(), CFGAS_GEPath::AddRectangle(), CFGAS_GEGraphics::FillPath(), CXFA_FFWidget::GetDoc(), CFX_RectF::height, CXFA_FFWidget::kNoHighlight, kRoundShape, CFX_FillRenderOptions::kWinding, CFX_RectF::left, m_UIRect, CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
Referenced by RenderWidget(), and CXFA_FFSignature::RenderWidget().
|
protected |
Definition at line 392 of file cxfa_fffield.cpp.
References GetNormalWidget(), and CFWL_Widget::GetWidgetRect().
Referenced by CXFA_FFSignature::HitTest(), CXFA_FFImageEdit::OnLButtonDown(), CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFCheckButton::OnLButtonUp(), and CXFA_FFTextEdit::OnRButtonDown().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 65 of file cxfa_fffield.cpp.
References CFX_RectF::CFX_RectF(), CXFA_FFWidget::GetBBox(), CXFA_FFWidget::GetRotateMatrix(), CXFA_FFWidget::kDoNotDrawFocus, and m_UIRect.
|
protected |
Definition at line 123 of file cxfa_fffield.cpp.
Referenced by AcceptsFocusOnButtonDown(), FWLToClient(), HitTest(), IsLoaded(), OnChar(), OnKeyDown(), OnKillFocus(), OnLButtonDblClk(), OnLButtonUp(), OnMouseEnter(), OnMouseExit(), OnMouseMove(), OnMouseWheel(), OnRButtonDblClk(), OnRButtonUp(), OnSetFocus(), PerformLayout(), PtInActiveRect(), RenderWidget(), SetEditScrollOffset(), SetFWLRect(), and UpdateFWL().
|
protected |
Definition at line 127 of file cxfa_fffield.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 563 of file cxfa_fffield.cpp.
References Border, Client, CFX_RectF::Contains(), GetNormalWidget(), CXFA_FFWidget::GetRectWithoutRotate(), m_CaptionRect, Titlebar, and Unknown.
|
protectedvirtual |
Reimplemented in CXFA_FFCheckButton, CXFA_FFComboBox, CXFA_FFDateTimeEdit, CXFA_FFListBox, and CXFA_FFTextEdit.
Definition at line 711 of file cxfa_fffield.cpp.
Referenced by ProcessCommittedData().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 135 of file cxfa_fffield.cpp.
References GetNormalWidget(), and CXFA_FFWidget::IsLoaded().
|
protected |
Definition at line 579 of file cxfa_fffield.cpp.
References CFX_RectF::height, CXFA_TextLayout::Layout(), and m_CaptionRect.
Referenced by CXFA_FFCheckButton::PerformLayout(), and PerformLayout().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFNumericEdit, CXFA_FFPasswordEdit, CXFA_FFPushButton, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 139 of file cxfa_fffield.cpp.
References PerformLayout().
Referenced by CXFA_FFBarcode::LoadWidget(), CXFA_FFCheckButton::LoadWidget(), CXFA_FFComboBox::LoadWidget(), CXFA_FFDateTimeEdit::LoadWidget(), CXFA_FFImageEdit::LoadWidget(), CXFA_FFListBox::LoadWidget(), CXFA_FFNumericEdit::LoadWidget(), CXFA_FFPasswordEdit::LoadWidget(), CXFA_FFPushButton::LoadWidget(), CXFA_FFSignature::LoadWidget(), and CXFA_FFTextEdit::LoadWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 547 of file cxfa_fffield.cpp.
References CXFA_FFWidget::GetDoc(), GetNormalWidget(), CFWL_MessageKey::kChar, pdfium::ascii::kTab, and SendMessageToFWLWidget().
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Reimplemented in CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFPushButton, and CXFA_FFTextEdit.
Definition at line 756 of file cxfa_fffield.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 536 of file cxfa_fffield.cpp.
References CXFA_FFWidget::GetDoc(), GetNormalWidget(), CFWL_MessageKey::kKeyDown, and SendMessageToFWLWidget().
|
nodiscardoverridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFListBox, and CXFA_FFTextEdit.
Definition at line 526 of file cxfa_fffield.cpp.
References CFWL_MessageKillFocus::CFWL_MessageKillFocus(), CXFA_FFWidget::GetLayoutItem(), GetNormalWidget(), CXFA_FFWidget::InvalidateRect(), kFocused, CXFA_FFWidget::OnKillFocus(), and SendMessageToFWLWidget().
Referenced by CXFA_FFComboBox::OnKillFocus(), and CXFA_FFListBox::OnKillFocus().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 438 of file cxfa_fffield.cpp.
References GetNormalWidget(), and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFImageEdit, CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 412 of file cxfa_fffield.cpp.
References SendMessageToFWLWidget(), and CXFA_FFWidget::SetButtonDown().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 422 of file cxfa_fffield.cpp.
References GetNormalWidget(), CXFA_FFWidget::IsButtonDown(), SendMessageToFWLWidget(), and CXFA_FFWidget::SetButtonDown().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 370 of file cxfa_fffield.cpp.
References GetNormalWidget(), CFWL_MessageMouse::kEnter, and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 381 of file cxfa_fffield.cpp.
References GetNormalWidget(), CFWL_MessageMouse::kLeave, and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 450 of file cxfa_fffield.cpp.
References GetNormalWidget(), and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 462 of file cxfa_fffield.cpp.
References GetNormalWidget(), and SendMessageToFWLWidget().
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Reimplemented in CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFNumericEdit, CXFA_FFPushButton, and CXFA_FFTextEdit.
Definition at line 722 of file cxfa_fffield.cpp.
References CXFA_EventParam::CXFA_EventParam(), CFWL_Event::Click, CFWL_EventMouse::GetCommand(), CFWL_Event::GetType(), CFWL_MessageMouse::kEnter, CFWL_MessageMouse::kLeave, CFWL_MessageMouse::kLeftButtonDown, CFWL_MessageMouse::kLeftButtonUp, CFWL_Event::Mouse, XFA_EVENT_Click, XFA_EVENT_MouseDown, XFA_EVENT_MouseEnter, XFA_EVENT_MouseExit, and XFA_EVENT_MouseUp.
Referenced by CXFA_FFCheckButton::OnProcessEvent(), CXFA_FFComboBox::OnProcessEvent(), CXFA_FFImageEdit::OnProcessEvent(), CXFA_FFListBox::OnProcessEvent(), CXFA_FFPushButton::OnProcessEvent(), and CXFA_FFTextEdit::OnProcessEvent().
|
overridevirtual |
Implements IFWL_WidgetDelegate.
Reimplemented in CXFA_FFImageEdit, CXFA_FFListBox, CXFA_FFPushButton, and CXFA_FFTextEdit.
Definition at line 720 of file cxfa_fffield.cpp.
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature.
Definition at line 499 of file cxfa_fffield.cpp.
References GetNormalWidget(), and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 473 of file cxfa_fffield.cpp.
References SendMessageToFWLWidget(), and CXFA_FFWidget::SetButtonDown().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFSignature, and CXFA_FFTextEdit.
Definition at line 484 of file cxfa_fffield.cpp.
References GetNormalWidget(), CXFA_FFWidget::IsButtonDown(), SendMessageToFWLWidget(), and CXFA_FFWidget::SetButtonDown().
Referenced by CXFA_FFComboBox::OnRButtonUp(), and CXFA_FFTextEdit::OnRButtonUp().
|
nodiscardoverridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFTextEdit.
Definition at line 511 of file cxfa_fffield.cpp.
References CFWL_MessageSetFocus::CFWL_MessageSetFocus(), CXFA_FFWidget::GetLayoutItem(), GetNormalWidget(), CXFA_FFWidget::InvalidateRect(), kFocused, CXFA_FFWidget::OnSetFocus(), and SendMessageToFWLWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFPushButton.
Definition at line 167 of file cxfa_fffield.cpp.
References CapPlacement(), GetNormalWidget(), LayoutCaption(), CXFA_FFWidget::PerformLayout(), SetEditScrollOffset(), SetFWLRect(), and CFWL_Widget::Update().
Referenced by LoadWidget().
|
protected |
Definition at line 610 of file cxfa_fffield.cpp.
References CalculateOverride(), CommitData(), and IsDataChanged().
Referenced by CXFA_FFComboBox::OnKillFocus(), CXFA_FFListBox::OnKillFocus(), CXFA_FFTextEdit::OnKillFocus(), and CXFA_FFCheckButton::OnProcessEvent().
|
overrideprotectedvirtual |
Reimplemented from CXFA_FFWidget.
Definition at line 574 of file cxfa_fffield.cpp.
References CFX_RectF::Contains(), GetNormalWidget(), and CFWL_Widget::GetWidgetRect().
Referenced by AcceptsFocusOnButtonDown(), CXFA_FFImageEdit::AcceptsFocusOnButtonDown(), and CXFA_FFTextEdit::AcceptsFocusOnButtonDown().
|
protected |
Definition at line 588 of file cxfa_fffield.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_Matrix::Concat(), CXFA_FFWidget::GetRectWithoutRotate(), CFGAS_GEGraphics::GetRenderDevice(), CFX_RectF::Intersect(), CXFA_TextLayout::IsLoaded(), CXFA_Caption::IsVisible(), CXFA_TextLayout::Layout(), CFX_RectF::left, m_CaptionRect, CFX_RectF::operator=(), CFX_RectF::top, and CFX_Matrix::TransformRect().
Referenced by CXFA_FFBarcode::RenderWidget(), CXFA_FFCheckButton::RenderWidget(), RenderWidget(), CXFA_FFImageEdit::RenderWidget(), and CXFA_FFSignature::RenderWidget().
|
overridevirtual |
Reimplemented from CXFA_FFWidget.
Reimplemented in CXFA_FFImageEdit, CXFA_FFPushButton, and CXFA_FFSignature.
Definition at line 81 of file cxfa_fffield.cpp.
References CFX_Matrix::CFX_Matrix(), CFX_Matrix::Concat(), DrawHighlight(), CXFA_FFWidget::GetApp(), GetNormalWidget(), CXFA_FFWidget::GetRotateMatrix(), CFWL_Widget::GetWidgetRect(), CXFA_FFWidget::HasVisibleStatus(), kSquareShape, CFX_RectF::left, RenderCaption(), CXFA_FFWidget::RenderWidget(), and CFX_RectF::top.
|
protected |
Definition at line 715 of file cxfa_fffield.cpp.
References CXFA_FFWidget::GetApp().
Referenced by OnChar(), OnKeyDown(), OnKillFocus(), CXFA_FFTextEdit::OnKillFocus(), OnLButtonDblClk(), OnLButtonDown(), CXFA_FFImageEdit::OnLButtonDown(), CXFA_FFTextEdit::OnLButtonDown(), CXFA_FFCheckButton::OnLButtonUp(), OnLButtonUp(), OnMouseEnter(), OnMouseExit(), OnMouseMove(), OnMouseWheel(), OnRButtonDblClk(), OnRButtonDown(), CXFA_FFTextEdit::OnRButtonDown(), OnRButtonUp(), OnSetFocus(), and CXFA_FFTextEdit::OnSetFocus().
|
protected |
Definition at line 145 of file cxfa_fffield.cpp.
References CXFA_ContentLayoutItem::GetFFWidget(), CXFA_FFWidget::GetLayoutItem(), GetNormalWidget(), CFX_RectF::height, kNumericEdit, kPasswordEdit, kTextEdit, m_UIRect, CFWL_Edit::SetScrollOffset(), and ToField().
Referenced by CXFA_FFTextEdit::OnKillFocus(), and PerformLayout().
|
protectedvirtual |
Reimplemented in CXFA_FFImageEdit.
Definition at line 357 of file cxfa_fffield.cpp.
References CXFA_FFWidget::GetDoc(), GetNormalWidget(), CFX_RectF::height, m_UIRect, CFWL_Widget::SetWidgetRect(), and CFX_RectF::width.
Referenced by CXFA_FFCheckButton::PerformLayout(), PerformLayout(), and CXFA_FFPushButton::PerformLayout().
|
protected |
Definition at line 131 of file cxfa_fffield.cpp.
Referenced by CXFA_FFBarcode::LoadWidget(), CXFA_FFCheckButton::LoadWidget(), CXFA_FFComboBox::LoadWidget(), CXFA_FFDateTimeEdit::LoadWidget(), CXFA_FFImageEdit::LoadWidget(), CXFA_FFListBox::LoadWidget(), CXFA_FFNumericEdit::LoadWidget(), CXFA_FFPasswordEdit::LoadWidget(), CXFA_FFPushButton::LoadWidget(), and CXFA_FFTextEdit::LoadWidget().
|
override |
Definition at line 60 of file cxfa_fffield.cpp.
void CXFA_FFField::UpdateFWL | ( | ) |
Definition at line 345 of file cxfa_fffield.cpp.
References GetNormalWidget(), and CFWL_Widget::Update().
uint32_t CXFA_FFField::UpdateUIProperty | ( | ) |
Definition at line 350 of file cxfa_fffield.cpp.
References CXFA_Object::GetElementType().
Referenced by CXFA_FFComboBox::UpdateWidgetProperty(), CXFA_FFDateTimeEdit::UpdateWidgetProperty(), CXFA_FFNumericEdit::UpdateWidgetProperty(), CXFA_FFPasswordEdit::UpdateWidgetProperty(), and CXFA_FFTextEdit::UpdateWidgetProperty().
CXFA_FFField::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 22 of file cxfa_fffield.h.
|
protected |
Definition at line 110 of file cxfa_fffield.h.
Referenced by CapLeftRightPlacement(), CapPlacement(), CapTopBottomPlacement(), HitTest(), CXFA_FFSignature::HitTest(), LayoutCaption(), CXFA_FFCheckButton::PerformLayout(), CXFA_FFPushButton::PerformLayout(), and RenderCaption().
|
protected |
Definition at line 109 of file cxfa_fffield.h.
Referenced by CapLeftRightPlacement(), CapPlacement(), CapTopBottomPlacement(), DrawHighlight(), GetBBox(), CXFA_FFCheckButton::PerformLayout(), CXFA_FFPushButton::PerformLayout(), SetEditScrollOffset(), SetFWLRect(), and CXFA_FFImageEdit::SetFWLRect().