minor improvement
This commit is contained in:
parent
70594387de
commit
2d57715a6e
2 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent)
|
||||||
gameListProxyModel = new GamesProxyModel(this);
|
gameListProxyModel = new GamesProxyModel(this);
|
||||||
gameListProxyModel->setSourceModel(gameListModel);
|
gameListProxyModel->setSourceModel(gameListModel);
|
||||||
gameListView->setModel(gameListProxyModel);
|
gameListView->setModel(gameListProxyModel);
|
||||||
|
gameListView->header()->setResizeMode(0, QHeaderView::ResizeToContents);
|
||||||
|
|
||||||
showFullGamesCheckBox = new QCheckBox;
|
showFullGamesCheckBox = new QCheckBox;
|
||||||
createButton = new QPushButton;
|
createButton = new QPushButton;
|
||||||
|
|
|
@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent)
|
||||||
: QTabWidget(parent), client(0), tabServer(0), tabDeckStorage(0)
|
: QTabWidget(parent), client(0), tabServer(0), tabDeckStorage(0)
|
||||||
{
|
{
|
||||||
tabChangedIcon = new QIcon(":/resources/icon_tab_changed.svg");
|
tabChangedIcon = new QIcon(":/resources/icon_tab_changed.svg");
|
||||||
|
setElideMode(Qt::ElideRight);
|
||||||
setIconSize(QSize(15, 15));
|
setIconSize(QSize(15, 15));
|
||||||
connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrent(int)));
|
connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrent(int)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue