KPIMTextedit Library
20 #ifndef KPIMTEXTEDIT_INSERTIMAGEWIDGET_H
21 #define KPIMTEXTEDIT_INSERTIMAGEWIDGET_H
23 #include "kpimtextedit_export.h"
29 namespace KPIMTextEdit {
31 class InsertImageWidgetPrivate;
33 class KPIMTEXTEDIT_EXPORT InsertImageWidget :
public QWidget
37 explicit InsertImageWidget(
QWidget *parent );
40 void setImageWidth(
int value );
41 int imageWidth()
const;
43 void setImageHeight(
int value );
44 int imageHeight()
const;
46 KUrl imageUrl()
const;
47 void setImageUrl(
const KUrl &url );
49 bool keepOriginalSize()
const;
52 void enableButtonOk(
bool enabled );
55 friend class InsertImageWidgetPrivate;
56 InsertImageWidgetPrivate *
const d;
57 Q_PRIVATE_SLOT( d,
void _k_slotKeepOriginalSizeClicked(
bool ) )
58 Q_PRIVATE_SLOT( d,
void _k_slotUrlChanged( const
QString & ) )
59 Q_PRIVATE_SLOT( d,
void _k_slotImageWidthChanged(
int ) )
60 Q_PRIVATE_SLOT( d,
void _k_slotImageHeightChanged(
int ) )
66 #endif // KPIMTEXTEDIT_INSERTIMAGEWIDGET_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:23 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.