shadPS4/shadPS4/gui/game_list_frame.h
2023-03-09 13:36:51 +02:00

24 lines
454 B
C++

#pragma once
#include "game_list_table.h"
#include "shadps4gui.h"
#include <QHeaderView>
class game_list_frame
{
public :
/** Fix columns with width smaller than the minimal section size */
void FixNarrowColumns() const;
/** Resizes the columns to their contents and adds a small spacing */
void ResizeColumnsToContents(int spacing = 20) const;
private:
// Game List
game_list_table* m_game_list = nullptr;
QList<QAction*> m_columnActs;
};