hivemind 1.0.0
Loading...
Searching...
No Matches
Gui::MapDialog Class Reference

The MapDialog class represents a dialog window for inputting map data. More...

#include <map_dialog.h>

Inheritance diagram for Gui::MapDialog:
Inheritance graph
Collaboration diagram for Gui::MapDialog:
Collaboration graph

Public Slots

void Finish ()
 Slot called when the user finishes input and submits the data.
 

Signals

void SendData (const QString &data)
 Signal emitted when data is ready to be sent.
 
void Finished ()
 Signal emitted when the dialog has finished.
 
void MapDataReady (float latitude, float longitude, float size)
 Signal emitted when map data is ready to be processed.
 

Public Member Functions

 MapDialog (QWidget *parent=nullptr)
 Constructs a new MapDialog object.
 

Private Attributes

QLineEdit * m_LatitudeCoordInput
 
QLineEdit * m_LongitudeCoordInput
 
QLineEdit * m_SizeInput
 

Detailed Description

The MapDialog class represents a dialog window for inputting map data.

Definition at line 15 of file map_dialog.h.

Constructor & Destructor Documentation

◆ MapDialog()

Gui::MapDialog::MapDialog ( QWidget *  parent = nullptr)

Constructs a new MapDialog object.

Parameters
parentThe parent widget of the dialog.

Definition at line 10 of file map_dialog.cpp.

References Finish(), m_LatitudeCoordInput, m_LongitudeCoordInput, and m_SizeInput.

Here is the call graph for this function:

Member Function Documentation

◆ Finish

void Gui::MapDialog::Finish ( )
slot

Slot called when the user finishes input and submits the data.

Definition at line 41 of file map_dialog.cpp.

References Finished(), m_LatitudeCoordInput, m_LongitudeCoordInput, m_SizeInput, and MapDataReady().

Referenced by MapDialog().

Here is the caller graph for this function:

◆ Finished

void Gui::MapDialog::Finished ( )
signal

Signal emitted when the dialog has finished.

Referenced by Finish().

Here is the caller graph for this function:

◆ MapDataReady

void Gui::MapDialog::MapDataReady ( float  latitude,
float  longitude,
float  size 
)
signal

Signal emitted when map data is ready to be processed.

Parameters
latitudeThe latitude coordinate of the map data.
longitudeThe longitude coordinate of the map data.
sizeThe size of the map data.

Referenced by Finish().

Here is the caller graph for this function:

◆ SendData

void Gui::MapDialog::SendData ( const QString &  data)
signal

Signal emitted when data is ready to be sent.

Parameters
dataThe data to be sent.

Member Data Documentation

◆ m_LatitudeCoordInput

QLineEdit* Gui::MapDialog::m_LatitudeCoordInput
private

Definition at line 54 of file map_dialog.h.

Referenced by Finish(), and MapDialog().

◆ m_LongitudeCoordInput

QLineEdit* Gui::MapDialog::m_LongitudeCoordInput
private

Definition at line 55 of file map_dialog.h.

Referenced by Finish(), and MapDialog().

◆ m_SizeInput

QLineEdit* Gui::MapDialog::m_SizeInput
private

Definition at line 56 of file map_dialog.h.

Referenced by Finish(), and MapDialog().


The documentation for this class was generated from the following files: