aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/propertyeditor/propertyeditorwidget.cpp
blob: 36c04e69f1147aeb6c10eed2cb13165158edcbff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "propertyeditorwidget.h"

#include <qmldesignerconstants.h>
#include <qmldesignerplugin.h>

namespace QmlDesigner {

PropertyEditorWidget::PropertyEditorWidget(QWidget *parent) : QStackedWidget(parent)
{
    QmlDesignerPlugin::trackWidgetFocusTime(this, Constants::EVENT_PROPERTYEDITOR_TIME);
}

void PropertyEditorWidget::resizeEvent(QResizeEvent * event)
{
    QStackedWidget::resizeEvent(event);
    emit resized();
}

}