Akonadi Contacts

contacteditorcombobox.cpp
1/*
2 This file is part of Contact Editor.
3
4 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#include "contacteditorcombobox.h"
10
11using namespace Akonadi;
12
13ContactEditorComboBox::ContactEditorComboBox(QWidget *parent)
14 : QComboBox(parent)
15{
16 setSizeAdjustPolicy(QComboBox::AdjustToContents);
17}
18
19ContactEditorComboBox::~ContactEditorComboBox() = default;
20
21QSize ContactEditorComboBox::minimumSizeHint() const
22{
23 return {150, QComboBox::minimumSizeHint().height()};
24}
25
26#include "moc_contacteditorcombobox.cpp"
A widget for editing the display name of a contact.
virtual QSize minimumSizeHint() const const override
int height() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:20 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.