mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
More overrides
This commit is contained in:
parent
75b072ec88
commit
d8174fb079
|
@ -27,8 +27,8 @@ class FALKON_EXPORT ProxyStyle : public QProxyStyle
|
||||||
public:
|
public:
|
||||||
explicit ProxyStyle();
|
explicit ProxyStyle();
|
||||||
|
|
||||||
int styleHint(StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const;
|
int styleHint(StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const override;
|
||||||
int pixelMetric(PixelMetric metric, const QStyleOption* option, const QWidget* widget) const;
|
int pixelMetric(PixelMetric metric, const QStyleOption* option, const QWidget* widget) const override;
|
||||||
void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override;
|
void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override;
|
||||||
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
|
|
|
@ -59,7 +59,7 @@ public:
|
||||||
QRect scrollBarGeometry(Qt::Orientation orientation) const;
|
QRect scrollBarGeometry(Qt::Orientation orientation) const;
|
||||||
|
|
||||||
void addNotification(QWidget* notif);
|
void addNotification(QWidget* notif);
|
||||||
bool eventFilter(QObject *obj, QEvent *event);
|
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||||
|
|
||||||
QWidget *inputWidget() const;
|
QWidget *inputWidget() const;
|
||||||
virtual QWidget *overlayWidget() = 0;
|
virtual QWidget *overlayWidget() = 0;
|
||||||
|
@ -142,8 +142,8 @@ protected slots:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void showEvent(QShowEvent *event) override;
|
void showEvent(QShowEvent *event) override;
|
||||||
void resizeEvent(QResizeEvent *event);
|
void resizeEvent(QResizeEvent *event) override;
|
||||||
void contextMenuEvent(QContextMenuEvent *event);
|
void contextMenuEvent(QContextMenuEvent *event) override;
|
||||||
|
|
||||||
virtual void _wheelEvent(QWheelEvent *event);
|
virtual void _wheelEvent(QWheelEvent *event);
|
||||||
virtual void _mousePressEvent(QMouseEvent *event);
|
virtual void _mousePressEvent(QMouseEvent *event);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user