Added server side browsing via xmmsc_xform_media_browse()
This commit is contained in:
parent
70c6c3832f
commit
95ff470248
12 changed files with 525 additions and 9 deletions
38
BrowseDialog.h
Normal file
38
BrowseDialog.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
#ifndef __BROWSEDIALOG_H__
|
||||
#define __BROWSEDIALOG_H__
|
||||
|
||||
#include "BrowseModel.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QListView>
|
||||
#include <QGridLayout>
|
||||
#include <QPushButton>
|
||||
#include <QLabel>
|
||||
#include <QComboBox>
|
||||
#include <QLineEdit>
|
||||
#include <QItemSelectionModel>
|
||||
|
||||
class BrowseDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BrowseDialog (QWidget *parent);
|
||||
|
||||
public slots:
|
||||
void setPath (const QModelIndex &index);
|
||||
void setPath (const QString &path);
|
||||
void navigateToPrevious ();
|
||||
void dirChanged (const QString &path);
|
||||
void accept ();
|
||||
QStringList getFiles ();
|
||||
|
||||
private:
|
||||
QListView *m_list;
|
||||
QComboBox *m_lookInCombo;
|
||||
QLineEdit *m_lookInEdit;
|
||||
QLineEdit *m_fileNameEdit;
|
||||
QComboBox *m_fileTypeCombo;
|
||||
BrowseModel *m_model;
|
||||
QItemSelectionModel *m_selections;
|
||||
};
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue