menu for hide/show colums

This commit is contained in:
georgemoralis 2023-03-10 11:01:02 +02:00
parent c0b2c357ec
commit fece7bc008
2 changed files with 16 additions and 0 deletions

View File

@ -80,6 +80,14 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> gui_settings,QWid
} }
}); });
} }
//events
connect(m_game_list->horizontalHeader(), &QHeaderView::customContextMenuRequested, this, [this](const QPoint& pos)
{
QMenu* configure = new QMenu(this);
configure->addActions(m_columnActs);
configure->exec(m_game_list->horizontalHeader()->viewport()->mapToGlobal(pos));
});
} }
game_list_frame::~game_list_frame(){ game_list_frame::~game_list_frame(){
SaveSettings(); SaveSettings();

8
shadPS4/shadps4.ini Normal file
View File

@ -0,0 +1,8 @@
[GameList]
visibility_column_path=true
visibility_column_icon=true
visibility_column_name=true
visibility_column_serial=true
visibility_column_firmware=true
visibility_column_version=true
visibility_column_category=true