Hydra 0.20
hydra.src/desktop/ListView.h
00001 
00002 /*
00003  * Copyright (c) 2010 Aleksander B. Demko
00004  * This source code is distributed under the MIT license.
00005  * See the accompanying file LICENSE.MIT.txt for details.
00006  */
00007 
00008 #ifndef __INCLUDED_HYDRADESKTOP_LISTVIEW_H__
00009 #define __INCLUDED_HYDRADESKTOP_LISTVIEW_H__
00010 
00011 #include <QTableView>
00012 
00013 #include <desktop/View.h>
00014 
00015 namespace desktop
00016 {
00017   class ListView;
00018 }
00019 
00020 class desktop::ListView : public desktop::View
00021 {
00022     Q_OBJECT
00023 
00024   public:
00025     ListView(MainWindow *mainwin, FileList *_filelist);
00026 
00027   protected:
00028     virtual void contextMenuEvent(QContextMenuEvent * event);
00029 
00030   private:
00031     void initGui(void);
00032 
00033   private:
00034     QTableView *dm_table;
00035 };
00036 
00037 #endif
00038 
 All Classes Namespaces Functions Variables