Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
MantidQt::MantidWidgets::LineEditWithClear Class Reference

#include <LineEditWithClear.h>

Inheritance diagram for MantidQt::MantidWidgets::LineEditWithClear:

Public Member Functions

 LineEditWithClear (QWidget *parent=nullptr)
 

Protected Member Functions

void resizeEvent (QResizeEvent *) override
 

Private Slots

void updateCloseButton (const QString &text)
 

Private Attributes

QToolButton * clearButton
 

Detailed Description

Definition at line 21 of file LineEditWithClear.h.

Constructor & Destructor Documentation

◆ LineEditWithClear()

MantidQt::MantidWidgets::LineEditWithClear::LineEditWithClear ( QWidget *  parent = nullptr)

Definition at line 16 of file LineEditWithClear.cpp.

References clearButton, and updateCloseButton().

Member Function Documentation

◆ resizeEvent()

void MantidQt::MantidWidgets::LineEditWithClear::resizeEvent ( QResizeEvent *  )
overrideprotected

Definition at line 33 of file LineEditWithClear.cpp.

References bottom, clearButton, Mantid::Geometry::rect, and right.

◆ updateCloseButton

void MantidQt::MantidWidgets::LineEditWithClear::updateCloseButton ( const QString &  text)
privateslot

Definition at line 39 of file LineEditWithClear.cpp.

References clearButton.

Referenced by LineEditWithClear().

Member Data Documentation

◆ clearButton

QToolButton* MantidQt::MantidWidgets::LineEditWithClear::clearButton
private

Definition at line 34 of file LineEditWithClear.h.

Referenced by LineEditWithClear(), resizeEvent(), and updateCloseButton().


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