GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandles Namespace Reference

Namespaces

 KeyMap
 
 Utils
 

Classes

class  Backend
 
class  BaseControl
 
class  ButtonControl
 
class  ButtonGroup
 
class  Canvas
 
class  CheckBoxControl
 
class  Container
 
class  ContainerBase
 
class  ContextMenu
 
class  EditControl
 
class  Figure
 
class  FigureWindow
 
class  FigureWindowBase
 
class  GenericEventNotifyReceiver
 
class  GenericEventNotifySender
 
class  GLCanvas
 
class  ListBoxControl
 
class  Logger
 
class  Menu
 
class  MenuBar
 
class  MenuContainer
 
class  MouseModeActionGroup
 
class  Object
 
class  ObjectFactory
 
class  ObjectProxy
 
class  Panel
 
class  PopupMenuControl
 
class  PushButtonControl
 
class  PushTool
 
class  RadioButtonControl
 
class  SliderControl
 
class  TextControl
 
class  TextEdit
 
class  ToggleButtonControl
 
class  ToggleTool
 
class  ToolBar
 
class  ToolBarButton
 
struct  UpdateBoundingBoxData
 

Enumerations

enum  MouseMode {
  NoMode = 0, RotateMode = 1, ZoomInMode = 2, ZoomOutMode = 3,
  PanMode = 4, TextMode = 5, SelectMode = 6
}
 

Functions

bool __init__ (void)
 
bool __init__ (octave::interpreter &interp)
 
bool __shutdown__ (void)
 
static QKeySequence accelSequence (const uimenu::properties &up)
 
static QAction * addEmptyAction (QToolBar *bar)
 
static void autoscale_axes (axes::properties &ap)
 
static int borderWidthFromProperties (const uipanel::properties &pp)
 
static int borderWidthFromProperties (const uibuttongroup::properties &pp)
 
static QRect boundingBoxToRect (const Matrix &bb)
 
static double button_number (QMouseEvent *event)
 
static int frameStyleFromProperties (const uipanel::properties &pp)
 
static int frameStyleFromProperties (const uibuttongroup::properties &pp)
 
void glDrawZoomBox (const QPoint &p1, const QPoint &p2)
 
static bool hasUiControlChildren (const figure::properties &fp)
 
static bool hasUiMenuChildren (const figure::properties &fp)
 
static MouseMode mouse_mode_from_string (const std::string &mode)
 
static std::string mouse_mode_to_string (MouseMode mode)
 
static bool pan_enabled (const graphics_object figObj)
 
static std::string pan_mode (const graphics_object figObj)
 
static void setupPalette (const uipanel::properties &pp, QPalette &p)
 
static void setupPalette (const uibuttongroup::properties &pp, QPalette &p)
 
static std::string toolkitObjectProperty (const graphics_object &go)
 
static void updatePalette (const uicontrol::properties &props, QWidget *w)
 
static void updateSelection (QListWidget *list, const Matrix &value)
 
static bool zoom_enabled (const graphics_object figObj)
 
static std::string zoom_mode (const graphics_object figObj)
 

Variables

static bool qtHandlesInitialized = false
 

Enumeration Type Documentation

◆ MouseMode

Enumerator
NoMode 
RotateMode 
ZoomInMode 
ZoomOutMode 
PanMode 
TextMode 
SelectMode 

Definition at line 39 of file Figure.h.

Function Documentation

◆ __init__() [1/2]

bool QtHandles::__init__ ( void  )

◆ __init__() [2/2]

◆ __shutdown__()

bool QtHandles::__shutdown__ ( void  )

Definition at line 81 of file __init_qt__.cc.

References gh_manager::enable_event_processing(), and qtHandlesInitialized.

Referenced by F__shutdown_qt__().

◆ accelSequence()

static QKeySequence QtHandles::accelSequence ( const uimenu::properties up)
static

Definition at line 40 of file Menu.cc.

References c, CTRL, s, and string.

Referenced by QtHandles::Menu::Menu(), and QtHandles::Menu::update().

◆ addEmptyAction()

static QAction* QtHandles::addEmptyAction ( QToolBar *  bar)
static

Definition at line 45 of file ToolBar.cc.

References a.

Referenced by QtHandles::ToolBar::ToolBar().

◆ autoscale_axes()

static void QtHandles::autoscale_axes ( axes::properties ap)
static

◆ borderWidthFromProperties() [1/2]

static int QtHandles::borderWidthFromProperties ( const uipanel::properties pp)
static

Definition at line 73 of file Panel.cc.

References octave::math::round().

◆ borderWidthFromProperties() [2/2]

static int QtHandles::borderWidthFromProperties ( const uibuttongroup::properties pp)
static

◆ boundingBoxToRect()

static QRect QtHandles::boundingBoxToRect ( const Matrix bb)
static

Definition at line 105 of file Figure.cc.

References Array< T >::numel(), and octave::math::round().

Referenced by QtHandles::Figure::Figure(), and QtHandles::Figure::update().

◆ button_number()

static double QtHandles::button_number ( QMouseEvent *  event)
static

Definition at line 568 of file Canvas.cc.

References retval.

Referenced by QtHandles::Canvas::canvasMousePressEvent().

◆ frameStyleFromProperties() [1/2]

static int QtHandles::frameStyleFromProperties ( const uipanel::properties pp)
static

Definition at line 43 of file Panel.cc.

◆ frameStyleFromProperties() [2/2]

static int QtHandles::frameStyleFromProperties ( const uibuttongroup::properties pp)
static

◆ glDrawZoomBox()

void QtHandles::glDrawZoomBox ( const QPoint &  p1,
const QPoint &  p2 
)
inline

Definition at line 185 of file GLCanvas.cc.

Referenced by QtHandles::GLCanvas::drawZoomBox().

◆ hasUiControlChildren()

static bool QtHandles::hasUiControlChildren ( const figure::properties fp)
static

◆ hasUiMenuChildren()

◆ mouse_mode_from_string()

static MouseMode QtHandles::mouse_mode_from_string ( const std::string mode)
static

Definition at line 231 of file Figure.cc.

References mode, NoMode, PanMode, RotateMode, SelectMode, TextMode, ZoomInMode, and ZoomOutMode.

Referenced by QtHandles::Figure::mouseMode().

◆ mouse_mode_to_string()

static std::string QtHandles::mouse_mode_to_string ( MouseMode  mode)
static

Definition at line 198 of file Figure.cc.

References mode, NoMode, PanMode, RotateMode, SelectMode, TextMode, ZoomInMode, and ZoomOutMode.

Referenced by QtHandles::Figure::setMouseMode().

◆ pan_enabled()

static bool QtHandles::pan_enabled ( const graphics_object  figObj)
static

◆ pan_mode()

◆ setupPalette() [1/2]

static void QtHandles::setupPalette ( const uipanel::properties pp,
QPalette &  p 
)
static

Definition at line 60 of file Panel.cc.

References QtHandles::Utils::fromRgb(), and p.

◆ setupPalette() [2/2]

static void QtHandles::setupPalette ( const uibuttongroup::properties pp,
QPalette &  p 
)
static

◆ toolkitObjectProperty()

static std::string QtHandles::toolkitObjectProperty ( const graphics_object go)
static

◆ updatePalette()

static void QtHandles::updatePalette ( const uicontrol::properties props,
QWidget w 
)
static

◆ updateSelection()

static void QtHandles::updateSelection ( QListWidget *  list,
const Matrix value 
)
static

Definition at line 39 of file ListBoxControl.cc.

References i, list, octave::math::round(), and value.

Referenced by QtHandles::ListBoxControl::update().

◆ zoom_enabled()

static bool QtHandles::zoom_enabled ( const graphics_object  figObj)
static

◆ zoom_mode()

Variable Documentation

◆ qtHandlesInitialized

bool QtHandles::qtHandlesInitialized = false
static

Definition at line 47 of file __init_qt__.cc.

Referenced by __init__(), and __shutdown__().