Strip rendereing bug fixed
This commit is contained in:
@@ -37,7 +37,7 @@ MainWindow::MainWindow(QSettings &settings, Zeiterfassung &erfassung, const Zeit
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowTitle(tr("Zeiterfassung - %0").arg(m_userInfo.text));
|
||||
setWindowTitle(tr("Zeiterfassung - %0 (%1)").arg(m_userInfo.text).arg(m_userInfo.email));
|
||||
|
||||
ui->actionQuit->setShortcut(QKeySequence::Quit);
|
||||
|
||||
@@ -847,14 +847,7 @@ void MainWindow::validateEntries()
|
||||
if(buchungenIter == m_buchungenModel->constEnd() &&
|
||||
kontierungenIter == m_kontierungenModel->constEnd())
|
||||
{
|
||||
ui->timeEditTime->setEnabled(true);
|
||||
ui->comboBoxProjekt->setEnabled(true);
|
||||
ui->comboBoxSubprojekt->setEnabled(true);
|
||||
ui->comboBoxWorkpackage->setEnabled(true);
|
||||
ui->comboBoxText->setEnabled(true);
|
||||
ui->pushButtonStart->setEnabled(true);
|
||||
|
||||
return;
|
||||
goto after;
|
||||
}
|
||||
|
||||
if(buchungenIter == m_buchungenModel->constEnd())
|
||||
@@ -1053,6 +1046,8 @@ void MainWindow::validateEntries()
|
||||
.arg(buchungTimespan.toString("HH:mm:ss"));
|
||||
goto after;
|
||||
}
|
||||
else
|
||||
ui->verticalLayout2->addSpacing(17);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -177,6 +177,12 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
@@ -188,11 +194,15 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1218</width>
|
||||
<height>452</height>
|
||||
<width>1220</width>
|
||||
<height>454</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout2"/>
|
||||
<layout class="QVBoxLayout" name="verticalLayout2">
|
||||
<property name="spacing">
|
||||
<number>3</number>
|
||||
</property>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QSplitter" name="splitter">
|
||||
|
Reference in New Issue
Block a user