itom
Loading...
Searching...
No Matches
ito::Panel Class Reference
Inheritance diagram for ito::Panel:
ito::Mode ito::BreakpointPanel ito::CheckerBookmarkPanel ito::FoldingPanel ito::GlobalCheckerPanel ito::LineNumberPanel

Public Types

enum  Position {
  Top = 0 , Left = 1 , Right = 2 , Bottom = 3 ,
  Floating = 4
}
 
typedef QSharedPointer< PanelPtr
 
- Public Types inherited from ito::Mode
typedef QSharedPointer< ModePtr
 

Public Member Functions

 Panel (const QString &name, bool dynamic, const QString &description="", QWidget *parent=NULL)
 
void setVisible (bool visible)
 
bool scrollable () const
 
void setScrollable (bool value)
 
int orderInZone () const
 
void setOrderInZone (int orderInZone)
 
Position position () const
 
void setPosition (Position pos)
 
QBrush backgroundBrush () const
 
QPen foregroundPen () const
 
virtual void onInstall (CodeEditor *editor)
 
- Public Member Functions inherited from ito::Mode
 Mode (const Mode &copy)
 
 Mode (const QString &name, const QString &description="")
 
bool operator== (const Mode &other) const
 
virtual void onUninstall ()
 
virtual void onStateChanged (bool state)
 
QString name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
CodeEditoreditor () const
 
bool onClose () const
 
virtual QList< QAction * > actions () const
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)
 

Private Attributes

bool m_dynamic
 
int m_orderInZone
 
bool m_scrollable
 
QBrush m_backgroundBrush
 
QPen m_foregroundPen
 position in the editor (top, left, right, bottom)
 
Position m_position
 

Member Function Documentation

◆ onInstall()

void ito::Panel::onInstall ( CodeEditor * editor)
virtual

Reimplemented from ito::Mode.

◆ paintEvent()

void ito::Panel::paintEvent ( QPaintEvent * e)
protectedvirtual

Reimplemented in ito::BreakpointPanel.


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