62 QSharedPointer<OutlineItem> rootOutline;
71 enum Scope { AllScripts, SingleScript };
73 void setDialogPosition();
75 QList<QTreeWidgetItem*> parseTree(
const QString &filename,
int editorUID,
const QSharedPointer<OutlineItem> &root)
const;
76 bool filterItemRec(QTreeWidgetItem *root,
const QString &text);
77 QString renderTooltipText(
const QSharedPointer<OutlineItem> &item)
const;
78 QString
argsWordWrap(QString argText,
int maxLineLength)
const;
79 bool selectFirstVisibleChild(QTreeWidgetItem *parent);
81 void keyReleaseEvent(QKeyEvent* ev);
82 void keyPressEvent(QKeyEvent* ev);
83 void focusOutEvent(QFocusEvent* ev);
84 bool eventFilter(QObject* obj, QEvent *ev);
88 QTreeWidget *m_pTreeWidget;
89 QLineEdit *m_pLineEdit;
91 QList<EditorOutline> m_outlines;
92 int m_currentOutlineIndex;
94 QAction *m_actScopeChange;
97 void filterTextChanged(
const QString &text);
98 void itemActivated(QTreeWidgetItem *item,
int column);
99 void actSort(
bool triggered);
100 void actScopeChanged(
bool triggered);