mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
UI
rename the value changed signal to ui_changed
This commit is contained in:
+6
-6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user