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

Classes

struct  CheckerItem
 

Public Member Functions

 GlobalCheckerPanel (const QString &description="", QWidget *parent=nullptr)
 
virtual QSize sizeHint () const
 
- 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 wheelEvent (QWheelEvent *e)
 
float getMarkerSpacing () const
 
QSize getMarkerSize () const
 
void drawVisibleArea (QPainter &painter)
 
void drawMessages (QPainter &painter)
 
- Protected Member Functions inherited from ito::Panel

Private Slots

void renewItemCache ()
 

Private Member Functions

int verticalOffset () const
 
int getScrollbarValueHeight () const
 
constexpr int markerHeight () const
 
void createItemCache ()
 

Private Attributes

QMap< TextBlockUserData::BreakpointType, QIcon > m_icons
 
QBrush m_backgroundBrush
 
QIcon m_breakpointIcon
 
QIcon m_bookmarkIcon
 
QList< CheckerItemm_itemCache
 
QTimer m_cacheRenewTimer
 

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::GlobalCheckerPanel::paintEvent ( QPaintEvent * e)
protectedvirtual

Reimplemented from ito::Panel.


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