forked from qt-creator/qt-creator
Correct edit keyframe dialog title and fix its size
- Make sure the edit keyframe dialog's title appears correctly. - Disabled resizing of the dialog. Change-Id: I2374e2f71e99b49b00c9600787a798e457b8ec01 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -35,9 +35,10 @@ SetFrameValueDialog::SetFrameValueDialog(qreal frame, const QVariant &value,
|
|||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
, ui(new Ui::SetFrameValueDialog)
|
, ui(new Ui::SetFrameValueDialog)
|
||||||
{
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowTitle(tr("Edit Keyframe"));
|
setWindowTitle(tr("Edit Keyframe"));
|
||||||
ui->setupUi(this);
|
setFixedSize(size());
|
||||||
|
|
||||||
ui->lineEditFrame->setValidator(new QIntValidator(0, 99999, this));
|
ui->lineEditFrame->setValidator(new QIntValidator(0, 99999, this));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user