CuteLogger
Fast and simple logging solution for Qt based applications
src
widgets
lineeditclear.h
1
/****************************************************************************
2
**
3
** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
4
**
5
** Use, modification and distribution is allowed without limitation,
6
** warranty, liability or support of any kind.
7
**
8
****************************************************************************/
9
10
#ifndef LINEEDIT_H
11
#define LINEEDIT_H
12
13
#include <QLineEdit>
14
15
class
QToolButton;
16
17
class
LineEditClear :
public
QLineEdit
18
{
19
Q_OBJECT
20
21
public
:
22
LineEditClear(QWidget *parent = 0);
23
24
protected
:
25
void
resizeEvent(QResizeEvent *);
26
27
private
slots:
28
void
updateCloseButton(
const
QString &text);
29
30
private
:
31
QToolButton *clearButton;
32
};
33
34
#endif
// LIENEDIT_H
35
Generated on Sun Sep 1 2024 00:00:00 for CuteLogger by
1.12.0