blob: 0647f7f1c4e4a2aae2ba757b75124e9dc234abc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//! [0]
QItemSelection *selection = new QItemSelection(topLeft, bottomRight);
//! [0]
//! [1]
QItemSelection *selection = new QItemSelection();
...
selection->select(topLeft, bottomRight);
//! [1]
|