Open Simulator Terrain Editor BRIGADOON-0007
Edit Terrain Files for Open Simulator Regions
Loading...
Searching...
No Matches
areacalculator.h
Go to the documentation of this file.
1#ifndef AREACALCULATOR_H
2#define AREACALCULATOR_H
3
4#include <QObject>
5#include "logger.h"
6
12
18
24
25class AreaCalculator : public QObject
26{
27 Q_OBJECT
28public:
29 explicit AreaCalculator(QObject *parent = nullptr);
30
31public slots:
32 void LowerXChanged(int NewValue);
33 void LowerYChanged(int NewValue);
34 void UpperXChanged(int NewValue);
35 void UpperYChanged(int NewValue);
36 void WorldXChanged(int NewValue);
37 void WorldYChanged(int NewValue);
38 void Regionx1Pressed(void);
39 void Regionx4Pressed(void);
40 void Regionx16Pressed(void);
41 void AutoCalcChanged(Qt::CheckState);
43
44private:
49
56
57 void FindWorldLimits(void);
58 void CalculateWorldArea(void);
59 void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message);
60
61private slots:
62
63
64signals:
67
74};
75
76#endif // AREACALCULATOR_H
AreaCalculator(QObject *parent=nullptr)
void SendWorldArea(REMOTE_WORLD_SIZE WorldArea)
void WorldXChanged(int NewValue)
void SendWorldSides(REMOTE_WORLD_SIDES world_sides)
void UpperXChanged(int NewValue)
void CalculateWorldArea(void)
void LowerYChanged(int NewValue)
void IncludeNewRegion(REMOTE_REGION_ADDRESS Location)
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry via the Signal-Slot Method.
void Regionx16Pressed(void)
void UpperYChanged(int NewValue)
void FindWorldLimits(void)
void WorldYChanged(int NewValue)
void Regionx1Pressed(void)
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
void AutoCalcChanged(Qt::CheckState)
void LowerXChanged(int NewValue)
void Regionx4Pressed(void)
LOGGING_SEVERITY
Log Severity allow the selection of logging events based on Severity.
Definition logger.h:48
LOGGING_MODE
Log Severity allow the selection of logging events based on the mode.
Definition logger.h:21
Definition logger.h:60