Add initial work on Qt frontend
This commit is contained in:
12
src/duckstation-qt/qtutils.h
Normal file
12
src/duckstation-qt/qtutils.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user