Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Tool::Base Class Reference

#include "gui/mrview/tool/base.h"

Inheritance diagram for MR::GUI::MRView::Tool::Base:
MR::GUI::MRView::Tool::Capture MR::GUI::MRView::Tool::Connectome MR::GUI::MRView::Tool::Fixel MR::GUI::MRView::Tool::Node_list MR::GUI::MRView::Tool::ODF MR::GUI::MRView::Tool::Overlay MR::GUI::MRView::Tool::ROI MR::GUI::MRView::Tool::Tractography MR::GUI::MRView::Tool::Transform MR::GUI::MRView::Tool::View

Classes

class  FormLayout
 
class  GridLayout
 
class  HBoxLayout
 
class  VBoxLayout
 

Public Member Functions

 Base (Dock *parent)
 
Windowwindow () const
 
virtual bool process_commandline_option (const MR::App::ParsedOption &opt)
 
virtual QSize sizeHint () const override
 
void grab_focus ()
 
void release_focus ()
 
virtual void draw (const Projection &transform, bool is_3D, int axis, int slice)
 
virtual void draw_colourbars ()
 
virtual size_t visible_number_colourbars ()
 
virtual int draw_tool_labels (int, int, const Projection &) const
 
virtual bool mouse_press_event ()
 
virtual bool mouse_move_event ()
 
virtual bool mouse_release_event ()
 
virtual void close_event ()
 
virtual void reset_event ()
 
virtual QCursor * get_cursor ()
 
void update_cursor ()
 
void dragEnterEvent (QDragEnterEvent *event) override
 
void dragMoveEvent (QDragMoveEvent *event) override
 
void dragLeaveEvent (QDragLeaveEvent *event) override
 

Static Public Member Functions

static void add_commandline_options (MR::App::OptionList &options)
 

Public Attributes

std::string current_folder
 

Detailed Description

Definition at line 84 of file base.h.

Constructor & Destructor Documentation

◆ Base()

MR::GUI::MRView::Tool::Base::Base ( Dock parent)

Member Function Documentation

◆ add_commandline_options()

static void MR::GUI::MRView::Tool::Base::add_commandline_options ( MR::App::OptionList options)
static

◆ close_event()

virtual void MR::GUI::MRView::Tool::Base::close_event ( )
inlinevirtual

Definition at line 159 of file base.h.

◆ dragEnterEvent()

void MR::GUI::MRView::Tool::Base::dragEnterEvent ( QDragEnterEvent *  event)
inlineoverride

Definition at line 164 of file base.h.

◆ dragLeaveEvent()

void MR::GUI::MRView::Tool::Base::dragLeaveEvent ( QDragLeaveEvent *  event)
inlineoverride

Definition at line 170 of file base.h.

◆ dragMoveEvent()

void MR::GUI::MRView::Tool::Base::dragMoveEvent ( QDragMoveEvent *  event)
inlineoverride

Definition at line 167 of file base.h.

◆ draw()

virtual void MR::GUI::MRView::Tool::Base::draw ( const Projection transform,
bool  is_3D,
int  axis,
int  slice 
)
virtual

◆ draw_colourbars()

virtual void MR::GUI::MRView::Tool::Base::draw_colourbars ( )
virtual

◆ draw_tool_labels()

virtual int MR::GUI::MRView::Tool::Base::draw_tool_labels ( int  ,
int  ,
const Projection  
) const
inlinevirtual

Definition at line 155 of file base.h.

◆ get_cursor()

virtual QCursor * MR::GUI::MRView::Tool::Base::get_cursor ( )
virtual

◆ grab_focus()

void MR::GUI::MRView::Tool::Base::grab_focus ( )
inline

Definition at line 96 of file base.h.

◆ mouse_move_event()

virtual bool MR::GUI::MRView::Tool::Base::mouse_move_event ( )
virtual

◆ mouse_press_event()

virtual bool MR::GUI::MRView::Tool::Base::mouse_press_event ( )
virtual

◆ mouse_release_event()

virtual bool MR::GUI::MRView::Tool::Base::mouse_release_event ( )
virtual

◆ process_commandline_option()

virtual bool MR::GUI::MRView::Tool::Base::process_commandline_option ( const MR::App::ParsedOption opt)
virtual

◆ release_focus()

void MR::GUI::MRView::Tool::Base::release_focus ( )
inline

Definition at line 100 of file base.h.

◆ reset_event()

virtual void MR::GUI::MRView::Tool::Base::reset_event ( )
inlinevirtual

Definition at line 160 of file base.h.

◆ sizeHint()

virtual QSize MR::GUI::MRView::Tool::Base::sizeHint ( ) const
overridevirtual

◆ update_cursor()

void MR::GUI::MRView::Tool::Base::update_cursor ( )
inline

Definition at line 162 of file base.h.

◆ visible_number_colourbars()

virtual size_t MR::GUI::MRView::Tool::Base::visible_number_colourbars ( )
inlinevirtual

Reimplemented in MR::GUI::MRView::Tool::Connectome.

Definition at line 154 of file base.h.

◆ window()

Window & MR::GUI::MRView::Tool::Base::window ( ) const
inline

Definition at line 87 of file base.h.

Member Data Documentation

◆ current_folder

std::string MR::GUI::MRView::Tool::Base::current_folder

Definition at line 89 of file base.h.


The documentation for this class was generated from the following file: