5#ifndef QITEMEDITORFACTORY_P_H
6#define QITEMEDITORFACTORY_P_H
20#include <QtWidgets/private/qtwidgetsglobal_p.h>
22#if QT_CONFIG(lineedit)
25QT_REQUIRE_CONFIG(itemviews);
29class QExpandingLineEdit :
public QLineEdit
34 QExpandingLineEdit(QWidget *parent);
36 void setWidgetOwnsGeometry(
bool value)
38 widgetOwnsGeometry = value;
42 void changeEvent(QEvent *e) override;
45 void resizeToContents();
48 void updateMinimumWidth();
51 bool widgetOwnsGeometry;
QWidget * createEditor(int userType, QWidget *parent) const override
Creates an editor widget with the given parent for the specified userType of data,...
QDefaultItemEditorFactory()
QByteArray valuePropertyName(int) const override
Returns the property name used to access data for the given userType of data.
static QItemEditorFactory * q_default_factory
~QDefaultFactoryCleaner()