2020-05-19 20:34:51 +02:00
|
|
|
#include "view_info.h"
|
|
|
|
|
2020-05-26 18:09:22 +02:00
|
|
|
view_info::view_info():Gtk::Box(Gtk::ORIENTATION_VERTICAL),
|
|
|
|
b_remove("remove")
|
2020-05-19 20:34:51 +02:00
|
|
|
{
|
|
|
|
this->m_refTreeModel = Gtk::ListStore::create(this->m_Columns);
|
|
|
|
this->tree.set_model(this->m_refTreeModel);
|
|
|
|
|
|
|
|
tree.append_column("name", m_Columns.r_name);
|
|
|
|
tree.append_column("date", m_Columns.r_date);
|
|
|
|
tree.append_column("config", m_Columns.r_config);
|
|
|
|
tree.append_column("user", m_Columns.r_user);
|
|
|
|
this->add(this->tree);
|
2020-05-26 18:09:22 +02:00
|
|
|
this->b_box.add(this->b_remove);
|
|
|
|
this->add(this->b_box);
|
|
|
|
}
|
|
|
|
|
|
|
|
void view_info::restart_table(){
|
|
|
|
this->m_refTreeModel = Gtk::ListStore::create(this->m_Columns);
|
|
|
|
this->tree.set_model(this->m_refTreeModel);
|
2020-05-19 20:34:51 +02:00
|
|
|
}
|