Commit 09e217f5 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Tweaked the deploystep files table a bit

Scroll per pixel is nicer and highlighting sections is not useful. Elide
mode is now set in the UI file. Also, set a minimum height so that it
doesn't go too small.

Reviewed-by: Christian Kandeler
parent 2990e8d2
......@@ -20,7 +20,6 @@ MaemoDeployStepWidget::MaemoDeployStepWidget(MaemoDeployStep *step) :
m_step(step)
{
ui->setupUi(this);
ui->tableView->setTextElideMode(Qt::ElideMiddle);
ui->modelComboBox->setModel(m_step->deployables());
connect(m_step->deployables(), SIGNAL(modelAboutToBeReset()),
SLOT(handleModelListToBeReset()));
......
......@@ -108,6 +108,18 @@
</item>
<item>
<widget class="QTableView" name="tableView">
<property name="minimumSize">
<size>
<width>0</width>
<height>150</height>
</size>
</property>
<property name="textElideMode">
<enum>Qt::ElideMiddle</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
......@@ -117,6 +129,9 @@
<attribute name="horizontalHeaderDefaultSectionSize">
<number>400</number>
</attribute>
<attribute name="horizontalHeaderHighlightSections">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>100</number>
</attribute>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment