Das K Desktop Environment

A.9. kpenbrushdlg.h

   1 /***************************************************************************
   2                           kpenbrushdlg.h  -  description
   3                              -------------------
   4     begin                : Fri Jul 23 1999
   5     copyright            : (C) 1999 by Ralf Nolden
   6     email                : Ralf.Nolden@post.rwth-aachen.de
   7  ***************************************************************************/
   8 
   9 /***************************************************************************
  10  *                                                                         *
  11  *   This program is free software; you can redistribute it and/or modify  *
  12  *   it under the terms of the GNU General Public License as published by  *
  13  *   the Free Software Foundation; either version 2 of the License, or     *
  14  *   (at your option) any later version.                                   *
  15  *                                                                         *
  16  ***************************************************************************/
  17 
  18 
  19 #ifndef KPENBRUSHDLG_H
  20 #define KPENBRUSHDLG_H
  21 
  22 //Generated area. DO NOT EDIT!!!(begin)
  23 #include <qwidget.h>
  24 #include <qspinbox.h>
  25 #include <qlabel.h>
  26 #include <qpushbutton.h>
  27 //Generated area. DO NOT EDIT!!!(end)
  28 
  29 #include <qdialog.h>
  30 #include <klocale.h>
  31 
  32 /**
  33   *@author Ralf Nolden
  34   */
  35 
  36 class KPenBrushDlg : public QDialog  {
  37    Q_OBJECT
  38 public:
  39   KPenBrushDlg(int curr, QWidget *parent=0, const char *name=0);
  40   ~KPenBrushDlg();
  41 
  42   int width() { return width_spbox->value(); };
  43   
  44 protected slots:
  45   void slotDefault();
  46 
  47 protected:
  48   void initDialog();
  49   //Generated area. DO NOT EDIT!!!(begin)
  50   QSpinBox *width_spbox;
  51   QLabel *width_label;
  52   QPushButton *default_btn;
  53   QPushButton *ok_btn;
  54   QPushButton *cancel_btn;
  55   //Generated area. DO NOT EDIT!!!(end)
  56 
  57 private:
  58 };
  59 
  60 #endif
  61