datainfo.h
Go to the documentation of this file.00001
00014 #ifndef DATAINFO_H
00015 #define DATAINFO_H
00016
00017 #include <qwidget.h>
00018 #include <qdict.h>
00019
00020 #include "poplistview.h"
00021
00022 class QPushButton;
00023
00026 class DataInfoListViewItem : public ColorListViewItem
00027 {
00028 public:
00033 DataInfoListViewItem(QListView* parent) : ColorListViewItem(parent) {}
00035 ~DataInfoListViewItem() {}
00043 virtual QString key(int column, bool ascending) const;
00044 };
00045
00046
00052 class DataInfo : public QWidget
00053 {
00054 Q_OBJECT
00055
00056 public:
00063 DataInfo(QWidget *parent=0, const char *name=0);
00065 ~DataInfo();
00066
00067 public slots:
00073 void refreshList();
00083 void slotUpdateList(SetiLoc* loc, int type);
00084
00085 protected:
00093 void resizeEvent(QResizeEvent *e);
00098 void paintEvent(QPaintEvent* e);
00105 void refreshListItem(SetiLoc* loc, DataInfoListViewItem* it=0);
00106
00107 protected slots:
00111 void slotUpdateWorkUnitData();
00113 void showMap();
00115 void toggleSorting(int column);
00116
00117 protected:
00119 popListView *QListView_1;
00123 QDict<DataInfoListViewItem> lvDict;
00125 QPushButton *QPushButton_1;
00126 bool sortingorder;
00128 enum ColumnIds {ColLocation, ColFrom, ColRecordedOn, ColSource, ColBaseFreq,
00129 ColAngleRange, ColTeraFlops};
00130 };
00131
00132 #endif
This file is part of the documentation for Ksetiwatch API Version 2.6.1.