-rw-r--r-- | libopie/ofontselector.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/libopie/ofontselector.h b/libopie/ofontselector.h index 10d16f0..95ffd04 100644 --- a/libopie/ofontselector.h +++ b/libopie/ofontselector.h @@ -28,4 +28,4 @@ -#ifndef __OPIE_FONTSELECTOR_H__ -#define __OPIE_FONTSELECTOR_H__ +#ifndef OPIE_FONTSELECTOR_H__ +#define OPIE_FONTSELECTOR_H__ @@ -36,3 +36,13 @@ class OFontSelectorPrivate; - +/** + * This class lets you chose a Font out of a list of Fonts. + * It can show a preview too. This selector will use all available + * fonts + * + * + * @short A widget to select a font + * @see QWidget + * @see QFont + * @author Rober Griebl + */ class OFontSelector : public QWidget @@ -47,3 +57,3 @@ public: bool selectedFont ( QString &family, QString &style, int &size, QString &charset ); - + QFont selectedFont ( ); @@ -59,2 +69,5 @@ public: signals: + /** + * This signal gets emitted when a font got chosen + */ void fontSelected ( const QFont & ); @@ -73,3 +86,3 @@ private: void changeFont ( ); - + private: |