Akonadi Contacts

contacteditorcombobox.cpp
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2016-2021 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()
20 {
21 }
22 
23 QSize ContactEditorComboBox::minimumSizeHint() const
24 {
25  return QSize(150, QComboBox::minimumSizeHint().height());
26 }
virtual QSize minimumSizeHint() const const override
int height() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jun 23 2021 23:09:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.