Add table dialog : table config can saved and loaded.

The dialog used to edit the configuration of QetGraphicsTable item can
now save and load a configuration from graphics_table.json file located
in the user config dir.
This commit is contained in:
Claveau Joshua
2020-05-30 20:18:44 +02:00
parent 261abfa10b
commit 0897ed43fe
5 changed files with 126 additions and 1 deletions

View File

@@ -38,6 +38,10 @@ QString ConfigSaveLoaderWidget::text() const {
return ui->m_line_edit->text();
}
void ConfigSaveLoaderWidget::addItem(QString text) {
ui->m_combo_box->addItem(text);
}
void ConfigSaveLoaderWidget::on_m_load_pb_clicked() {
emit loadClicked();
}