Akonadi Contacts

contacteditorcombobox.cpp
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2016-2023 Laurent Montel <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "contacteditorcombobox.h"
10 
11 using namespace ContactEditor;
12 
13 ContactEditorComboBox::ContactEditorComboBox(QWidget *parent)
14  : QComboBox(parent)
15 {
16  setSizeAdjustPolicy(QComboBox::AdjustToContents);
17 }
18 
19 ContactEditorComboBox::~ContactEditorComboBox() = default;
20 
21 QSize ContactEditorComboBox::minimumSizeHint() const
22 {
23  return {150, QComboBox::minimumSizeHint().height()};
24 }
virtual QSize minimumSizeHint() const const override
int height() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.