|  |  |  | @ -138,9 +138,21 @@ void MainWindow::init_tree_view() { | 
			
		
	
		
			
				
					|  |  |  |  |     this->view_add_columns(*usersQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     this->view_add_columns(*groupsQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     this->view_add_columns(*ProjectQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     this->view_add_columns(*GeneralQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     this->init_tree_view_general(); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | void MainWindow::init_tree_view_general() { | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column_editable(_("Status"), m_columnsGeneral.status); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Quota type"), m_columnsGeneral.type_quotas); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Device\nProject"), m_columnsGeneral.device); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("User"), m_columnsGeneral.user); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Group"), m_columnsGeneral.group); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Soft limit\n(size)"), m_columnsGeneral.soft_limit_size); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Severe\nlimitation\n(size)"), m_columnsGeneral.hard_limit_size); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Deferring\na hard\nlimit\n(size)"), m_columnsGeneral.hard_limit_size_delay); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Soft limit\n(files)"), m_columnsGeneral.soft_limit_files); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Severe\nlimitation\n(files)"), m_columnsGeneral.hard_limit_files); | 
			
		
	
		
			
				
					|  |  |  |  |     GeneralQuotasTree->append_column(_("Deferring\na hard\nlimit\n(files)"), m_columnsGeneral.hard_limit_delay); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | void MainWindow::lacalization() { | 
			
		
	
		
			
				
					|  |  |  |  |     time_t now = time(0); | 
			
		
	
		
			
				
					|  |  |  |  |     tm *ltm = localtime(&now); | 
			
		
	
	
		
			
				
					|  |  |  | @ -227,6 +239,9 @@ void MainWindow::lacalization() { | 
			
		
	
		
			
				
					|  |  |  |  |     btnSaveGlob->set_label(_("Save to global configuration")); | 
			
		
	
		
			
				
					|  |  |  |  |     btnSaveLocal->set_label(_("Save to local configuration")); | 
			
		
	
		
			
				
					|  |  |  |  |     lblHeadFiltersWindow->set_label(_("Filters")); | 
			
		
	
		
			
				
					|  |  |  |  |     ProjectTabLabel->set_label(_("Projects")); | 
			
		
	
		
			
				
					|  |  |  |  |     usersProjectLabel->set_text(_("Device:")); | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | void MainWindow::view_add_columns(Gtk::TreeView &treeView) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -236,14 +251,10 @@ void MainWindow::view_add_columns(Gtk::TreeView &treeView) { | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Soft limit\n(size)"), m_columns.soft_limit_size); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Severe\nlimitation\n(size)"), m_columns.hard_limit_size); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Deferring\na hard\nlimit\n(size)"), m_columns.hard_limit_size_delay); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Hard limit\n" | 
			
		
	
		
			
				
					|  |  |  |  |                             "activation\n" | 
			
		
	
		
			
				
					|  |  |  |  |                             "time (size)"), m_columns.hard_limit_activ_time); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Files"), m_columns.files); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Soft\nRestriction\n(files)"), m_columns.soft_limit_files); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Soft limit\n(files)"), m_columns.soft_limit_files); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Severe\nlimitation\n(files)"), m_columns.hard_limit_files); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Deferring\na hard\nlimit\n(files)"), m_columns.hard_limit_delay); | 
			
		
	
		
			
				
					|  |  |  |  |     treeView.append_column(_("Hard limit\nactivation\ntime (files)"), m_columns.hard_limit_files_activ_time); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | void MainWindow::filling_device_combo_box_template(Gtk::ComboBoxText *combo_box, map_str_str &map_device) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -436,9 +447,20 @@ void MainWindow::get_builder() { | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("quotegroupDeviceCombo", quotegroupDeviceCombo); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("GeneralQuotasTree", GeneralQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("ProjectQuotasTree", ProjectQuotasTree); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("ProjectTabLabel", ProjectTabLabel); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("usersProjectLabel", usersProjectLabel); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("btnFilterProject", btnFilterProject); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("btnFilterUsers", btnFilterUsers); | 
			
		
	
		
			
				
					|  |  |  |  |     builder->get_widget("btnFilterGroups", btnFilterGroups); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | void MainWindow::event() { | 
			
		
	
		
			
				
					|  |  |  |  |     btnFilterGroups->signal_clicked().connect([&]() {this->groupsFilters_show();}); | 
			
		
	
		
			
				
					|  |  |  |  |     btnFilterUsers->signal_clicked().connect([&]() {this->groupsFilters_show();}); | 
			
		
	
		
			
				
					|  |  |  |  |     btnFilterProject->signal_clicked().connect([&]() {this->groupsFilters_show();}); | 
			
		
	
		
			
				
					|  |  |  |  |     quotegroupSaveButton->signal_clicked().connect([&]() {}); | 
			
		
	
		
			
				
					|  |  |  |  |     btnLoadGlob->signal_activate().connect([&]() {this->load_global_cfg();}); | 
			
		
	
		
			
				
					|  |  |  |  |     btnLoadLocal->signal_activate().connect([&]() {this->load_system_cfg();}); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |