This commit is contained in:
zneix 2021-07-31 00:57:45 +02:00
parent 3757784f73
commit 347a1b9ed6
No known key found for this signature in database
GPG key ID: 911916E0523B22F6
8 changed files with 8 additions and 8 deletions

View file

@ -217,7 +217,7 @@ void Button::fancyPaint(QPainter &painter)
}
}
void Button::enterEvent(QEvent *)
void Button::enterEvent(QEnterEvent *)
{
this->mouseOver_ = true;
}

View file

@ -58,7 +58,7 @@ signals:
protected:
virtual void paintEvent(QPaintEvent *) override;
virtual void enterEvent(QEvent *) override;
virtual void enterEvent(QEnterEvent *) override;
virtual void leaveEvent(QEvent *) override;
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void mouseReleaseEvent(QMouseEvent *event) override;

View file

@ -571,7 +571,7 @@ void NotebookTab::mouseDoubleClickEvent(QMouseEvent *event)
}
}
void NotebookTab::enterEvent(QEvent *event)
void NotebookTab::enterEvent(QEnterEvent *event)
{
this->mouseOver_ = true;

View file

@ -62,7 +62,7 @@ protected:
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void mouseReleaseEvent(QMouseEvent *event) override;
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
virtual void enterEvent(QEvent *) override;
virtual void enterEvent(QEnterEvent *) override;
virtual void leaveEvent(QEvent *) override;
virtual void dragEnterEvent(QDragEnterEvent *event) override;

View file

@ -534,7 +534,7 @@ void Split::resizeEvent(QResizeEvent *event)
this->overlay_->setGeometry(this->rect());
}
void Split::enterEvent(QEvent *event)
void Split::enterEvent(QEnterEvent *event)
{
this->isMouseOver_ = true;

View file

@ -103,7 +103,7 @@ protected:
void keyPressEvent(QKeyEvent *event) override;
void keyReleaseEvent(QKeyEvent *event) override;
void resizeEvent(QResizeEvent *event) override;
void enterEvent(QEvent *event) override;
void enterEvent(QEnterEvent *event) override;
void leaveEvent(QEvent *event) override;
void focusInEvent(QFocusEvent *event) override;

View file

@ -852,7 +852,7 @@ void SplitHeader::mouseDoubleClickEvent(QMouseEvent *event)
this->doubleClicked_ = true;
}
void SplitHeader::enterEvent(QEvent *event)
void SplitHeader::enterEvent(QEnterEvent *event)
{
if (!this->tooltipText_.isEmpty())
{

View file

@ -41,7 +41,7 @@ protected:
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void mouseReleaseEvent(QMouseEvent *event) override;
virtual void mouseMoveEvent(QMouseEvent *event) override;
virtual void enterEvent(QEvent *) override;
virtual void enterEvent(QEnterEvent *) override;
virtual void leaveEvent(QEvent *event) override;
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;