mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user