Merge pull request #1455 from KLayout/wip2

Wip2
This commit is contained in:
Matthias Köfferlein 2023-08-07 21:59:17 +02:00 committed by GitHub
commit 8edcab0cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1299,6 +1299,8 @@ void DecoratedLineEdit::mouseReleaseEvent (QMouseEvent *event)
}
}
QLineEdit::mouseReleaseEvent (event);
}
void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
@ -1317,9 +1319,11 @@ void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
}
}
QLineEdit::mousePressEvent (event);
}
void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
void DecoratedLineEdit::resizeEvent (QResizeEvent *event)
{
int fw = hasFrame () ? le_frame_width : 0;
@ -1334,6 +1338,8 @@ void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
QRect r = geometry ();
mp_options_label->setGeometry (fw, 0, label_size.width (), r.height ());
}
QLineEdit::resizeEvent (event);
}
// -------------------------------------------------------------