close button restored for bookmarks in OSX

This commit is contained in:
Luis Ángel San Martín
2013-11-23 09:47:27 -08:00
commit 8b2967c1a3
733 changed files with 65526 additions and 0 deletions

View File

@ -0,0 +1,29 @@
#ifndef YACREADER_SEARCH_LINE_EDIT_H
#define YACREADER_SEARCH_LINE_EDIT_H
#include <QLineEdit>
class QToolButton;
class QLabel;
class YACReaderSearchLineEdit : public QLineEdit
{
Q_OBJECT
public:
YACReaderSearchLineEdit(QWidget *parent = 0);
protected:
void resizeEvent(QResizeEvent *);
private slots:
void updateCloseButton(const QString &text);
private:
QToolButton *clearButton;
QLabel * searchLabel;
};
#endif // YACREADER_SEARCH_LINE_EDIT_H