00001 //LabPlot : GraphListView.h 00002 00003 #ifndef GRAPHLISTVIEW_H 00004 #define GRAPHLISTVIEW_H 00005 00006 #include <klocale.h> 00007 #include <klistview.h> 00008 00009 class GraphListView: public KListView 00010 { 00011 Q_OBJECT 00012 public: 00013 GraphListView(QWidget *p); 00014 // 7 normal columns 00015 void showZ() { if(columns()<8) addColumn(i18n("Z Range")); } 00016 void showT() { if(columns()<9) addColumn(i18n("T Range")); } 00017 }; 00018 00019 #endif //GRAPHLISTVIEW_H