API Documentation
Loading...
Searching...
No Matches
VehicleSelector Class Reference

#include <VehicleSelector.h>

Inheritance diagram for VehicleSelector:
[legend]
Collaboration diagram for VehicleSelector:
[legend]

Signals

void vehicleSelectedSignal ()
 

Public Member Functions

 VehicleSelector (QTModelManager *lookup, ModelEditController *edit_controller, VehicleDatabase *db, QWidget *parent=nullptr)
 
void setCurrentRecord (uint04 record)
 

Protected Slots

void updateUI ()
 

Protected Member Functions

void setupArchiveObject (DesignObjectChooser *chooser, const File &archive)
 
void updateInsertEnabled ()
 
void onPlaceVehicle ()
 
void placeVehicle ()
 

Protected Attributes

VehicleDatabasem_db
 
VehicleTableViewm_table
 
QTModelManagerm_manager
 
Ui::VehicleSelectorUI * ui
 
ModelEditController * m_edit_controller
 
uint04 m_current_record = Constant<uint04>::NaN
 
bool m_is_editing = false
 

Constructor & Destructor Documentation

◆ VehicleSelector()

VehicleSelector ( QTModelManager * lookup,
ModelEditController * edit_controller,
VehicleDatabase * db,
QWidget * parent = nullptr )

Member Function Documentation

◆ onPlaceVehicle()

void onPlaceVehicle ( )
protected

◆ placeVehicle()

void placeVehicle ( )
protected

◆ setCurrentRecord()

void setCurrentRecord ( uint04 record)

◆ setupArchiveObject()

void setupArchiveObject ( DesignObjectChooser * chooser,
const File & archive )
protected

◆ updateInsertEnabled()

void updateInsertEnabled ( )
protected

◆ updateUI

void updateUI ( )
protectedslot

◆ vehicleSelectedSignal

void vehicleSelectedSignal ( )
signal

Member Data Documentation

◆ m_current_record

uint04 m_current_record = Constant<uint04>::NaN
protected

◆ m_db

VehicleDatabase* m_db
protected

◆ m_edit_controller

ModelEditController* m_edit_controller
protected

◆ m_is_editing

bool m_is_editing = false
protected

◆ m_manager

QTModelManager* m_manager
protected

◆ m_table

VehicleTableView* m_table
protected

◆ ui

Ui::VehicleSelectorUI* ui
protected

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