Hey guys,
I've subclassed the QLineEdit the following way:
class qsSearchEdit
: public QLineEdit,
public qsPrivatable
{
Q_OBJECT
private:
QS_DECLARE_PRIVATE(qsSearchEdit);
public:
qsSearchEdit
(QWidget * parent
= 0);
protected: // Events
};
class qsSearchEdit : public QLineEdit, public qsPrivatable
{
Q_OBJECT
private:
QS_DECLARE_PRIVATE(qsSearchEdit);
public:
qsSearchEdit(QWidget * parent = 0);
protected: // Events
void paintEvent(QPaintEvent * event) { }
};
To copy to clipboard, switch view to plain text mode
For some reason, even when drawing nothing in the paintEvent, I still get a blue halo on MacOSX when the line edit has focus.
Can we get rid of this?
Bookmarks