bunjee
24th November 2009, 15:20
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
void paintEvent(QPaintEvent * event) { }
};
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?
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
void paintEvent(QPaintEvent * event) { }
};
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?