Seamly2D
Code documentation
VLineEdit Class Reference

#include <vlineedit.h>

Inheritance diagram for VLineEdit:
Collaboration diagram for VLineEdit:

Public Member Functions

 VLineEdit (QWidget *parent=nullptr)
 
 VLineEdit (const QString &contents, QWidget *parent=nullptr)
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e) Q_DECL_OVERRIDE
 
virtual void focusOutEvent (QFocusEvent *e) Q_DECL_OVERRIDE
 
virtual void mousePressEvent (QMouseEvent *e) Q_DECL_OVERRIDE
 

Private Attributes

bool m_selectOnMousePress
 

Detailed Description

Definition at line 57 of file vlineedit.h.

Constructor & Destructor Documentation

◆ VLineEdit() [1/2]

VLineEdit::VLineEdit ( QWidget *  parent = nullptr)
explicit

Definition at line 55 of file vlineedit.cpp.

◆ VLineEdit() [2/2]

VLineEdit::VLineEdit ( const QString &  contents,
QWidget *  parent = nullptr 
)

Definition at line 61 of file vlineedit.cpp.

Member Function Documentation

◆ focusInEvent()

void VLineEdit::focusInEvent ( QFocusEvent *  e)
protectedvirtual

Definition at line 67 of file vlineedit.cpp.

References m_selectOnMousePress.

◆ focusOutEvent()

void VLineEdit::focusOutEvent ( QFocusEvent *  e)
protectedvirtual

Definition at line 75 of file vlineedit.cpp.

◆ mousePressEvent()

void VLineEdit::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 90 of file vlineedit.cpp.

References m_selectOnMousePress.

Member Data Documentation

◆ m_selectOnMousePress

bool VLineEdit::m_selectOnMousePress
private

Definition at line 70 of file vlineedit.h.

Referenced by focusInEvent(), and mousePressEvent().


The documentation for this class was generated from the following files: