Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_gui_itemviews_qabstractitemview.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5void MyView::resizeEvent(QResizeEvent *event) {
6 horizontalScrollBar()->setRange(0, realWidth - width());
7 ...
8}
10
13...
14setIndexWidget(index, new QTextEdit);
16
18QItemSelectionModel *m = view->selectionModel();
19view->setModel(new model);
20delete m;
The QLineEdit widget is a one-line text editor.
Definition qlineedit.h:28
The QResizeEvent class contains event parameters for resize events.
Definition qevent.h:548
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
Definition qtextedit.h:27
const GLfloat * m
GLuint index
[2]
GLint GLsizei width
struct _cl_event * event
QSqlQueryModel * model
[16]
setIndexWidget(index, new QLineEdit)
[0]
QQuickView * view
[0]