Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

showmodesdlg.h

Go to the documentation of this file.
00001 
00002 #ifndef SHOWMODESDLG_H
00003 #define SHOWMODESDLG_H
00004 
00005 
00006 #include <qdialog.h>
00007 
00008 /**
00009  * 
00010  * Erik Sjolund
00011  **/
00012 
00013 #include <qlistview.h> 
00014 
00015 class UI_AddRemoveWidget;
00016 class ModeItem;
00017 class LayerItem;
00018 class FeatureItem;
00019 class QPopupMenu;
00020 class QListViewItem;
00021 class RootItem;
00022 
00023 /** \brief Used in view modes edit dialog. Main window and handles the parsing of the trapperconf.xml file.
00024  */
00025 
00026 class ShowModesDlg : public QDialog
00027 {
00028 Q_OBJECT
00029 public:
00030     ShowModesDlg( QWidget * parent, const char * name );
00031     ~ShowModesDlg() {};
00032 public slots:
00033     void clicked(QListViewItem * item);
00034     
00035     void add();
00036     void remove();
00037     void edit();
00038  void up();
00039  void down();
00040     
00041        
00042    void contextMenu( QListViewItem *, const QPoint &, int );    
00043   void accept();
00044 protected:
00045 void editAddLayerCommon( int height, QString allowOverlapStr,
00046              LayerItem * item   );
00047   QPopupMenu * modeMenu;
00048   QPopupMenu * layerMenu;
00049   QPopupMenu * featureMenu;  
00050   QPopupMenu * rootMenu;
00051   QWidget * page;
00052   UI_AddRemoveWidget * uiWidget;
00053   ModeItem * modeItemClicked;
00054   LayerItem * layerItemClicked;
00055   FeatureItem * featureItemClicked;
00056   RootItem * rootItem;
00057 };
00058 
00059 
00060 
00061 
00062 #endif

Generated on Fri Mar 17 17:44:24 2006 for trapper by  doxygen 1.4.4