mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
ebe33ffe8e
* Add RFunction struct and get functions from json * Fix QRCore::cmdj * Add Analysis command line argument * Replace MainWindow::current_address with cursur address * Use Cursor Address in MemoryWidget, Change some more String addresses to RVA * FunctionsWidget cleanup * Use QTreeView in FunctionsWidget * Re-enabled Nested Functions Widget * Nested Functions Tree View with Model * FunctionsWidget font, only one function highlighted * Removed explicit font sizes * FunctionsWidget re-enabled sorting and context menu * FunctionWidget Quick Filter * FunctionsWidget show decoration for imports * QRCore lists refactoring, Imports Icon * FunctionModel: Fix emitting dataChanged * Fix some smaller things * Fixes and cleanups * Raise MemoryDock on seek from Omnibar * FunctionsWidget: Remove margins * FunctionWidget: Restore correct Tooltip font * FunctionsWidget: import icon in separate column
40 lines
643 B
C++
40 lines
643 B
C++
#ifndef STRINGSWIDGET_H
|
|
#define STRINGSWIDGET_H
|
|
|
|
#include "dockwidget.h"
|
|
|
|
class MainWindow;
|
|
class QTreeWidgetItem;
|
|
|
|
namespace Ui
|
|
{
|
|
class StringsWidget;
|
|
}
|
|
|
|
class StringsWidget : public DockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit StringsWidget(MainWindow *main, QWidget *parent = 0);
|
|
~StringsWidget();
|
|
|
|
void setup() override;
|
|
|
|
void refresh() override;
|
|
|
|
void fillStrings();
|
|
|
|
private slots:
|
|
void on_stringsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
|
|
|
private:
|
|
Ui::StringsWidget *ui;
|
|
MainWindow *main;
|
|
|
|
void fillTreeWidget();
|
|
void setScrollMode();
|
|
};
|
|
|
|
#endif // STRINGSWIDGET_H
|