added all empty container views

This commit is contained in:
Luis Ángel San Martín
2014-11-22 14:03:15 +01:00
parent d128b4e851
commit f0d69cb032
25 changed files with 584 additions and 484 deletions

View File

@ -1,14 +1,12 @@
#ifndef EMPTY_FOLDER_WIDGET_H
#define EMPTY_FOLDER_WIDGET_H
#include <QWidget>
#include <QModelIndex>
#include "empty_container_info.h"
#include <QtWidgets>
class QLabel;
class QListView;
class QStringListModel;
class EmptyFolderWidget : public QWidget
class EmptyFolderWidget : public EmptyContainerInfo
{
Q_OBJECT
public:
@ -25,12 +23,9 @@ public slots:
void onItemClicked(const QModelIndex & mi);
protected:
QLabel * iconLabel;
QLabel * titleLabel;
QListView * foldersView;
QModelIndex parent;
QStringListModel * subfoldersModel;
void paintEvent(QPaintEvent *);
QString backgroundColor;
//Drop to import