-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor_comp_names.h
More file actions
47 lines (36 loc) · 839 Bytes
/
editor_comp_names.h
File metadata and controls
47 lines (36 loc) · 839 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
40
41
42
43
44
45
46
47
#ifndef EDITOR_COMP_NAMES_H
#define EDITOR_COMP_NAMES_H
#include <QFormLayout>
#include <QHBoxLayout>
#include <QListWidget>
#include <QStackedLayout>
#include <QVector>
#include <QWidget>
#include "common.h"
#include "text.h"
class EditorCompNames : public QObject
{
Q_OBJECT
private:
// Parent
QWidget *parent_;
// Layout
QHBoxLayout *layoutMain_;
// Left column
QListWidget *listNations_;
QVector<QString> itemNations_;
QVector<QFormLayout*> formNations_;
QVector<QWidget*> pageNations_;
// Right column
QStackedLayout *layoutStack_;
// Competitions
QVector<QVector<Text*>> names_;
public:
EditorCompNames(QWidget &parent);
EditorCompNames() {}
~EditorCompNames() {}
void init();
void initData();
void initUI();
};
#endif // EDITOR_COMP_NAMES_H