Add initial work on Qt frontend

This commit is contained in:
Connor McLaughlin
2019-12-31 16:17:17 +10:00
parent 98214a9327
commit f3e9c3ec8c
64 changed files with 3490 additions and 14 deletions

View 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