|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# embeddeddialog.h Example File
demos/embeddeddialogs/embeddeddialog.h

     /****************************************************************************
     **
     ** Copyright (C) 2005-$THISYEAR$ $TROLLTECH$. All rights reserved.
     **
     ** This file is part of the $MODULE$ of the Qt Toolkit.
     **
     ** $TROLLTECH_DUAL_LICENSE$
     **
     ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
     ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     **
     ****************************************************************************/

     #ifndef EMBEDDEDDIALOG_H
     #define EMBEDDEDDIALOG_H

     #include <QtGui/qdialog.h>

     QT_FORWARD_DECLARE_CLASS(Ui_embeddedDialog);

     class EmbeddedDialog : public QDialog
     {
         Q_OBJECT
     public:
         EmbeddedDialog(QWidget *parent = 0);
         ~EmbeddedDialog();

     private slots:
         void layoutDirectionChanged(int index);
         void spacingChanged(int spacing);
         void fontChanged(const QFont &font);
         void styleChanged(const QString &styleName);

     private:
         Ui_embeddedDialog *ui;
     };

     #endif