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,23 @@
#ifndef YACREADER_FIELD_EDIT_H
#define YACREADER_FIELD_EDIT_H
#include <QLineEdit>
class QAction;
class QFocusEvent;
class YACReaderFieldEdit : public QLineEdit
{
Q_OBJECT
public:
YACReaderFieldEdit(QWidget * parent = 0);
void clear();
void setDisabled(bool disabled);
protected:
void focusInEvent(QFocusEvent* e);
private:
QAction * restore;
};
#endif // YACREADER_FIELD_EDIT_H