API Documentation
|
#include <VehicleSelector.h>
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 | |
VehicleDatabase * | m_db |
VehicleTableView * | m_table |
QTModelManager * | m_manager |
Ui::VehicleSelectorUI * | ui |
ModelEditController * | m_edit_controller |
uint04 | m_current_record = Constant<uint04>::NaN |
bool | m_is_editing = false |
VehicleSelector | ( | QTModelManager * | lookup, |
ModelEditController * | edit_controller, | ||
VehicleDatabase * | db, | ||
QWidget * | parent = nullptr ) |
|
protected |
|
protected |
void setCurrentRecord | ( | uint04 | record | ) |
|
protected |
|
protected |
|
protectedslot |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |