ContextMenu in QTreeView
Hi i want make CustomContextMenu in reimplement QTreeView, i finde on forum this http://qt-project.org/forums/viewthread/1738 , but i have to done somting wrong ;(
.h
- #ifndef MYTREEVIEW_H
- #define MYTREEVIEW_H
- #include <QtGui>
- #include <QtCore>
- {
- Q_OBJECT
- public:
- signals:
- public slots:
- void slotTest();
- };
- #endif // MYTREEVIEW_H
.cpp
- #include "mytreeview.h"
- {
- }
- {
- }
- void MyTreeView::slotTest()
- {
- }
treeview work but right click dont show menu ;( some advice ??
4 replies
You must log in to post a reply. Not a member yet? Register here!


