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

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

Protected Slots

void updateUI ()
 

Protected Member Functions

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

Protected Attributes

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

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>::Invalid
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 file: