|
void | triggerStateChanged (QTextBlock, bool) |
|
void | collapseAllTriggered () |
|
void | expandAllTriggered () |
|
|
| FoldingPanel (bool highlightCaretScope=false, const QString &description="", QWidget *parent=NULL) |
|
bool | nativeLook () const |
|
void | setNativeLook (bool native) |
|
QStringList | customIndicatorIcons () const |
|
void | setCustomIndicatorIcons (const QStringList &icons) |
|
QColor | customFoldRegionBackground () const |
|
void | setCustomFoldRegionBackground (const QColor &color) |
|
bool | highlightCaretScope () const |
|
void | setHighlightCaretScope (bool value) |
|
virtual void | onInstall (CodeEditor *editor) |
|
virtual void | onStateChanged (bool state) |
|
virtual QSize | sizeHint () const |
|
void | collapseAll () |
|
void | expandAll () |
|
void | toggleFold (bool topLevelOnly) |
|
void | toggleFoldTrigger (const QTextBlock &block, bool refreshEditor=true) |
|
void | refreshDecorations (bool force=false) |
|
| 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 |
|
| Mode (const Mode ©) |
|
| Mode (const QString &name, const QString &description="") |
|
bool | operator== (const Mode &other) const |
|
virtual void | onUninstall () |
|
QString | name () const |
|
bool | enabled () const |
|
void | setEnabled (bool enabled) |
|
CodeEditor * | editor () const |
|
bool | onClose () const |
|
virtual QList< QAction * > | actions () const |
|
|
virtual void | paintEvent (QPaintEvent *e) |
|
virtual void | mouseMoveEvent (QMouseEvent *e) |
|
virtual void | mousePressEvent (QMouseEvent *e) |
|
virtual void | leaveEvent (QEvent *e) |
|
void | drawFoldRegionBackground (const QTextBlock &block, QPainter &painter) const |
|
void | drawRect (const QRectF &rect, QPainter &painter) const |
|
void | drawFoldIndicator (int top, bool mouseOver, bool collapsed, QPainter *painter) const |
|
void | addFoldDecoration (const QTextBlock &block, const FoldScope ®ion) |
|
void | addScopeDecorations (const QTextBlock &block, int start, int end) |
|
QColor | getScopeHighlightColor () const |
|
void | clearScopeDecos () |
|
void | addScopeDeco (int start, int end, int parentStart, int parentEnd, const QColor &baseColor, int factor) |
|
void | refreshEditorAndScrollbars () |
|
void | highlightSurroundingScopes (QTextBlock block) |
|
|
static QColor | getSystemBckColor () |
|
static void | showPreviousBlankLines (const QTextBlock &block) |
|
static QTextBlock | findParentScope (const QTextBlock &block) |
|
|
void | clearBlockDeco () |
|
void | highlightCaretScopeSlot () |
|
void | onFoldDecoClicked (TextDecoration::Ptr deco) |
|
void | onKeyPressed (QKeyEvent *e) |
|
|
bool | m_native |
|
QStringList | m_customIndicators |
|
FoldScope | m_currentScope |
|
QColor | m_customColor |
|
bool | m_highlightCaret |
|
bool | m_highlightCaretScope |
|
int | m_blockNbr |
|
int | m_indicSize |
|
QList< TextDecoration::Ptr > | m_scopeDecos |
|
QList< TextDecoration::Ptr > | m_blockDecos |
|
int | m_mouseOverLine |
|
DelayJobRunnerBase * | m_pHighlightRunner |
|
QTextCursor | m_prevCursor |
|
|
enum | Position {
Top = 0
, Left = 1
, Right = 2
, Bottom = 3
,
Floating = 4
} |
|
typedef QSharedPointer< Panel > | Ptr |
|
typedef QSharedPointer< Mode > | Ptr |
|
◆ onInstall()
void ito::FoldingPanel::onInstall |
( |
CodeEditor * | editor | ) |
|
|
virtual |
◆ onStateChanged()
void ito::FoldingPanel::onStateChanged |
( |
bool | state | ) |
|
|
virtual |
◆ paintEvent()
void ito::FoldingPanel::paintEvent |
( |
QPaintEvent * | e | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/codeEditor/panels/foldingPanel.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/Qitom/codeEditor/panels/foldingPanel.cpp