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

Signals

void toggleBookmarkRequested (int line)
 borrowed reference to the bookmark model. This model is owned by the script editor organizer.
 
void gotoBookmarkRequested (bool next)
 
void clearAllBookmarksRequested ()
 

Public Member Functions

 CheckerBookmarkPanel (BookmarkModel *bookmarkModel, const QString &description="", QWidget *parent=NULL)
 
virtual QSize sizeHint () const
 
virtual void onUninstall ()
 
QList< CodeCheckerItemmarkersForLine (int line) 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 onStateChanged (bool state)
 
QString name () const
 
bool enabled () const
 
void setEnabled (bool enabled)
 
CodeEditoreditor () const
 
bool onClose () const
 
virtual QList< QAction * > actions () const
 

Static Public Member Functions

static QIcon iconFromMessages (bool hasCheckerMessages, bool hasBookmark, CodeCheckerItem::CheckerType checkerStatus)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void leaveEvent (QEvent *e)
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 
void displayTooltip (QList< QVariant > args)
 
- Protected Member Functions inherited from ito::Panel

Private Slots

void menuToggleBookmark ()
 

Private Attributes

int m_previousLine
 
DelayJobRunnerBasem_pJobRunner
 
QMenu * m_pContextMenu
 
QMap< QString, QAction * > m_contextMenuActions
 
int m_contextMenuLine
 
BookmarkModelm_pBookmarkModel
 

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

◆ onUninstall()

void ito::CheckerBookmarkPanel::onUninstall ( )
virtual

Reimplemented from ito::Mode.

◆ paintEvent()

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

Reimplemented from ito::Panel.


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