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
Functions
QtHandles::Utils Namespace Reference

Functions

template<class T >
QFont computeFont (const typename T::properties &props, int height)
 
template QFont computeFont< uicontrol > (const uicontrol::properties &props, int height)
 
template QFont computeFont< uipanel > (const uipanel::properties &props, int height)
 
Matrix figureCurrentPoint (const graphics_object &fig, QMouseEvent *event)
 
Matrix figureCurrentPoint (const graphics_object &fig)
 
std::string figureSelectionType (QMouseEvent *event, bool isDoubleClick)
 
Qt::Alignment fromHVAlign (const caseless_str &halign, const caseless_str &valign)
 
QColor fromRgb (const Matrix &rgb)
 
QString fromStdString (const std::string &s)
 
QStringList fromStringVector (const string_vector &v)
 
QImage makeImageFromCData (const octave_value &v, int width, int height)
 
octave_scalar_map makeKeyEventStruct (QKeyEvent *event)
 
template<class T >
T::properties & properties (graphics_object obj)
 
template<class T >
T::properties & properties (const graphics_handle &h)
 
Cell toCellString (const QStringList &l)
 
Matrix toRgb (const QColor &c)
 
std::string toStdString (const QString &s)
 
string_vector toStringVector (const QStringList &l)
 

Function Documentation

template<class T >
QFont QtHandles::Utils::computeFont ( const typename T::properties &  props,
int  height 
)

Definition at line 103 of file QtHandlesUtils.cc.

References f, and fromStdString().

template QFont QtHandles::Utils::computeFont< uicontrol > ( const uicontrol::properties props,
int  height 
)
template QFont QtHandles::Utils::computeFont< uipanel > ( const uipanel::properties props,
int  height 
)
Matrix QtHandles::Utils::figureCurrentPoint ( const graphics_object fig,
QMouseEvent *  event 
)
Matrix QtHandles::Utils::figureCurrentPoint ( const graphics_object fig)
std::string QtHandles::Utils::figureSelectionType ( QMouseEvent *  event,
bool  isDoubleClick 
)
Qt::Alignment QtHandles::Utils::fromHVAlign ( const caseless_str halign,
const caseless_str valign 
)
QColor QtHandles::Utils::fromRgb ( const Matrix rgb)
QString QtHandles::Utils::fromStdString ( const std::string &  s)

Definition at line 49 of file QtHandlesUtils.cc.

Referenced by QtHandles::ButtonControl::ButtonControl(), computeFont(), default_qt_settings_file(), main_window::display_release_notes(), octave_qt_link::do_append_history(), octave_qt_link::do_change_directory(), octave_qt_link::do_copy_image_to_clipboard(), octave_qt_link::do_debug_cd_or_addpath_error(), octave_qt_link::do_delete_debugger_pointer(), octave_qt_link::do_edit_file(), octave_qt_link::do_execute_command_in_terminal(), octave_qt_link::do_file_dialog(), octave_qt_link::do_input_dialog(), octave_qt_link::do_insert_debugger_pointer(), octave_qt_link::do_list_dialog(), octave_qt_link::do_message_dialog(), octave_qt_link::do_prompt_new_edit_file(), octave_qt_link::do_question_dialog(), octave_qt_link::do_set_history(), octave_qt_link::do_set_workspace(), octave_qt_link::do_show_doc(), octave_qt_link::do_update_breakpoint(), QtHandles::Figure::Figure(), QtHandles::Figure::fileName(), fromStringVector(), resource_manager::get_gui_translation_dir(), workspace_view::handle_contextmenu_copy_value(), QtHandles::BaseControl::init(), QtHandles::EditControl::init(), make_filter_list(), make_qstring_list(), QtHandles::Menu::Menu(), QtHandles::Panel::Panel(), files_dock_widget::popdownmenu_home(), QtHandles::PopupMenuControl::PopupMenuControl(), QtHandles::Backend::print_figure(), news_reader::process(), main_window::show_about_octave(), QtHandles::ToolBarButton< T >::ToolBarButton(), QtHandles::PushButtonControl::update(), QtHandles::ButtonControl::update(), QtHandles::PopupMenuControl::update(), QtHandles::ToolBarButton< T >::update(), QtHandles::BaseControl::update(), QtHandles::Panel::update(), QtHandles::Menu::update(), QtHandles::Figure::update(), QtHandles::EditControl::updateSingleLine(), and webinfo::webinfo().

QStringList QtHandles::Utils::fromStringVector ( const string_vector v)
QImage QtHandles::Utils::makeImageFromCData ( const octave_value v,
int  width,
int  height 
)
octave_scalar_map QtHandles::Utils::makeKeyEventStruct ( QKeyEvent *  event)
template<class T >
T::properties& QtHandles::Utils::properties ( graphics_object  obj)
inline
template<class T >
T::properties& QtHandles::Utils::properties ( const graphics_handle h)
inline

Definition at line 74 of file QtHandlesUtils.h.

References gh_manager::get_object().

Referenced by properties().

Cell QtHandles::Utils::toCellString ( const QStringList &  l)
Matrix QtHandles::Utils::toRgb ( const QColor &  c)
std::string QtHandles::Utils::toStdString ( const QString &  s)
string_vector QtHandles::Utils::toStringVector ( const QStringList &  l)

Definition at line 73 of file QtHandlesUtils.cc.

References toStdString().

Referenced by toCellString().