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

Signals

void toggleBreakpointRequested (int)
 
void toggleEnableBreakpointRequested (int)
 
void editBreakpointRequested (int)
 
void clearAllBreakpointsRequested ()
 
void gotoNextBreakPointRequested ()
 
void gotoPreviousBreakRequested ()
 

Public Member Functions

 BreakpointPanel (const QString &description="", QWidget *parent=NULL)
 
virtual QSize sizeHint () const
 
void setCurrentLine (int line)
 line = -1 removes the current line icon
 
void setSelectedCallstackLine (int line)
 
void removeAllLineSelectors ()
 adds a green arrow if another than the top line of the callstack (during debug) is selected, line = -1 removes the icon again.
 
- 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)
 this is equal than setCurrentLine(-1); setSelectedCallstackLine(-1);
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void contextMenuEvent (QContextMenuEvent *e)
 
- Protected Member Functions inherited from ito::Panel

Private Slots

void menuToggleBreakpoint ()
 
void menuToggleEnableBreakpoint ()
 
void menuEditBreakpoint ()
 
void menuGotoNextBreakPoint ()
 
void menuGotoPreviousBreakPoint ()
 
void menuClearAllBreakpoints ()
 

Private Attributes

QMap< TextBlockUserData::BreakpointType, QIcon > m_icons
 
QIcon m_currentLineIcon
 
int m_currentLine
 
QIcon m_selectedCallstackLineIcon
 
int m_selectedCallstackLine
 
QMenu * m_pContextMenu
 
QMap< QString, QAction * > m_contextMenuActions
 
int m_contextMenuLine
 

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

this is equal than setCurrentLine(-1); setSelectedCallstackLine(-1);

Reimplemented from ito::Panel.


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