![]() |
Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
|
Used to create and display a floating dialog to the user, which is similar to a modal dialog but non-blocking. More...
#include <hdicoreFloatingDialog.h>


Public Member Functions | |
| FloatingDialog () | |
| Constructs an empty FloatingDialog object. | |
| FloatingDialog (const FloatingDialog &fd_) | |
| Constructs a new FloatingDialog object from an existing FloatingDialog object (copy constructor) | |
| FloatingDialog (const std::string &name_, const Size &size_) | |
| Constructs a FloatingDialog object with a given name and size. | |
| virtual | ~FloatingDialog () |
| Destructs a FloatingDialog object. | |
| virtual FloatingDialog & | operator= (const FloatingDialog &rhs_) |
| Allows one FloatingDialog object to be assigned from another. | |
| virtual FloatingDialog * | clone () const |
| Convenience method to clone a FloatingDialog object on the heap. | |
| virtual void | destroy () |
| Destroys the UI floating dialog, converting the target object to an empty FloatingDialog object (see the default constructor for more info on empty FloatingDialog objects) | |
| virtual PlatformFloatingDialogPtr | platformFloatingDialog () const |
| Gets the platform-specific floating dialog, around which the target object is wrapped. | |
| virtual bool | visible () const |
| Gets whether the dialog is visible. | |
| virtual void | show () |
| Shows the floating dialog. | |
| virtual void | hide () |
| Hides the floating dialog. | |
| virtual bool | addWidget (const Widget &widget_) |
| Adds a widget (label, button, text field, etc.) to the floating dialog. | |
| virtual bool | removeWidget (const Widget &widget_) |
| Removes a widget (label, button, text field, etc.) from the floating dialog. | |
| virtual std::string | title () const |
| Gets the current floating dialog title. | |
| virtual void | setTitle (const std::string &title_) |
| Sets the current floating dialog title. | |
| virtual Size | size () const |
| Gets the floating dialog's size. | |
| virtual void | setSize (const Size &size_) |
| Sets the floating dialog's size. | |
| virtual void | update () const |
| Forces the widgets in the floating dialog to update/redraw. | |
| virtual Callback *const | closeCallback () const |
| Gets the current close button callback. | |
| virtual void | setCloseCallback (const Callback &cb_) |
| Sets the close button callback for the dialog. | |
| virtual Callback *const | focusCallback () const |
| Gets the current dialog focus callback. | |
| void | setFocusCallback (const Callback &cb_) |
| Sets the dialog focus callback. | |
| virtual Callback *const | blurCallback () const |
| Gets the current dialog blur callback. | |
| void | setBlurCallback (const Callback &cb_) |
| Sets the dialog blur callback. | |
Public Member Functions inherited from hdi::core::Window | |
| virtual | ~Window () |
| Destructs a Window object. | |
| virtual bool | isEmpty () const |
| Gets whether the target Window object is empty (constructed with the default ctor) | |
| virtual WindowType | windowType () |
| Gets the type of window. | |
| virtual bool | operator== (const Window &rhs_) const |
| Tests whether a given Window object is the same as another. | |
| virtual bool | operator!= (const Window &rhs_) const |
| Tests whether a given Window object is not the same as another. | |
| virtual const WidgetVector | widgets () const |
| Gets a list of all widgets contained by the target window. | |
| virtual bool | addWidgetGroup (const WidgetGroup &wg_) |
| Adds a widget group to the window. | |
| virtual bool | removeWidgetGroup (const WidgetGroup &wg_) |
| Removes a widget group from the window. | |
| virtual TabOrder *const | tabOrder () const |
| Gets the tab order object for the window. | |
| virtual double | scalingFactor () const |
| Gets the factor by which the UI is scaled for the given window (i.e. for HiDPI support) | |
Additional Inherited Members | |
Public Types inherited from hdi::core::Window | |
| typedef std::vector< std::shared_ptr< Widget > > | WidgetVector |
Protected Member Functions inherited from hdi::core::Window | |
| Window () | |
| Constructs an empty Window object. | |
| Window (const Window &w_) | |
| Constructs a new Window object from an existing Window object (copy constructor) | |
| Window (const WindowType type_) | |
| Constructs a Window object. | |
| virtual Window & | operator= (const Window &) |
| Internal use only. | |
Protected Attributes inherited from hdi::core::Window | |
| void * | _data |
| Private implementation data. | |
Used to create and display a floating dialog to the user, which is similar to a modal dialog but non-blocking.
| hdi::core::FloatingDialog::FloatingDialog | ( | ) |
Constructs an empty FloatingDialog object.
| hdi::core::FloatingDialog::FloatingDialog | ( | const FloatingDialog & | fd_ | ) |
Constructs a new FloatingDialog object from an existing FloatingDialog object (copy constructor)
| fd_ | Existing FloatingDialog object |
| hdi::core::FloatingDialog::FloatingDialog | ( | const std::string & | name_, |
| const Size & | size_ ) |
Constructs a FloatingDialog object with a given name and size.
| name_ | Name (title) of the dialog, as UTF-8 |
| size_ | Width and height, in 1x resolution coordinates |
|
virtual |
Destructs a FloatingDialog object.
|
virtual |
Adds a widget (label, button, text field, etc.) to the floating dialog.
| widget_ | Widget to place in the dialog |
Reimplemented from hdi::core::Window.
|
virtual |
Gets the current dialog blur callback.
|
virtual |
Convenience method to clone a FloatingDialog object on the heap.
Implements hdi::core::Window.
|
virtual |
Gets the current close button callback.
|
virtual |
Destroys the UI floating dialog, converting the target object to an empty FloatingDialog object (see the default constructor for more info on empty FloatingDialog objects)
|
virtual |
Gets the current dialog focus callback.
|
virtual |
Hides the floating dialog.
|
virtual |
Allows one FloatingDialog object to be assigned from another.
| rhs_ | Righthand side of the = operator; the object to copy values from |
|
virtual |
Gets the platform-specific floating dialog, around which the target object is wrapped.
|
virtual |
Removes a widget (label, button, text field, etc.) from the floating dialog.
| widget_ | Widget to remove from the dialog |
Reimplemented from hdi::core::Window.
| void hdi::core::FloatingDialog::setBlurCallback | ( | const Callback & | cb_ | ) |
Sets the dialog blur callback.
| cb_ | New callback (target and action) for when the dialog becomes blurred |
|
virtual |
Sets the close button callback for the dialog.
| cb_ | New callback (target and action) for when the close button is clicked |
| void hdi::core::FloatingDialog::setFocusCallback | ( | const Callback & | cb_ | ) |
Sets the dialog focus callback.
| cb_ | New callback (target and action) for when the dialog becomes focused |
|
virtual |
Sets the floating dialog's size.
| size_ | New dialog size, in 1x resolution coordinates |
|
virtual |
Sets the current floating dialog title.
| title_ | New string value for the floating dialog title, as UTF-8 |
|
virtual |
|
virtual |
Gets the floating dialog's size.
|
virtual |
Gets the current floating dialog title.
|
virtual |
Forces the widgets in the floating dialog to update/redraw.
Implements hdi::core::Window.
|
virtual |
Gets whether the dialog is visible.
Implements hdi::core::Window.