The main variable list dock widget.
Public Member Functions | |
VariableList (ViewFrame *view, BinaryViewRef data) | |
QWidget * | headerWidget () override |
void | focus () override |
void | refresh () |
VariableListItem * | selectedItem () const |
Get the VariableListItem corresponding to the current selection. More... | |
void | changeSelectedVariableName () |
Show the rename dialog for the selected variable. More... | |
void | changeSelectedVariableType () |
Show the new type dialog for the seleected variable. More... | |
void | clearSelectedVariableName () |
Clear the selected variable's name. More... | |
void | clearSelectedVariableType () |
Clear the selected variable's type. More... | |
void | clearSelectedVariableNameAndType () |
Undefine the selected variable's user symbol. More... | |
void | showSelectedVariableFirstUsage () |
Navigate to the first usage of the selected variable. More... | |
void | showSelectedDataVariableDefinition () |
Navigate to the definition of the selected data variable. More... | |
void | setSelectedVariableDeadStoreElimination (BNDeadStoreElimination dse) |
Set the selected variable's DSE policy. More... | |
Public Member Functions inherited from SidebarWidget | |
SidebarWidget (const QString &title) | |
const QString & | title () const |
virtual void | notifyFontChanged () |
virtual void | notifyOffsetChanged (uint64_t) |
virtual void | notifyThemeChanged () |
virtual void | notifyViewChanged (ViewFrame *) |
virtual void | notifyViewLocationChanged (View *, const ViewLocation &) |
virtual void | focus () |
virtual QWidget * | headerWidget () |
Additional Inherited Members | |
Protected Attributes inherited from SidebarWidget | |
QString | m_title |
UIActionHandler | m_actionHandler |
ContextMenuManager * | m_contextMenuManager = nullptr |
Menu * | m_menu = nullptr |
VariableList::VariableList | ( | ViewFrame * | view, |
BinaryViewRef | data | ||
) |
void VariableList::changeSelectedVariableName | ( | ) |
Show the rename dialog for the selected variable.
void VariableList::changeSelectedVariableType | ( | ) |
Show the new type dialog for the seleected variable.
void VariableList::clearSelectedVariableName | ( | ) |
Clear the selected variable's name.
void VariableList::clearSelectedVariableNameAndType | ( | ) |
Undefine the selected variable's user symbol.
void VariableList::clearSelectedVariableType | ( | ) |
Clear the selected variable's type.
|
inlineoverridevirtual |
Reimplemented from SidebarWidget.
|
inlineoverridevirtual |
Reimplemented from SidebarWidget.
void VariableList::refresh | ( | ) |
VariableListItem * VariableList::selectedItem | ( | ) | const |
Get the VariableListItem corresponding to the current selection.
void VariableList::setSelectedVariableDeadStoreElimination | ( | BNDeadStoreElimination | dse | ) |
Set the selected variable's DSE policy.
void VariableList::showSelectedDataVariableDefinition | ( | ) |
Navigate to the definition of the selected data variable.
void VariableList::showSelectedVariableFirstUsage | ( | ) |
Navigate to the first usage of the selected variable.