cellistviewitem.h
来自「celestia源代码」· C头文件 代码 · 共 32 行
H
32 行
#ifndef CELLISTVIEWITEM_H#define CELLISTVIEWITEM_Hclass CelListViewItem : public QListViewItem{ public: CelListViewItem( QListView * parent, std::string name, double dist, const char* dist_unit, double app_mag, double abs_mag, QString type); CelListViewItem( QListViewItem * parent, std::string name, double dist, const char* dist_unit, double app_mag, double abs_mag, QString type); ~CelListViewItem(); std::string getName() const { return name; } double getDist() const { return dist; } double getAppMag() const { return app_mag; } double getAbsMag() const { return abs_mag; } public slots: int compare ( QListViewItem * i, int col, bool ascending ) const; private: std::string name; double dist; const char* dist_unit; double app_mag; double abs_mag; QString type;};#endif // CELESTIALBROWSER_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?