You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 rivejä
495 B

#pragma once
#include <QWidget>
#include <QModelIndex>
class QListView;
class QFileSystemModel;
namespace hex {
class Pane : public QWidget {
Q_OBJECT
public:
explicit Pane(QWidget *parent = 0);
QString getPath();
public slots:
bool setPath(const QString& path);
void changeIndex(const QModelIndex& index);
void moveUp();
signals:
void pathChanged(const QString& newPath);
void folderChanged(const QString& newFolder);
private:
QListView* mView;
QFileSystemModel* mModel;
};
}