Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/widget/wlibrarysidebar.h

Go to the documentation of this file.
00001 #ifndef WLIBRARYSIDEBAR_H
00002 #define WLIBRARYSIDEBAR_H
00003 
00004 #include <QtGui>
00005 #include <QTreeView>
00006 #include <QBasicTimer>
00007 
00008 class WLibrarySidebar : public QTreeView {
00009   Q_OBJECT
00010   public:
00011     WLibrarySidebar(QWidget* parent = 0);
00012     virtual ~WLibrarySidebar();
00013 
00014     void contextMenuEvent(QContextMenuEvent * event);
00015     void dragMoveEvent(QDragMoveEvent * event);
00016     void dragEnterEvent(QDragEnterEvent * event);
00017     void dropEvent(QDropEvent * event);
00018     void keyPressEvent(QKeyEvent* event);
00019     void timerEvent(QTimerEvent* event);
00020 
00021   public slots:
00022     void selectIndex(const QModelIndex&);
00023 
00024   signals:
00025     void rightClicked(const QPoint&, const QModelIndex&);
00026 
00027   private:
00028     QBasicTimer m_expandTimer;
00029     QModelIndex m_hoverIndex;
00030 };
00031 
00032 #endif /* WLIBRARYSIDEBAR_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines