mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-10-23 23:55:42 +00:00
12 lines
333 B
C
12 lines
333 B
C
|
#pragma once
|
||
|
#include <initializer_list>
|
||
|
|
||
|
class QTableView;
|
||
|
|
||
|
namespace QtUtils {
|
||
|
|
||
|
/// Resizes columns of the table view to at the specified widths. A width of -1 will stretch the column to use the
|
||
|
/// remaining space.
|
||
|
void ResizeColumnsForTableView(QTableView* view, const std::initializer_list<int>& widths);
|
||
|
|
||
|
} // namespace QtUtils
|