/*
* Version $Id: medialist.h 4230 2007-02-21 20:07:37Z kerns $
*
- * Kern Sibbald, January 2007
+ * Dirk Bentley, March 2007
*/
#include <QtGui>
#include "console.h"
#include <qstringlist.h>
-class MediaList : public QWidget, public Ui::MediaListForm
+class MediaList : public Pages, public Ui::MediaListForm
{
Q_OBJECT
public:
- MediaList(QStackedWidget *parent);
- void DoDisplay(Console *console);
+ MediaList(QStackedWidget *parent,Console *console, QTreeWidgetItem *treeItem, int indexseq);
+ ~MediaList();
+ virtual void PgSeltreeWidgetClicked();
+ virtual void PgSeltreeWidgetDoubleClicked();
public slots:
+ void treeItemClicked(QTreeWidgetItem *item, int column);
+ void treeItemDoubleClicked(QTreeWidgetItem *item, int column);
+ void editMedia();
+ void showJobs();
+
+private:
+ void createConnections();
private:
Console *m_console;
QTreeWidget *m_treeWidget;
- QStringList *poollist;
+ QString m_popuptext;
+ bool m_populated;
+ void populateTree();
};
#endif /* _MEDIALIST_H_ */