#include "connectionframe.h"
#include "../mainwindow/mainwindow.h"
#include "../../shared/util.h"
#include "../net/client.h"
#include <QImage>
#include <QResizeEvent>
#include <QBoxLayout>
#include <QLabel>
#include <QApplication>
#include <QPainter>
Go to the source code of this file.
|
static const QString | style_student ("QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #AAA; margin: 2px; border-radius: 4px}") |
|
static const QString | style_tutor ("QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #70C670; margin: 2px; border-radius: 4px}") |
|
static const QString | style_attention ("QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #C88; margin: 2px; border-radius: 4px}") |
|
static const QString | style_selectedStudent ("QLabel{ background-color: #FFF; border-radius: 2px; color: black; }"" QGroupBox { background-color: #ccebff; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}") |
|
static const QString | style_selectedTutor ("QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #9f9; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}") |
|
static const QString | style_selectedAttention ("QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #E99; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}") |
|
static const QString | style_exam ("QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #d35400; margin: 1px; border-radius: 4px}") |
|
static const QString | style_exam_selected ("QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #cc743a; margin: 1px; border-radius: 4px}") |
|
static const QString | style_disconnected ("QLabel{ background-color: #919191; border-radius: 2px; color: black; }"" QGroupBox { background-color: #7F7F7F; margin: 1px; border-radius: 4px}") |
|
static const QString style_attention |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #C88; margin: 2px; border-radius: 4px}" |
| ) |
|
|
static |
static const QString style_disconnected |
( |
"QLabel{ background-color: #919191; border-radius: 2px; color: black; }"" QGroupBox { background-color: #7F7F7F; margin: 1px; border-radius: 4px}" |
| ) |
|
|
static |
static const QString style_exam |
( |
"QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #d35400; margin: 1px; border-radius: 4px}" |
| ) |
|
|
static |
static const QString style_exam_selected |
( |
"QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #cc743a; margin: 1px; border-radius: 4px}" |
| ) |
|
|
static |
static const QString style_selectedAttention |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #E99; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}" |
| ) |
|
|
static |
static const QString style_selectedStudent |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black; }"" QGroupBox { background-color: #ccebff; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}" |
| ) |
|
|
static |
static const QString style_selectedTutor |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #9f9; margin: 0px; border-radius: 4px; border: 4px solid #6C8CF0;}" |
| ) |
|
|
static |
static const QString style_student |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #AAA; margin: 2px; border-radius: 4px}" |
| ) |
|
|
static |
static const QString style_tutor |
( |
"QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #70C670; margin: 2px; border-radius: 4px}" |
| ) |
|
|
static |
const int START_DRAG_DISTANCE = 40 |
|
static |