Qt
Widgets
pqAdjustToCurrentComboBox.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqAdjustToCurrentComboBox_h
5
#define pqAdjustToCurrentComboBox_h
6
7
#include "pqWidgetsModule.h"
8
#include <QComboBox>
9
22
class
PQWIDGETS_EXPORT
pqAdjustToCurrentComboBox
:
public
QComboBox
23
{
24
Q_OBJECT
25
typedef
QComboBox Superclass;
26
27
public
:
28
pqAdjustToCurrentComboBox
(QWidget* parent =
nullptr
);
29
~
pqAdjustToCurrentComboBox
()
override
=
default
;
30
31
QSize sizeHint()
const override
;
32
QSize minimumSizeHint()
const override
;
33
34
private
:
35
Q_DISABLE_COPY(
pqAdjustToCurrentComboBox
);
36
};
37
38
#endif
pqAdjustToCurrentComboBox
pqAdjustToCurrentComboBox is a QComboBox specialization whose size hint is based on the width needed ...
Definition:
pqAdjustToCurrentComboBox.h:22
Generated by
1.8.13 on Fri Aug 28 2026