Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
gridpanel_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5//
6// W A R N I N G
7// -------------
8//
9// This file is not part of the Qt API. It exists for the convenience
10// of the Qt tools. This header
11// file may change from version to version without notice, or even be removed.
12//
13// We mean it.
14//
15
16#ifndef GRIDPANEL_H
17#define GRIDPANEL_H
18
20
21#include <QtWidgets/qwidget.h>
22
24
25namespace qdesigner_internal {
26
27class Grid;
28
29namespace Ui {
30 class GridPanel;
31}
32
34{
36public:
37 GridPanel(QWidget *parent = nullptr);
39
40 void setTitle(const QString &title);
41
42 void setGrid(const Grid &g);
43 Grid grid() const;
44
45 void setCheckable (bool c);
46 bool isCheckable () const;
47
48 bool isChecked () const;
49 void setChecked(bool c);
50
51 void setResetButtonVisible(bool v);
52
53private slots:
54 void reset();
55
56private:
58};
59
60} // qdesigner_internal
61
62QT_END_NAMESPACE
63
64#endif // GRIDPANEL_H
friend class QWidget
Definition qpainter.h:432
FormEditorOptionsPage(QDesignerFormEditorInterface *core)
void fromSettings(const QDesignerSharedSettings &s)
void toSettings(QDesignerSharedSettings &s) const
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
#define QDESIGNER_SHARED_EXPORT