|
| | PaintCommandWidget (QTModelManager *manager) |
| | Constructs the paint command widget.
|
| SelectionInfo | createSelectionInfo (const MouseEvent &event, Camera *camera) |
| | Creates selection info from a mouse event for determining paint targets.
|
| virtual SubSelectionMode | defaultSelectionMode () const override |
| | Returns the default sub-selection mode for this function.
|
|
virtual QWidget * | editWidget () override |
| | Gets the edit widget displayed to the user during painting.
|
|
virtual TranslatedString | expandedHint () const override |
| | Gets the expanded tooltip description for this command.
|
|
virtual TranslatedString | group () const override |
| | Gets the ribbon group name for this command.
|
|
virtual TranslatedString | hint () const override |
| | Gets the short tooltip hint for this command.
|
| virtual bool | isSelecting () const override |
| | Checks whether the function is currently in a selection state.
|
|
virtual void | onCancel () override |
| | Called when the function's operation is cancelled.
|
| virtual void | onSelect (const Buffer< UUID > &selection) override |
| | Called when objects are selected during this function's operation.
|
| virtual bool | processKeyEvent (const KeyEvent &event, DesignObjectLookup *lookup, Camera *camera) override |
| | Processes a keyboard event during this function's operation.
|
| virtual bool | processMouseEvent (MouseControllerEvent &event) override |
| | Processes a mouse controller event during this function's operation.
|
| virtual void | refreshState (ModelEditController &controller) override |
| | Refreshes the internal state of this function based on the current controller state.
|
| virtual bool | selectionModeAllowed (const SubSelectionMode &mode) const override |
| | Checks whether a given sub-selection mode is valid for this function.
|
| virtual void | setupFilters (SelectionController *controller) override |
| | Sets up selection filters on the given selection controller for this function.
|
| virtual bool | shouldShowInterface () const override |
| | Returns whether the function should show a UI interface.
|
| virtual bool | canAutoFinishNow () const |
| | Checks whether the function can automatically finish in its current state.
|
|
virtual void | requestCancel () |
| | Requests cancellation of the current function through the controller.
|
|
virtual void | requestFinish () |
| | Requests that the function finishes its operation through the controller.
|
|
virtual void | requestFinishSelection () |
| | Requests that the selection phase of this function be completed.
|
| | QTImageEditor (QWidget *parent=nullptr) |
| | Constructs a QTImageEditor widget.
|
|
virtual | ~QTImageEditor () |
| | Destroys this QTImageEditor widget.
|
|
void | editedSignal () |
| | Emitted when the image has been edited.
|
| const StringView | imageID () const |
| | Returns the resource identifier of the currently loaded image.
|
| QTImageEditorView * | imageView () const |
| | Returns the underlying image editor view widget.
|
| bool | isEditing () const |
| | Returns whether a drawing or text editing operation is currently in progress.
|
| virtual void | keyReleaseEvent (QKeyEvent *event) override |
| | Handles key release events for shortcuts such as undo and redo.
|
| QSize | minimumSizeHint () const override |
| | Returns the minimum recommended size for this widget.
|
| void | mousePressLocation (const Vector< 2, fltp08 > &end_point) |
| | Handles a mouse press at the given normalized location.
|
| void | mouseReleaseLocation (const Vector< 2, fltp08 > &end_point) |
| | Handles a mouse release at the given normalized location.
|
|
void | pushUpdate () |
| | Pushes the current image state as a saved update to the resource system.
|
| void | refreshToImage (const StringView &image) |
| | Reloads the image from the given resource identifier, discarding unsaved changes.
|
| void | setEditMode (QTImageEditorView::EditMode mode) |
| | Sets the active editing mode for the image editor view.
|
| void | setImage (const TranslatedString title, const StringView &image) |
| | Sets the image to edit from a resource identifier.
|
|
void | setOptimalScale () |
| | Calculates and applies the optimal scale to fit the image in the view.
|
| void | setVertical (bool vertical) |
| | Sets the layout orientation of the editor toolbar.
|
| void | showEvent (QShowEvent *event) override |
| | Handles the show event to initialize the editor view.
|
| QSize | sizeHint () const override |
| | Returns the recommended size for this widget.
|
| void | updateCursorLocation (const Vector< 2, fltp08 > &end_point) |
| | Updates the cursor position during a drag operation.
|
A widget that is shown when the user scales a 3D model.
Definition at line 10 of file PaintCommandWidget.h.