PickTable.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _PickTable_H_
00015 #define _PickTable_H_
00016 
00017 #include <qglobal.h>
00018 #include "qtui/PickTableBase.h"
00019 
00020 #if QT_VERSION < 0x040000
00021 #else
00022 #include "libqthippo.h"
00023 class Q3ListViewItem;
00024 #endif
00025 
00026 #include <vector>
00027 
00028 namespace hippodraw {
00029 
00030 class NTuple;
00031 class NTupleSorter;
00032 class PlotterBase;
00033 class DataRep;
00034 
00045 // #if QT_VERSION < 0x040000
00046 class MDL_QTHIPPOPLOT_API PickTable : public PickTableBase
00047 // #else
00048 // class MDL_QTHIPPOPLOT_API PickTable : public QDialog,
00049 //                                    private Ui::PickTableUI
00050 // #endif
00051 {
00052 
00053 private:
00054 
00057   NTupleSorter * m_sorter;
00058 
00062   PlotterBase * m_target;
00063 
00066   unsigned int m_column;
00067 
00069   DataRep * m_datarep;
00070 
00071 protected:
00072 
00075   virtual void addEntry();
00076 
00079   virtual void clear();
00080 
00083   virtual void deleteSelectedItem();
00084 
00087   virtual void pickedCheckBoxClicked();
00088 
00091   virtual void listSorted ( int );
00092 
00095 #if QT_VERSION < 0x040000
00096   unsigned int indexOf ( QListViewItem * target );
00097 #else
00098   unsigned int indexOf ( Q3ListViewItem * target );
00099 #endif
00100 
00106   void refreshItems ( unsigned int select);
00107 
00111   void addDataRep ();
00112 
00113 public:
00114 
00118   PickTable ( PlotterBase * plotter );
00119 
00123   void addItem ( std::vector < double > & v );
00124 
00127   virtual void m_pick_table_selectionChanged();
00128 
00131   NTuple * getPickTable () const;
00132 
00133 };
00134 
00135 } // namespace hippodraw
00136 
00137 #endif // _PickTable_H_

Generated for HippoDraw Class Library by doxygen