cutter/src/widgets/stringswidget.h
Florian Märkl ebe33ffe8e Refactor FunctionsWidget, new features and much more (#149)
* 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
2017-04-28 15:09:40 +02:00

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