MIRA
Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
PythonEditor Class Referenceabstract

#include <gui/views/PythonEditor.h>

Inheritance diagram for PythonEditor:
Inheritance graph
[legend]

Signals

void editorClosed (EditorPart *editor)
 
void editorDestroyed (EditorPart *editor)
 
void windowTitleChanged (EditorPartWindow *editor)
 

Public Member Functions

 PythonEditor ()
 
virtual ~PythonEditor ()
 
template<typename Reflector >
void reflect (Reflector &r)
 
virtual QWidget * createPartControl ()
 
void setEditorText (const std::string &text)
 
std::string getEditorText () const
 
virtual void init (IWorkbenchPartSite *site)
 
IWorkbenchPartSitegetSite ()
 
virtual QImage captureContent ()
 
void setWidget (QWidget *widget)
 
QWidget * widget () const
 
EditorPartTitleBargetTitleBar ()
 
void undock ()
 
void dock ()
 
bool isDocked () const
 
void setOnTop (bool onTop)
 
bool isOnTop () const
 
void showDecorations (bool show)
 
void setAutoHideDecorations (bool on)
 
virtual void activate ()
 
virtual void deactivate ()
 
bool isActivated () const
 
virtual ObjectgetAdapter (const Class &adapter)
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Protected Slots

void onShowWhitespace (bool show)
 
void onShowSeparators (bool show)
 
void onMinimized ()
 
void onMaximized ()
 
void onRestored ()
 
void onUndock ()
 
void onDock ()
 
void onOnTop (bool onTop)
 

Protected Member Functions

void updateTextDisplay ()
 
QMenu * getViewMenu ()
 
virtual void closeEvent (QCloseEvent *)
 
virtual void paintEvent (QPaintEvent *paintEvent)
 
virtual void changeEvent (QEvent *event)
 
void setActive (bool activate)
 
virtual void windowStateChanged (Qt::WindowStates oldState, Qt::WindowStates newState)
 
void updateDecorations ()
 
void updateStateButtons ()
 
virtual Class const & internalGetClass () const=0
 

Protected Attributes

Authority mAuthority
 
PythonEditorUImUI
 
std::string mEditorText
 
bool mShowWhitespace
 
bool mShowSeparators
 

Constructor & Destructor Documentation

◆ PythonEditor()

◆ ~PythonEditor()

virtual ~PythonEditor ( )
inlinevirtual

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ createPartControl()

virtual QWidget* createPartControl ( )
virtual

Implements EditorPart.

◆ setEditorText()

void setEditorText ( const std::string &  text)

◆ getEditorText()

std::string getEditorText ( ) const

◆ onShowWhitespace

void onShowWhitespace ( bool  show)
protectedslot

◆ onShowSeparators

void onShowSeparators ( bool  show)
protectedslot

◆ updateTextDisplay()

void updateTextDisplay ( )
protected

Member Data Documentation

◆ mAuthority

Authority mAuthority
protected

◆ mUI

PythonEditorUI* mUI
protected

◆ mEditorText

std::string mEditorText
protected

◆ mShowWhitespace

bool mShowWhitespace
protected

◆ mShowSeparators

bool mShowSeparators
protected

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