-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 @@ -27,6 +27,6 @@ */ -#ifndef __OPIE_FONTSELECTOR_H__ -#define __OPIE_FONTSELECTOR_H__ +#ifndef OPIE_FONTSELECTOR_H__ +#define OPIE_FONTSELECTOR_H__ #include <qwidget.h> @@ -35,5 +35,15 @@ class QListBox; 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 { @@ -46,5 +56,5 @@ public: bool selectedFont ( QString &family, QString &style, int &size ); bool selectedFont ( QString &family, QString &style, int &size, QString &charset ); - + QFont selectedFont ( ); @@ -58,4 +68,7 @@ public: signals: + /** + * This signal gets emitted when a font got chosen + */ void fontSelected ( const QFont & ); @@ -72,5 +85,5 @@ private: void changeFont ( ); - + private: OFontSelectorPrivate *d; |