KPimTextEdit

inserttabledialog.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5
6*/
7
8#pragma once
9
10#include <QDialog>
11
12#include <QTextLength>
13
14namespace KPIMTextEdit
15{
16class InsertTableDialog : public QDialog
17{
19public:
20 explicit InsertTableDialog(QWidget *parent);
21 ~InsertTableDialog() override;
22 [[nodiscard]] int columns() const;
23 [[nodiscard]] int rows() const;
24 [[nodiscard]] int border() const;
25
26 void setColumns(int col);
27 void setRows(int rows);
28 void setBorder(int border);
29
30 [[nodiscard]] QTextLength::Type typeOfLength() const;
31 void setTypeOfLength(QTextLength::Type type);
32 [[nodiscard]] int length() const;
33 void setLength(int);
34
35private:
36 class InsertTableDialogPrivate;
37 std::unique_ptr<InsertTableDialogPrivate> const d;
38};
39}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.