GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Classes | Enumerations | Functions | Variables
QtHandles Namespace Reference

Namespaces

 KeyMap
 
 Utils
 

Classes

class  Backend
 
class  BaseControl
 
class  ButtonControl
 
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 __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 QRect boundingBoxToRect (const Matrix &bb)
 
static double button_number (QMouseEvent *event)
 
static int frameStyleFromProperties (const uipanel::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 bool rotate_enabled (const graphics_object figObj)
 
static void setupPalette (const uipanel::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 std::string zoom_direction (const graphics_object figObj)
 
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

Enumerator
NoMode 
RotateMode 
ZoomInMode 
ZoomOutMode 
PanMode 
TextMode 
SelectMode 

Definition at line 38 of file Figure.h.

Function Documentation

bool QtHandles::__init__ ( void  )
bool QtHandles::__shutdown__ ( void  )
static QKeySequence QtHandles::accelSequence ( const uimenu::properties up)
static

Definition at line 40 of file Menu.cc.

References CTRL, and uimenu::properties::get_accelerator().

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

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

Definition at line 45 of file ToolBar.cc.

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

static void QtHandles::autoscale_axes ( axes::properties ap)
static
static int QtHandles::borderWidthFromProperties ( const uipanel::properties pp)
static
static QRect QtHandles::boundingBoxToRect ( const Matrix bb)
static

Definition at line 105 of file Figure.cc.

References Array< T >::numel(), and xround().

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

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

Definition at line 476 of file Canvas.cc.

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

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

Definition at line 43 of file Panel.cc.

References uipanel::properties::bordertype_is().

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

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

Definition at line 105 of file GLCanvas.cc.

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

static bool QtHandles::hasUiControlChildren ( const figure::properties fp)
static
static bool QtHandles::hasUiMenuChildren ( const figure::properties fp)
static
static MouseMode QtHandles::mouse_mode_from_string ( const std::string &  mode)
static

Definition at line 220 of file Figure.cc.

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

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

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

Definition at line 187 of file Figure.cc.

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

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

static bool QtHandles::pan_enabled ( const graphics_object  figObj)
static
static std::string QtHandles::pan_mode ( const graphics_object  figObj)
static
static bool QtHandles::rotate_enabled ( const graphics_object  figObj)
static
static void QtHandles::setupPalette ( const uipanel::properties pp,
QPalette &  p 
)
static
static std::string QtHandles::toolkitObjectProperty ( const graphics_object go)
static
static void QtHandles::updatePalette ( const uicontrol::properties props,
QWidget w 
)
static
static void QtHandles::updateSelection ( QListWidget *  list,
const Matrix value 
)
static

Definition at line 37 of file ListBoxControl.cc.

References Array< T >::numel(), and xround().

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

static std::string QtHandles::zoom_direction ( const graphics_object  figObj)
static
static bool QtHandles::zoom_enabled ( const graphics_object  figObj)
static
static std::string QtHandles::zoom_mode ( const graphics_object  figObj)
static

Variable Documentation

bool QtHandles::qtHandlesInitialized = false
static

Definition at line 44 of file __init_qt__.cc.