• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

finddialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           finddialog.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Wed Jul 4 2001
00005     copyright            : (C) 2001 by Jason Harris
00006     email                : jharris@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 
00019 
00020 
00021 #ifndef FINDDIALOG_H
00022 #define FINDDIALOG_H
00023 
00024 #include <kdialogbase.h>
00025 
00026 class QVBoxLayout;
00027 class QHBoxLayout;
00028 class QGridLayout;
00029 class QLabel;
00030 class QLineEdit;
00031 class QComboBox;
00032 class QListBox;
00033 class QListBoxItem;
00034 //class QStringList;
00035 class SkyObjectNameListItem;
00036 
00047 class FindDialog : public KDialogBase  {
00048 Q_OBJECT
00049 
00050 public:
00054     FindDialog( QWidget* parent = 0 );
00055 
00058     ~FindDialog();
00059 
00062     SkyObjectNameListItem * currentItem() const { return currentitem; }
00063 
00064 public slots:
00068     void filter();
00069 
00073     void filterByType();
00074     
00079     void slotOk();
00080 
00081 private slots:
00084     void init();
00085 
00088     void updateSelection (QListBoxItem *);
00089 
00092     void setFilter( int f );
00093 
00094 protected:
00099     void keyPressEvent( QKeyEvent *e );
00100 
00101 private:
00105     void setListItemEnabled();
00106     
00107     QVBoxLayout *vlay;
00108     QHBoxLayout *hlay;
00109     QListBox *SearchList;
00110     QLineEdit *SearchBox;
00111     QLabel *filterTypeLabel;
00112     QComboBox *filterType;
00113 
00114     SkyObjectNameListItem *currentitem;
00115     
00116     int Filter;
00117 };
00118 
00119 #endif

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal