koCharSelectDia.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef KOCHARSELECTDIA_H
00021
#define KOCHARSELECTDIA_H
00022
00023
#include <kdialogbase.h>
00024
00025
class QWidget;
00026
class QGridLayout;
00027
class QPushButton;
00028
class KCharSelect;
00029
class KButtonBox;
00030
00031
00032
00033
00034
00035
class KoCharSelectDia :
public KDialogBase
00036 {
00037 Q_OBJECT
00038
00039
public:
00040
00041
00042 KoCharSelectDia(
QWidget *parent,
const char *name,
const QChar &_chr,
00043
const QString &_font,
bool _enableFont,
bool _modal=
true );
00044
00045
00046 KoCharSelectDia(
QWidget *parent,
const char *name,
const QString &_font,
00047
const QChar &_chr,
bool _modal=
true );
00048 ~KoCharSelectDia();
00049
00050
static bool selectChar(
QString &_font,
QChar &_chr,
bool _enableFont =
true );
00051
00052
00053
QChar chr();
00054
QString font();
00055
void closeDialog();
00056
00057
private:
00058
void initDialog(
const QChar &_chr,
const QString &_font,
bool _enableFont);
00059
00060
private slots:
00061
void slotUser1();
00062
void slotDoubleClicked();
00063
00064
protected:
00065
00066
QGridLayout *grid;
00067 KButtonBox *bbox;
00068
QPushButton *bOk, *bCancel;
00069 KCharSelect *charSelect;
00070
00071 signals:
00072
void insertChar(
QChar,
const QString &);
00073 };
00074
00075
#endif
This file is part of the documentation for lib Library Version 1.3.3.