rsx_debugger: move debugger table resize to qt_utils for reusability

maybe create a custom table class in the future
This commit is contained in:
Megamouse 2018-03-30 12:55:43 +02:00 committed by Ivan
parent d97d30ea2e
commit ed7d514c31
4 changed files with 53 additions and 37 deletions

View file

@ -5,6 +5,8 @@
#include <QFont>
#include <QIcon>
#include <QLabel>
#include <QTableWidget>
#include <QHeaderView>
namespace gui
{
@ -35,5 +37,8 @@ namespace gui
// Returns the part of the image loaded from path that is inside the bounding box of its opaque areas
QImage get_opaque_image_area(const QString& path);
// Recalculates a table's item count based on the available visible space and fills it with empty items
void update_table_item_count(QTableWidget* table);
} // utils
} // gui