mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
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:
parent
d97d30ea2e
commit
ed7d514c31
4 changed files with 53 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue