rename the value changed signal to ui_changed
This commit is contained in:
2026-02-14 14:31:06 +01:00
parent 24f7aa981e
commit 59c2303ce0
12 changed files with 38 additions and 38 deletions
+6 -6
View File
@@ -22,7 +22,7 @@ void UI_table::set_row_count(size_t count)
m_valid.resize(m_column_count * m_row_count);
}
emit value_changed();
emit ui_changed();
}
size_t UI_table::row_count() const
@@ -39,7 +39,7 @@ void UI_table::set_column_count(size_t count)
m_valid.resize(m_column_count * m_row_count);
}
emit value_changed();
emit ui_changed();
}
size_t UI_table::column_count() const
@@ -61,7 +61,7 @@ void UI_table::set_row_label(size_t index, std::string label)
m_row_labels[index] = label;
emit value_changed();
emit ui_changed();
}
std::string UI_table::row_label(size_t index) const
@@ -83,7 +83,7 @@ void UI_table::set_column_label(size_t index, std::string label)
m_column_labels[index] = label;
emit value_changed();
emit ui_changed();
}
std::string UI_table::column_label(size_t index) const
@@ -115,7 +115,7 @@ void UI_table::insert_item(size_t row, size_t column, std::string text)
m_table.at(index) = text;
m_valid.at(index) = true;
emit value_changed();
emit ui_changed();
}
void UI_table::empty_item(size_t row, size_t column)
@@ -125,7 +125,7 @@ void UI_table::empty_item(size_t row, size_t column)
m_table[index] = "";
m_valid[index] = false;
emit value_changed();
emit ui_changed();
}
void UI_table::from_json(const json &j)