diff options
Diffstat (limited to 'ksirc/charSelector.h')
-rw-r--r-- | ksirc/charSelector.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ksirc/charSelector.h b/ksirc/charSelector.h new file mode 100644 index 00000000..927cb5e5 --- /dev/null +++ b/ksirc/charSelector.h @@ -0,0 +1,42 @@ +/* ascii table for ksirc - Robbie Ward <[email protected]>*/ + +#ifndef CHARSELECTOR_H +#define CHARSELECTOR_H + +#include <kdialog.h> +#include <kdebug.h> +#include <kcharselect.h> + +class QVBoxLayout; +class QPushButton; + +class charSelector : public KDialog +{ + Q_OBJECT + public: + charSelector(QWidget *parent=0, const char *name=0); + ~charSelector(); + + virtual bool eventFilter ( QObject * watched, QEvent * e ); + + public slots: + void insertText(); + QString currentText() { return charSelect->chr(); } + + void setFont( const QString &font ); + + protected slots: + virtual void reject(); + + signals: + void clicked(); + + protected: + virtual void keyPressEvent(QKeyEvent *e); + + private: + KCharSelect *charSelect; + QVBoxLayout* testLayout; + QPushButton *insertButton; +}; +#endif |