-
Notifications
You must be signed in to change notification settings - Fork 0
/
filelist.h
48 lines (44 loc) · 1.14 KB
/
filelist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef FILELIST_H
#define FILELIST_H
#include <QListWidget>
#include <QPushButton>
#include <QTime>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QCheckBox>
#include <QPlainTextEdit>
#include <QComboBox>
#include "videoplayer.h"
#include "filestruct.h"
/// 实现add,remove,getval方法
/// 向上向下移动+-的button
class Filelist: public QWidget
{
Q_OBJECT
public:
QLabel *label;
QCheckBox *mergeOrSingle;
QListWidget *Qlist;
QGridLayout *topLayout;
QHBoxLayout *topText;
QPushButton *buttonRemove, *buttonUp, *buttonDown, *buttonClear, *buttonCopy;
QHBoxLayout *buttonLayout;
Filelist(QWidget* parent);
~Filelist();
std::list<FileStruct> filelist;
std::list<FileStruct>::iterator listiterator;
public slots:
void addfile(FileStruct s);
void setconnect();
void removebutton_clicked();
//void addbutton_clicked();
void upbutton_clicked();
void downbutton_clicked();
void clearbutton_clicked();
void copybutton_clicked();
signals:
void contentChanged();
};
#endif // FILELIST_H