#include "mainwindow.h"
#include <QSvgRenderer>
#include <QPainter>
#include <QImage>
#include <QMessageBox>
#include <QCloseEvent>
#include <QDialogButtonBox>
#include <QScreen>
#include "../serverapp/serverapp.h"
#include "../clicklabel/clicklabel.h"
#include "../sessionnamewindow/sessionnamewindow.h"
#include "../connectionframe/connectionframe.h"
#include "../helpwindow/helpwindow.h"
#include "../reloadroomwindow/reloadroomwindow.h"
#include "../net/listenserver.h"
#include "../net/client.h"
#include "../net/discoverylistener.h"
#include "../../shared/settings.h"
#include "../util/platform/screensaver.h"
#include "ui_mainwindow.h"
Go to the source code of this file.
|
#define | sStrTutorNdef MainWindow::tr("No tutor defined.") |
|
#define | sStrTutorOffline MainWindow::tr("Tutor is offline.") |
|
#define | sStrSourceNdef MainWindow::tr("Please select a projection source.") |
|
#define | sStrSourceOffline MainWindow::tr("The projection source is offline.") |
|
#define | sStrDestNdef MainWindow::tr("Please select a projection destination.") |
|
#define | sStrDestOffline MainWindow::tr("The projection destination is offline.") |
|
#define | sStrSourceDestSame MainWindow::tr("Selected projection target is tutor.") |
|
#define | sStrNoDestAv MainWindow::tr("No projection destination available.") |
|
#define | GRID(X, Y) (grid[((X) * _tilesY) + (Y)]) |
|
|
static int | distance (QPoint a, QPoint b) |
| Squared euclidean distance (why is this not implemented in QPoint?) More...
|
|
AspectStatus | checkAspectRatio (const QSize &frameSize, const QSize &gridSize) |
| check the difference in the aspect ratio between the frame size and the grid size. More...
|
|
#define GRID |
( |
|
X, |
|
|
|
Y |
|
) |
| (grid[((X) * _tilesY) + (Y)]) |
#define sStrDestNdef MainWindow::tr("Please select a projection destination.") |
#define sStrDestOffline MainWindow::tr("The projection destination is offline.") |
#define sStrNoDestAv MainWindow::tr("No projection destination available.") |
#define sStrSourceDestSame MainWindow::tr("Selected projection target is tutor.") |
#define sStrSourceNdef MainWindow::tr("Please select a projection source.") |
#define sStrSourceOffline MainWindow::tr("The projection source is offline.") |
#define sStrTutorNdef MainWindow::tr("No tutor defined.") |
#define sStrTutorOffline MainWindow::tr("Tutor is offline.") |
Enumerator |
---|
GRID_OK |
|
GRID_TOO_WIDE |
|
GRID_TOO_TALL |
|
Definition at line 424 of file mainwindow.cpp.
AspectStatus checkAspectRatio |
( |
const QSize & |
frameSize, |
|
|
const QSize & |
gridSize |
|
) |
| |
check the difference in the aspect ratio between the frame size and the grid size.
The parameters in here are hand-adjusted. Feel free to make it more or less sensitive.
Definition at line 431 of file mainwindow.cpp.
static int distance |
( |
QPoint |
a, |
|
|
QPoint |
b |
|
) |
| |
|
static |
Squared euclidean distance (why is this not implemented in QPoint?)
Definition at line 211 of file mainwindow.cpp.