Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CEditGraphics.hpp>
Public Member Functions | |
CEditGraphics () | |
CEditGraphics (const std::string &entryEdit, bool isPassword, bool isDefinedSize, uint16_t numCharSize, bool hasNumMaxChar, uint16_t numCharMaxIntro, const std::vector< std::string > &wordsAutocompletion, CEdit *editRef) | |
CEditGraphics (const CEditGraphics &other)=delete | |
~CEditGraphics () override | |
CEditGraphics & | operator= (const CEditGraphics &other)=delete |
std::string | getValueEdit () const |
void | setValueEdit (const std::string &text) |
void | processBeginFocus () |
void | processEndFocus () |
void | processKeyInFocus (CEventGraphics *evtGraphics) |
void | addTimer (uint64_t timeoutMillis, bool destroyListener, IListenerTimer *rcpTimers) |
void | addClose (IListenerClose *rcpClose) |
void | calculatePosGlobalComponent (double xFather, double yFather) |
void | calculateSizeComponent (IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage) |
void | distributeComponent (IGraphics *graphics, double xOrg, double yOrg, double sizeX, double sizeY) |
void | draw (IGraphics *graphics, const CTheme *theme) |
void | processClose () |
void | processEvent (CEventGraphics *event, double xOrg, double yOrg) |
void | processEventOut (CEventGraphics *event) |
void | processNextFrame () |
void | resetComponent (IGraphics *graphics) |
void | updateColorAttr (CAttrColorComp *attrColor) |
void | getPosGlobal (double *xPosGlobal, double *yPosGlobal) const |
void | getSizeArea (double *sizeXOpt, double *sizeYOpt) const |
void | getSizeComp (double *sizeXOpt, double *sizeYOpt) const |
bool | getVisible () const |
void | setActivated (bool isActivated) |
void | setAlignmentHorizontal (CEnumComponentsGUI::EAlignmentHorizontal alignment) |
void | setAlignmentVertical (CEnumComponentsGUI::EAlignmentVertical alignment) |
void | setAnimation (IAnimation **animation) |
void | setClip (IGraphics *graphics) const |
void | setCompact () |
void | setSizeMinimum (iv::types::width sizeXMinimum, iv::types::height sizeYMinimum) |
void | setWidthMaximum (iv::types::width sizeXMaximum) |
void | setHeightMaximum (iv::types::height sizeYMaximum) |
void | setVisible (bool isVisible) |
bool | isCursorInComponent () const |
bool | visibilityChanged () |
bool | visibilityOrSizeChanged () |
virtual bool | hasLongClick () const |
Protected Member Functions | |
CAttrColorComp * | getAttrColor () |
const CAttrColorComp * | getAttrColorConst () const |
bool | isActivated () const |
bool | isAnimating () const |
Private Member Functions | |
void | beginFocus () override |
void | calculateSizeMin (IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage, double *sizeXComp, double *sizeYComp) override |
void | clean () override |
void | distribute (IGraphics *graphics, double sizeXComp, double sizeYComp) override |
void | drawComponent (IGraphics *graphics, const CTheme *theme) override |
void | endFocus () override |
void | handleEvent (CEventGraphics *event, double xOrg, double yOrg) override |
void | nextFrameChildren () override |
void | processKey (CEventGraphics *evtGraphics) override |
void | removeObjectDraw (IGraphics *graphics) override |
bool | sizeChanged () override |
void | update (IGraphics *graphics, CLibraryImages *libraryImage) override |
bool | isEditNum () const override |
void | calculatePosGlobal (double xFather, double yFather) override |
void | prvDraw (IGraphics *graphics, const CTheme *theme) |
virtual void | closing () |
virtual void | handleEventOut (CEventGraphics *event) |
Private Attributes | |
CBufferEdit | m_bufferEdit |
bool | m_isPassword |
bool | m_isDefinedSize |
uint16_t | m_numCharSize |
bool | m_hasNumMaxChar |
uint16_t | m_numCharMaxIntro |
bool | m_hasFocus |
std::vector< std::string > | m_wordsAutocompletion |
CEdit * | m_editRef |
CRectangleGraphics * | m_rectangle |
bool | m_isBegin |
IAnimation * | m_animation |
CTimerGraphics | m_timer |
bool | m_fillHorizontal |
bool | m_fillVertical |
CEnumComponentsGUI::EAlignmentHorizontal | m_alignmentHorizontal |
CEnumComponentsGUI::EAlignmentVertical | m_alignmentVertical |
CAttrColorComp * | m_attrColor |
std::vector< IListenerClose * > | m_rcpClose |
bool | m_isDistributed |
double | m_dx |
double | m_dy |
double | m_sizeXComp |
double | m_sizeYComp |
double | m_sizeXArea |
double | m_sizeYArea |
double | m_xGlobal |
double | m_yGlobal |
iv::types::width | m_sizeXMinimum |
iv::types::height | m_sizeYMinimum |
iv::types::height | m_sizeYMaximum |
iv::types::width | m_sizeXMaximum |
bool | m_isActivated |
bool | m_isCursorInside |
bool | m_isVisible |
std::atomic_bool | m_isVisibilityChanged {false} |
CEditGraphics::CEditGraphics | ( | ) |
CEditGraphics::CEditGraphics | ( | const std::string & | entryEdit, |
bool | isPassword, | ||
bool | isDefinedSize, | ||
uint16_t | numCharSize, | ||
bool | hasNumMaxChar, | ||
uint16_t | numCharMaxIntro, | ||
const std::vector< std::string > & | wordsAutocompletion, | ||
CEdit * | editRef ) |
|
delete |
|
override |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Implements AbstractCompWithFocusGraphics.
|
overrideprivatevirtualinherited |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
overrideprivatevirtual |
Implements AbstractCompWithFocusGraphics.
|
privatevirtualinherited |
Reimplemented in CContainerGraphics, CGroupButtonsGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CTabsGraphics, CViewGraphics, and CWorkspaceGraphics.
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
overrideprivatevirtual |
Implements AbstractCompWithFocusGraphics.
|
protectedinherited |
|
nodiscardprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
nodiscard |
|
nodiscardinherited |
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
privatevirtualinherited |
|
virtualinherited |
Reimplemented in CLayoutBoxGraphics, and CListGraphics.
|
nodiscardprotectedinherited |
|
nodiscardprotectedinherited |
|
nodiscardinherited |
|
nodiscardoverrideprivatevirtual |
Implements AbstractCompWithFocusGraphics.
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
delete |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Implements AbstractCompWithFocusGraphics.
|
inherited |
|
inherited |
|
privateinherited |
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
void CEditGraphics::setValueEdit | ( | const std::string & | text | ) |
|
inherited |
|
inherited |
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
overrideprivatevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
inherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
private |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
private |
|
private |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |