+void MotifEditor::updateTitle()
+{
+ std::string title("Motif Editor: ");
+ if (analysis) {
+ title += analysis->get_title();
+ }
+ setWindowTitle(title.c_str());
+}
+
+void MotifEditor::updateView()
+{
+ for (int row = 0; row < model->rowCount(QModelIndex()); ++row)
+ table->resizeRowToContents(row);
+ for (int column = 0; column < model->columnCount(QModelIndex()); ++column)
+ table->resizeColumnToContents(column);
+}
+