Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QtMoleculeList.hpp

    r3eb91c r0eb7bf3  
    1414#endif
    1515
     16
    1617#include <QtGui/QTreeWidget>
    17 
    18 #include <map>
    19 #include <string>
    20 
    2118#include "CodePatterns/Observer/Observer.hpp"
    22 
    23 #include "types.hpp"
    2419
    2520class molecule;
     
    3631protected:
    3732  virtual void update(Observable *publisher);
    38   virtual void recieveNotification(Observable *publisher, Notification_ptr notification);
    3933  virtual void subjectKilled(Observable *publisher);
    4034  virtual void paintEvent(QPaintEvent * event);
     
    4236
    4337  static const int COLUMNCOUNT;
    44   enum {NAME,VISIBILITY,ATOMCOUNT,FORMULA,OCCURRENCE,COLUMNTYPES_MAX} COLUMNTYPES;
     38  enum {NAME,ATOMCOUNT,FORMULA,OCCURRENCE,COLUMNTYPES_MAX} COLUMNTYPES;
    4539  static const char *COLUMNNAMES[];
    4640
    4741private slots:
    4842  void moleculeChanged();
    49   void visibilityChanged(QTreeWidgetItem*, int);
    5043
    5144  void rowsSelected(const QItemSelection & selected, const QItemSelection & deselected);
     
    5447  void moleculeSelected(molecule*);
    5548  void moleculeUnSelected(molecule*);
    56   void moleculesVisibilityChanged(const moleculeId_t, bool);
    5749
    5850private:
     
    6052  bool clearing;
    6153  bool selecting;
    62   bool ChangingChildrensVisibility;
    63 
    64   typedef std::map<std::string, unsigned int> FormulaVisibilityCountMap_t;
    65   FormulaVisibilityCountMap_t FormulaVisibilityCountMap;
    66 
    67   typedef std::map<std::string, QTreeWidgetItem*> FormulaTreeItemMap_t;
    68   //!> map of (unique) formulas in the world
    69   FormulaTreeItemMap_t formula;
    7054};
    7155
Note: See TracChangeset for help on using the changeset viewer.