mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
parent
066e91a2fe
commit
ca5a75b23e
@ -63,6 +63,13 @@ void InsertTableWidget::show(bool show)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void InsertTableWidget::hideEvent(QHideEvent * event)
|
||||||
|
{
|
||||||
|
QWidget::hideEvent(event);
|
||||||
|
visible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsertTableWidget::resetGeometry()
|
void InsertTableWidget::resetGeometry()
|
||||||
{
|
{
|
||||||
QPoint p = parentWidget()->mapToGlobal(parentWidget()->geometry().bottomLeft());
|
QPoint p = parentWidget()->mapToGlobal(parentWidget()->geometry().bottomLeft());
|
||||||
|
@ -41,6 +41,7 @@ protected Q_SLOTS:
|
|||||||
void mouseReleaseEvent(QMouseEvent *) override;
|
void mouseReleaseEvent(QMouseEvent *) override;
|
||||||
void mousePressEvent(QMouseEvent *) override;
|
void mousePressEvent(QMouseEvent *) override;
|
||||||
void paintEvent(QPaintEvent *) override;
|
void paintEvent(QPaintEvent *) override;
|
||||||
|
void hideEvent(QHideEvent * event);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! update the geometry
|
//! update the geometry
|
||||||
|
Loading…
Reference in New Issue
Block a user