Classes | |
class | GlobalAreaCompatibilitySidebarWidgetType |
class | ScriptingCompletionModel |
class | ScriptingCompletionPopup |
class | ScriptingConsoleEdit |
class | ScriptingConsoleOutput |
class | ScriptingConsole |
class | ScriptingConsoleSidebarWidgetType |
class GlobalAreaCompatibilitySidebarWidgetType |
GlobalAreaCompatibilitySidebarWidgetType::GlobalAreaCompatibilitySidebarWidgetType | ( | ) |
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
class ScriptingCompletionModel |
Public Member Functions | |
ScriptingCompletionModel (QWidget *parent) | |
virtual QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const override |
virtual QModelIndex | parent (const QModelIndex &i) const override |
virtual bool | hasChildren (const QModelIndex &parent) const override |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
virtual int | columnCount (const QModelIndex &parent) const override |
virtual QVariant | data (const QModelIndex &i, int role) const override |
void | setModelData (const std::vector< std::string > &completions, bool searching) |
ScriptingCompletionModel::ScriptingCompletionModel | ( | QWidget * | parent | ) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
void ScriptingCompletionModel::setModelData | ( | const std::vector< std::string > & | completions, |
bool | searching ) |
class ScriptingCompletionPopup |
Signals | |
void | complete (QString text) |
Public Member Functions | |
ScriptingCompletionPopup (QWidget *parent) | |
void | showWithData (QPoint pt, int cursorSize, const std::vector< std::string > &completions, bool searching=false) |
bool | handleKeyEvent (QKeyEvent *event) |
virtual | ~ScriptingCompletionPopup () |
Protected Member Functions | |
virtual bool | eventFilter (QObject *obj, QEvent *event) override |
ScriptingCompletionPopup::ScriptingCompletionPopup | ( | QWidget * | parent | ) |
|
virtual |
|
overrideprotectedvirtual |
void ScriptingCompletionPopup::showWithData | ( | QPoint | pt, |
int | cursorSize, | ||
const std::vector< std::string > & | completions, | ||
bool | searching = false ) |
bool ScriptingCompletionPopup::handleKeyEvent | ( | QKeyEvent * | event | ) |
|
signal |
class ScriptingConsoleEdit |
Public Types | |
typedef std::function< std::vector< std::string >(const std::string &)> | CompletionCallback |
Public Member Functions | |
ScriptingConsoleEdit (ScriptingConsole *parent) | |
void | setCharHeight (int height) |
void | setContinuation (bool cont) |
void | setCompletionCallback (CompletionCallback callback) |
void | insertFromMimeData (const QMimeData *source) override |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
std::function<std::vector<std::string>(const std::string&)> ScriptingConsoleEdit::CompletionCallback |
ScriptingConsoleEdit::ScriptingConsoleEdit | ( | ScriptingConsole * | parent | ) |
void ScriptingConsoleEdit::setCharHeight | ( | int | height | ) |
void ScriptingConsoleEdit::setContinuation | ( | bool | cont | ) |
|
inline |
|
override |
|
overrideprotectedvirtual |
class ScriptingConsoleOutput |
Public Slots | |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
void | viewChanged (QWidget *frame) |
Public Member Functions | |
ScriptingConsoleOutput (ScriptingConsole *parent, Menu *menu) | |
bool | IsNavigable (const QString &str, const std::pair< int, int > &offsetLen, uint64_t &value, bool highlight) const |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *event) override |
ScriptingConsoleOutput::ScriptingConsoleOutput | ( | ScriptingConsole * | parent, |
Menu * | menu ) |
bool ScriptingConsoleOutput::IsNavigable | ( | const QString & | str, |
const std::pair< int, int > & | offsetLen, | ||
uint64_t & | value, | ||
bool | highlight ) const |
|
overrideprotected |
|
overridevirtualslot |
|
slot |
class ScriptingConsole |
Signals | |
void | viewChanged (QWidget *frame) |
void | onScriptExecution () |
void | onScriptCompletion () |
Public Member Functions | |
ScriptingConsole (QWidget *parent, const QString &providerName, const QString &instanceName, ScriptingInstanceRef instance) | |
virtual | ~ScriptingConsole () |
QString | getProviderName () const |
QString | getInstanceName () const |
ScriptingInstanceRef | getInstance () |
bool | getScriptIsActive () const |
void | clearConsole () |
void | hideConsole () |
void | addInput (const std::string &text) |
virtual void | NotifyOutput (const std::string &text) override |
virtual void | NotifyWarning (const std::string &text) override |
virtual void | NotifyError (const std::string &text) override |
virtual void | NotifyInputReadyStateChanged (BNScriptingProviderInputReadyState state) override |
virtual void | notifyViewChanged (ViewFrame *frame) override |
virtual void | notifyFontChanged () override |
virtual void | focus () override |
void | moveUpInHistory () |
void | moveDownInHistory () |
std::vector< std::string > | reverseSearch (const QString &text) |
void | closing () override |
void | runScriptFromFile (const std::string &filename) |
Public Member Functions inherited from SidebarWidget | |
SidebarWidget (const QString &title) | |
~SidebarWidget () | |
const QString & | title () const |
void | enableRefreshTimer (int interval) |
void | setRefreshQuiesce (bool enable) |
bool | isQuiesced () const |
virtual void | notifyRefresh () |
virtual void | notifyQuiesce (bool) |
virtual void | notifyOffsetChanged (uint64_t) |
virtual void | notifyThemeChanged () |
virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
virtual void | setPrimaryOrientation (Qt::Orientation) |
virtual QWidget * | headerWidget () |
Protected Member Functions | |
void | customEvent (QEvent *event) override |
Additional Inherited Members | |
Protected Attributes inherited from SidebarWidget | |
QString | m_title |
UIActionHandler | m_actionHandler |
ContextMenuManager * | m_contextMenuManager = nullptr |
Menu * | m_menu = nullptr |
bool | m_quiesceState = true |
QTimer * | m_updateTimer = nullptr |
ScriptingConsole::ScriptingConsole | ( | QWidget * | parent, |
const QString & | providerName, | ||
const QString & | instanceName, | ||
ScriptingInstanceRef | instance ) |
|
virtual |
|
signal |
|
signal |
|
signal |
|
overrideprotected |
|
inline |
|
inline |
|
inline |
|
inline |
void ScriptingConsole::clearConsole | ( | ) |
void ScriptingConsole::hideConsole | ( | ) |
void ScriptingConsole::addInput | ( | const std::string & | text | ) |
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingOutputListener.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingOutputListener.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingOutputListener.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingOutputListener.
|
overridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Reimplemented from SidebarWidget.
|
overridevirtual |
Reimplemented from SidebarWidget.
void ScriptingConsole::moveUpInHistory | ( | ) |
void ScriptingConsole::moveDownInHistory | ( | ) |
std::vector< std::string > ScriptingConsole::reverseSearch | ( | const QString & | text | ) |
|
overridevirtual |
Reimplemented from SidebarWidget.
void ScriptingConsole::runScriptFromFile | ( | const std::string & | filename | ) |
class ScriptingConsoleSidebarWidgetType |
ScriptingConsoleSidebarWidgetType::ScriptingConsoleSidebarWidgetType | ( | ) |
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.
|
inlineoverridevirtual |
Reimplemented from SidebarWidgetType.