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

Public Member Functions

 LineNumberPanel (const QString &description="", QWidget *parent=NULL)
 
virtual QSize sizeHint () const
 
int lineNumberAreaWidth () const
 
void cancelSelection ()
 
- Public Member Functions inherited from ito::Panel
 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)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void wheelEvent (QWheelEvent *e)
 
- Protected Member Functions inherited from ito::Panel

Private Attributes

bool m_selecting
 
int m_startLine
 
int m_selStart
 
QColor m_lineColorU
 
QColor m_lineColorS
 

Additional Inherited Members

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

Member Function Documentation

◆ paintEvent()

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

Reimplemented from ito::Panel.


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