Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

hk_kdecsvexportdialog.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2004 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_kdeclasses library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file LGPL included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00010 // ****************************************************************************
00011 
00012 #ifndef HK_KDECSVexportDIALOG_H
00013 #define HK_KDECSVexportDIALOG_H
00014 
00015 #include <qvariant.h>
00016 #include <qdialog.h>
00017 #include <hk_dsvisible.h>
00018 #include <hk_datasource.h>
00019 #include <hk_reportutils.h>
00020 //#include <hk_string>
00021 class QVBoxLayout;
00022 class QHBoxLayout;
00023 class QGridLayout;
00024 class QCheckBox;
00025 class QComboBox;
00026 class QLabel;
00027 class QLineEdit;
00028 class QPushButton;
00029 class QToolButton;
00036 class hk_kdecsvexportdialog : public QDialog  ,public hk_reportcsv
00037 {
00038     Q_OBJECT
00039 
00040         public:
00041         hk_kdecsvexportdialog(const QString& table, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00042         ~hk_kdecsvexportdialog();
00043 
00044         QLabel* TextLabel1;
00045         QLineEdit* filefield;
00046         QToolButton* filebutton;
00047         QComboBox* tablelist;
00048         QLabel* TextLabel3;
00049         QCheckBox* firstrow;
00050         QLabel* TextLabel1_3;
00051         QLineEdit* textdelimiterfield;
00052         QLabel* TextLabel1_2;
00053         QLabel* TextLabel2;
00054         QComboBox* columnseparatorfield;
00055         QPushButton* buttonOk;
00056         QPushButton* buttonCancel;
00057         QPushButton* buttonHelp;
00058 
00059         void set_usetablelist(void);
00060         void set_usequerylist(void);
00061         void set_useviewlist(void);
00062         void set_database(hk_database* d);
00063     protected slots:
00064         virtual void filebutton_clicked();
00065         virtual void buttons_enabled();
00066         virtual void ok_clicked(void);
00067 
00068     protected:
00069         QHBoxLayout* hk_kdecsvexportdialogLayout;
00070         QVBoxLayout* Layout12;
00071         QHBoxLayout* Layout10;
00072         QGridLayout* Layout11;
00073         QVBoxLayout* Layout5;
00074     private:
00075 //  hk_exportcsv* p_export;
00076         void set_datasourcelist(void);
00077         QString      p_file;
00078         QString   p_tablename;
00079         QString      p_tab;
00080         datasourcetype p_datasourcetype;
00081 
00082 };
00083 #endif                                            // HK_KDECSVexportDIALOG_H

Generated on Tue Mar 22 23:28:15 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1