-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlistform.h
More file actions
39 lines (34 loc) · 875 Bytes
/
listform.h
File metadata and controls
39 lines (34 loc) · 875 Bytes
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
#ifndef LISTFORM_H
#define LISTFORM_H
#include <QWidget>
#include "ui_ResWInElem.h"
#include <QVBoxLayout>
#include <types.h>
namespace Ui {
class ResElemForm;
}
class ListForm : public QWidget
{
Q_OBJECT
public:
explicit ListForm(Criterions crt, QWidget * parent = nullptr);
~ListForm();
void addElem(listElemetData led);
void delElem(int index);
void changeStateLable(ProccesThreadState ptc);
void setDataPth(QString path);
void showCurrentSet(int percent);
void showCurrentSet(QString percent);
Criterions getCriterion() const;
QVBoxLayout * getMainLayout() const;
private:
Ui::ResElemForm * ui;
QVBoxLayout * main_layout;
QWidget * scroll_w;
QString path;
Criterions crt;
signals:
private slots:
void openXlsx(listElemetData led);
};
#endif // LISTFORM_H