Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Functions | Variables
connectionframe.cpp File Reference
#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>
+ Include dependency graph for connectionframe.cpp:

Go to the source code of this file.

Functions

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}")
 

Variables

static QIcon * term = nullptr
 
static QIcon * cam = nullptr
 
static QIcon * eye = nullptr
 
static QIcon * lock = nullptr
 
static const int START_DRAG_DISTANCE = 40
 

Function Documentation

static const QString style_attention ( "QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #C88; margin: 2px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

static const QString style_disconnected ( "QLabel{ background-color: #919191; border-radius: 2px; color: black; }"" QGroupBox { background-color: #7F7F7F; margin: 1px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

static const QString style_exam ( "QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #d35400; margin: 1px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

static const QString style_exam_selected ( "QLabel{ background-color: #919191; color: black; }"" QGroupBox { background-color: #cc743a; margin: 1px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

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

+ Here is the caller graph for this function:

static const QString style_student ( "QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #AAA; margin: 2px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

static const QString style_tutor ( "QLabel{ background-color: #FFF; border-radius: 2px; color: black;}"" QGroupBox { background-color: #70C670; margin: 2px; border-radius: 4px}"  )
static

+ Here is the caller graph for this function:

Variable Documentation

QIcon * cam = nullptr
static

Definition at line 66 of file connectionframe.cpp.

QIcon * eye = nullptr
static

Definition at line 66 of file connectionframe.cpp.

QIcon * lock = nullptr
static

Definition at line 66 of file connectionframe.cpp.

const int START_DRAG_DISTANCE = 40
static

Definition at line 68 of file connectionframe.cpp.

QIcon* term = nullptr
static

Definition at line 66 of file connectionframe.cpp.