swift
|
Distributor selector. More...
Signals | |
void | changedDistributor (const swift::misc::simulation::CDistributor &distributor) |
Distributor was changed. | |
Public Member Functions | |
CDbDistributorSelectorComponent (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CDbDistributorSelectorComponent () |
Destructor. | |
void | setDistributor (const swift::misc::simulation::CDistributor &distributor) |
Current distributor. | |
void | setDistributor (const QString &distributorKeyOrAlias) |
Current Distributor. | |
swift::misc::simulation::CDistributor | getDistributor () const |
Distributor. | |
void | setReadOnly (bool readOnly) |
Read only. | |
void | withDistributorDescription (bool description) |
Display distributor description. | |
bool | isSet () const |
Set with valid Distributor. | |
void | clear () |
Clear selection. | |
![]() | |
virtual | ~CDropBase () |
Dtor. | |
void | setAcceptedMetaTypeIds (const QList< int > &ids) |
Accepted ids. | |
void | addAcceptedMetaTypeId (int id) |
Accepted ids. | |
virtual bool | isDropAllowed () const |
Drop allowed? | |
virtual bool | isJsonFileDropAllowed () const |
File drop allowed? | |
virtual void | allowDrop (bool allowed) |
Drop allowed. | |
virtual void | allowJsonFileDrop (bool allow) |
Allow JSON file drop. | |
bool | acceptDrop (const QMimeData *mime) const |
Accept drop? | |
swift::misc::CVariant | toCVariant (const QMimeData *mime) const |
Mime data to CVariant (normally encapsulating a value object) | |
Protected Member Functions | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
![]() | |
CDropBase () | |
Ctor. | |
Distributor selector.
Definition at line 36 of file dbdistributorselectorcomponent.h.
|
protectedvirtual |
Definition at line 123 of file dbdistributorselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 136 of file dbdistributorselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 130 of file dbdistributorselectorcomponent.cpp.
|
protectedvirtual |
Definition at line 142 of file dbdistributorselectorcomponent.cpp.