This class is a custom QLineEdit which provides a button to clear the text of the line edit.
More...
#include <MemoryX/gui-plugins/SceneEditor/gui/ClearableLineEdit.h>
|
| void | resizeEvent (QResizeEvent *) override |
| | This event handler is implemented to receive widget resize events which are passed in the event parameter.
|
| |
This class is a custom QLineEdit which provides a button to clear the text of the line edit.
Inherited from QLineEdit.
- See also
- Qt::QLineEdit
◆ ClearableLineEdit()
Constructor.
Creates an instance of ClearableLineEdit by a given QWidget as parent. The parent argument is sent to the QWidget constructor. If no parent is given, the default parent is 0.
- Parameters
-
◆ ~ClearableLineEdit()
Destructor.
Destroys the clearable line edit.
◆ resizeEvent()
| void resizeEvent |
( |
QResizeEvent * | | ) |
|
|
overrideprotected |
This event handler is implemented to receive widget resize events which are passed in the event parameter.
When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through Qt::QResizeEvent:oldSize().
- Parameters
-
- See also
- Qt::QResizeEvent
-
Qt::QWidget:resizeEvent();
The documentation for this class was generated from the following files: