QCodeEdit  2.2
List of all members
QFoldPanel Class Reference

A panel that draw fold indicators and provide fold/unfold actions to the user. More...

Inheritance diagram for QFoldPanel:
Inheritance graph
[legend]
 QFoldPanel (QWidget *p=0)
 Constructor.
 
virtual ~QFoldPanel ()
 Empty destructor.
 
virtual QString type () const
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual bool paint (QPainter *p, QEditor *e)
 
QRect drawIcon (QPainter *p, QEditor *e, int x, int y, bool expand)
 

Additional Inherited Members

- Public Member Functions inherited from QPanel
virtual QString id () const =0
 
 QPanel (QWidget *p=0)
 Constructor. More...
 
virtual ~QPanel ()
 Destructor.
 
QEditoreditor ()
 
void attach (QEditor *e)
 Connect the panel to a text editor.
 
virtual bool shallShow () const
 
bool defaultVisibility () const
 
void setDefaultVisibility (bool on)
 
- Static Public Member Functions inherited from QPanel
static QPanelpanel (const QString &id, QWidget *p=0)
 
static void registerCreator (QPanelCreator *c)
 
- Protected Member Functions inherited from QPanel
virtual bool forward (QMouseEvent *e)
 
virtual void editorChange (QEditor *e)
 Callback. More...
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void showEvent (QShowEvent *e)
 
virtual void hideEvent (QHideEvent *e)
 
virtual void paintEvent (QPaintEvent *e)
 

Detailed Description

A panel that draw fold indicators and provide fold/unfold actions to the user.

Member Function Documentation

◆ mousePressEvent()

void QFoldPanel::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

◆ paint()

bool QFoldPanel::paint ( QPainter *  p,
QEditor e 
)
protectedvirtual

◆ type()

QString QFoldPanel::type ( ) const
virtual

Implements QPanel.


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