+QVBoxLayout* MainWindow::makeResultCell(const VVS &tenseIterator,
+ const std::string &tenseName,
+ const std::string &inputWord,
+ FrenchVerbDictionary *verbDict)
+{
+ QLabel *tenseLabel = new QLabel();
+ tenseLabel->setText(QString::fromUtf8(tenseName.c_str()));
+ QVBoxLayout *vbox = new QVBoxLayout();
+ vbox->addWidget(tenseLabel);
+ std::string conjugated = createTableCellText(
+ *verbDict,
+ tenseIterator,
+ inputWord,
+ "",
+ "");
+ QLabel *conjResult = new QLabel();
+ conjResult->setText(QString::fromUtf8(conjugated.c_str()));
+ vbox->addWidget(conjResult);
+ return vbox;
+}
+