00001 #ifndef _QDBTDEBUG_PRIV_H 00002 #define _QDBTDEBUG_PRIV_H 00003 00004 #include <qaction.h> 00005 #include <qdialog.h> 00006 #include <qiconset.h> 00007 00008 #include <qdbt/qdbtglobal.h> 00009 00010 class QListView; 00011 class QListViewItem; 00012 class QPushButton; 00013 class QdbtBaseTabular; 00014 00015 class multiAction_c : public QAction 00016 { 00017 Q_OBJECT 00018 00019 QIconSet _onSet, _offSet; 00020 00021 public: 00022 multiAction_c( const QString & text, const QIconSet & on, 00023 const QIconSet & off, QObject * parent, 00024 const char * name = 0, bool toggle = FALSE ); 00025 00026 public slots: 00027 virtual void setOn( bool ); 00028 private slots: 00029 void slotSetPixmap( bool ); 00030 }; 00031 00032 00033 #ifdef INTERNAL_DOCUMENTATION 00034 00039 #endif 00040 class QdbtTabularSelectDialog : public QDialog 00041 { 00042 Q_OBJECT 00043 public: 00044 QdbtTabularSelectDialog( QWidget *parent = 0, const char *name = 0, 00045 bool modal = FALSE, WFlags f = 0 ); 00046 ~QdbtTabularSelectDialog(); 00047 00048 QdbtBaseTabular *selection() const; 00049 virtual void show(); 00050 virtual void accept(); 00051 private slots: 00052 void slotCurrentChanged( QListViewItem * ); 00053 00054 private: 00055 QListView *_lv; 00056 QPushButton *_acceptPB; 00057 QdbtBaseTabular *_selection; 00058 00059 #ifdef INTERNAL_DOCUMENTATION 00060 00069 #endif 00070 }; 00071 00072 #endif