API Documentation
|
#include <SelectionWidget.h>
Public Types | |
enum | SizeMode { e_normal , e_small_horizontal , e_small_vertical , e_tiny_horizontal , e_tiny_vertical } |
Public Slots | |
void | onSelectedSlot (Buffer< UUID > id, bool selected) |
Signals | |
void | onClearSignal () |
void | onSelectedSignal () |
Public Member Functions | |
void | addFactory (SelectionButtonFactory *factory) |
bool | canShow (UUID id) const |
void | clear () |
void | createGroup () |
bool | event (QEvent *ev) override |
bool | isShowing (UUID id) const |
void | onAddedSlot (UUID id) |
void | onTargetUpdated (UUID id) override |
void | onTargetUpdatedSlot (UUID id) |
virtual bool | processKeyEvent (const String &id, const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) override |
void | resetKeyControllerToDefaults () override |
void | resizeEvent (QResizeEvent *event) override |
SelectionWidget (QTModelManager *manager, const String &selection_type, QWidget *parent=nullptr) | |
void | setSelectionType (const String &type) |
void | setSizeMode (SizeMode mode) |
void | updateControls () |
void | updateSelected () |
~SelectionWidget () | |
Public Member Functions inherited from DesignObjectWidgetInterface | |
virtual void | addTarget (const DynamicPointer< QTDesignObject > &object) |
virtual Bounds< 3, fltp08 > | bounds () const |
void | clearTargets () |
DesignObjectWidgetInterface () | |
QTModelManager * | manager () const |
Buffer< Model > | models () const |
virtual void | removeTarget (const DynamicPointer< QTDesignObject > &object) |
void | setTarget (const DynamicPointer< QTDesignObject > &object) |
void | setTargetID (const UUID &object) |
void | setTargetIDs (const Buffer< UUID > &objects) |
void | setTargets (const Buffer< DynamicPointer< QTDesignObject > > &objects) |
Buffer< UUID > | targetIDs () const |
virtual | ~DesignObjectWidgetInterface () |
Public Member Functions inherited from BasicKeyController | |
virtual void | addKeyOption (const KeyOption &option) |
BasicKeyController (const TranslatedString &key_controller_title) | |
const Buffer< KeyOption > & | currentKeyMaps () const |
virtual void | getINI (INIFactory &factory) override |
const TranslatedString & | keyControllerTitle () const |
bool | processKeyEvent (const KeyEvent &key_event, DesignObjectLookup *lookup, Camera *camera) final override |
virtual void | setKeyOption (const KeyOption &option) |
Public Member Functions inherited from KeyControllerBase | |
Public Member Functions inherited from INIInterface | |
virtual void | finishReadingINI (INIFactory &) |
INIInterface (const File &default_ini) | |
virtual void | prepareForINI (INIFactory &) |
virtual bool | readINIOptions () |
virtual bool | readINIOptions (File &ini_file) |
virtual bool | saveINIOptions (bool multithead=false) |
virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
void | setDefaultINIFile (const File &file) |
virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
virtual | ~INIInterface () |
Additional Inherited Members | |
Protected Member Functions inherited from DesignObjectWidgetInterface | |
const Dictionary< UUID, DynamicPointer< QTDesignObject > > & | targets () const |
enum SizeMode |
SelectionWidget | ( | QTModelManager * | manager, |
const String & | selection_type, | ||
QWidget * | parent = nullptr ) |
|
inline |
void addFactory | ( | SelectionButtonFactory * | factory | ) |
bool canShow | ( | UUID | id | ) | const |
void clear | ( | ) |
void createGroup | ( | ) |
|
override |
bool isShowing | ( | UUID | id | ) | const |
void onAddedSlot | ( | UUID | id | ) |
|
signal |
|
signal |
|
overridevirtual |
Reimplemented from DesignObjectWidgetInterface.
void onTargetUpdatedSlot | ( | UUID | id | ) |
|
overridevirtual |
Implements BasicKeyController.
|
overridevirtual |
Implements BasicKeyController.
|
override |
void setSelectionType | ( | const String & | type | ) |
void setSizeMode | ( | SizeMode | mode | ) |
void updateControls | ( | ) |
void updateSelected | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |