Commit Graph

20 Commits

Author SHA1 Message Date
xarkes
46bb07d725 Fixed the way headers are included 2019-03-15 16:19:27 +01:00
xarkes
ab27e09b91 Splitted Cutter.h and moved everything in core (#1201)
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00
Itay Cohen
ed621e55a8 Closing #929 | Color functions at offset 0x00 in the Imports widget (#992)
* Color function at offset 0. Closing #929
2018-12-11 19:23:01 +01:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
icebp
4b454e086e create keyboard shortcuts for widgets (solve #733) (#819)
* Add shift-F12 shortcut for strings widget.

* change strings shortcut to use global map

* add Shift-I shortcut for Imports

* add Shift-E shortcut for Exports

* add Shift-G shortcut for Graph view

* add widgets shortcuts map file

* update widget checkboxes when using shortcuts
2018-10-16 09:25:09 +03:00
smhaziq
7c7cb4083c Add status bar and display items count (#779)
* Add status bar and display items count
2018-10-10 14:34:46 +02:00
Paul I
8d3e8a65e1 Remove useless begin-/end-ReloadModel methods (#793) 2018-10-10 13:33:55 +02:00
xarkes
ec815195cf
Astyle pass (cleaning) (#739) 2018-09-30 22:00:53 +02:00
Paul I
d58e69d411 Add QuickFilter to RelocsWidget (#452) 2018-04-24 20:40:40 +02:00
Paul I
0ae021f9a1 Check QModelIndex/column before processing double click event (#450) 2018-04-23 09:54:06 +02:00
Paul I
09bfc9f3d0 Add QuickFilter panel for ImportsWidget and ExportsWidget (#449) 2018-04-23 09:53:35 +02:00
Abdel-Rahman A
e1f17db235 Refactor ImportsWidget to a view and a model (#438)
* Refactor ImportsWidget to a view and a model
* Remove unused delegate
2018-04-12 08:32:31 +02:00
xarkes
3cd71f75e1 Changing coding style 2018-03-21 21:33:40 +01:00
Nics
c4e8a1c178 Small refactor for the widgets of Cutter (#405)
* Small refactor for the widgets of Cutter

This refactor include the following :

* Creation of a new class
Creation of a new class, named CutterWidget, that inherits from QDockWidget and
is used to represent all of the widgets of the main window.
The goal of this class is to regroup all the behaviour shared by the widgets of
Cutter.

For example : in the constructor, instructions corresponding of those
present in the macro **ADD_DOCK** (in MainWindow.cpp) are executed.
This was made because I think that the macro **ADD_DOCK** which is used
to construct the widgets does not take advantage of the object structure.

* Ensure that every widget has a parent
Some widgets were created using the constructor QDockWidget, but using
**nullptr** (default) as argument, thus they haven't got any parent.

The constructor of a CutterWidget takes as argument the MainWindow and an
action (optional) and calls the constructor of QDockWidget with the main
window as argument. This is valid under the assumption that it is mandatory
for every widget to have the main window as a parent.

* Constructors removal
The constructors of some widgets are not used anywhere and does not seem not
fullfill any current usecase. They were removed.

* Renaming CutterWidget to CutterDockWidget
2018-03-16 22:46:57 +01:00
Florian Märkl
096db4b7e4 Set list item colors to system default 2017-12-02 20:15:12 +01:00
Florian Märkl
934c85da2a Set default sorting to ascending for lists 2017-11-26 22:31:36 +01:00
Florian Märkl
61fd2b3058 Replace DockWidget with CutterCore::refreshAll() signal 2017-11-19 14:04:25 +01:00
xarkes
93195999d8 Made CutterCore singleton 2017-10-09 20:09:35 +02:00
xarkes
925eb15c9b Some refactoring 2017-10-03 20:38:34 +02:00
Tim Siebels
bafad96bf3 Camel Case all the files (#32)
fixes #30
2017-10-02 18:18:40 +02:00