You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ubl-settings-diskquota/source/view/view_edit_user_group.h

61 lines
2.1 KiB

#ifndef VIEW_ADD_USER_GROUP_H
#define VIEW_ADD_USER_GROUP_H
#include "../project_lib.h"
#include "../var.h"
using namespace std;
class View_edit_user_group
{
private:
Glib::RefPtr<Gtk::Builder> builder;
private:
Gtk::Window* wndQuotasEditUser;
Gtk::Button* btnCancelEditUser;
Gtk::Button* btnSaveEditUser;
Gtk::CheckButton* quotegroupSizeSoftLimitCheckUser;
Gtk::CheckButton* quotegroupSizeHardLimitCheckUser;
Gtk::CheckButton* quotegroupFilesSoftLimitCheckUser;
Gtk::CheckButton* quotegroupFilesHardLimitCheckUser;
Gtk::SpinButton* quotegroupSizeSoftLimitSpinUser;
Gtk::SpinButton* quotegroupSizeHardLimitSpinUser;
Gtk::SpinButton* quotegroupFilesSoftLimitSpinUser;
Gtk::SpinButton* quotegroupFilesHardLimitSpinUser;
Gtk::ComboBoxText* quotegroupSizeSoftLimitComboUser;
Gtk::ComboBoxText* quotegroupSizeHardLimitComboUser;
Gtk::Label* quotegroupFilesSoftLimitlabelUser;
Gtk::Label* quotegroupFilesHarLimitLabelUser;
Gtk::Label* quotegroupSizeSoftLimitLabelUser;
Gtk::Label* quotegroupFilesSoftLimitLabelUser;
Gtk::Label* quotegroupSizeCurrentlyLabelUser;
Gtk::Label* quotegroupFilesCurrentlyLabelUser;
Gtk::Label* quotegroupSizeFrameLabelUser;
Gtk::Label* quotegroupFilesFrameLabelUser;
Gtk::Label* lblSetDeviceUser;
Gtk::Label* lblQuotasStatusUser;
Gtk::Label* lblSetUGPUser;
Gtk::Label* lblSetNameDeviceUser;
Gtk::Label* lblSetQuotasStatusUser;
Gtk::Label* lblSetUGPUserValue;
Gtk::Label* lblHeadQuotasEditWindowUser;
Gtk::Label* quoteSizeHardLimitLabel1;
Gtk::Label* quoteFilesHardLimitLabelUser;
public:
View_edit_user_group(/* args */);
~View_edit_user_group();
void setting();
void event();
void show();
void get_builder();
void check_limit(Gtk::CheckButton *check_button, Gtk::SpinButton *spin, Gtk::ComboBoxText *combo_box);
void check_limit(Gtk::CheckButton *check_button, Gtk::SpinButton *spin, Gtk::Label *combo_box);
void fill_in_pow_memory(Gtk::ComboBoxText *cb_text);
void set_label_type_quota(string name);
void lacalization();
};
#endif