yacreader/custom_widgets/yacreader_field_edit.h
Felix Kauselmann 197660b46e Linux: install docs in a more packaging-friendly way
Linux: Add initial support for manpages
2014-08-18 00:35:26 +02:00

23 lines
418 B
C++

#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