00001 00002 /**************************************************************************** 00003 ** Created: Sat Feb 24 23:32:10 2001 00004 copyright : (C) 2000 -2004 by llornkcor 00005 email : ljp@llornkcor.com 00006 00007 ****************************************************************************/ 00008 #ifndef SEARCHRESULTSDLG_H 00009 #define SEARCHRESULTSDLG_H 00010 00011 //#include "gutenbrowser.h" 00012 #include <qdialog.h> 00013 #include <qlabel.h> 00014 #include <qstringlist.h> 00015 #include <qlistbox.h> 00016 00017 class QVBoxLayout; 00018 class QHBoxLayout; 00019 class QGridLayout; 00020 //class QListBox; 00021 class QListBoxItem; 00022 class QPushButton; 00023 00024 class SearchResultsDlg : public QDialog 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 SearchResultsDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, QStringList stringList=0); 00030 ~SearchResultsDlg(); 00031 00032 QLabel* statusLabel, *outPutLabel; 00033 QPushButton* buttonOk; 00034 QPushButton* buttonCancel; 00035 QListBox* ListBox1; 00036 QString selText; 00037 QStringList resultsList; 00038 int numListItems; 00039 00040 protected: 00041 QHBoxLayout* hbox; 00042 public slots: 00043 void slotListClicked(QListBoxItem *); 00044 00045 protected slots: 00046 void dwnLd(); 00047 void downloadButtonSlot(); 00048 00049 }; 00050 00051 #endif // SEARCHRESULTSDLG_H
1.4.2