module DWProfile
	names = case_sensitive

        objects = {
                XmSeparator = gadget;
                XmLabel = gadget;
                XmPushButton = gadget;
                XmToggleButton = gadget;
                }


procedure
	WidgetCreated(integer);
	WidgetChanged(integer);
	Help(string);

value
	k_label_deltax:		5;	! offset from left side of form to XmLabel
	k_text_deltax:		90;	! part 3 offset from left side of form to text widget
	k_text_deltax1:		80;	! col 1 offset from left side of form to text widget
	k_text_deltax2:		90;	! col 2 offset from left side of form to text widget
	k_text_deltax3:		75;	! col 3 offset from left side of form to text widget
	k_label_form_offset:	5;	! offset from top of form to XmLabel (to align with widget)
	k_flag_margin:		0;
	k_tab1:			0;
	k_tab2:			220;
	k_tab3:			420;
	k_col1:			0;
	k_col2:			200;
	k_col3:			400;

	k_line_height:		30;
	k_dialog_y:		30;
	k_line_1_y:		10;
	k_line_2_y:		k_line_1_y + k_line_height;
	k_line_3_y:		k_line_2_y + k_line_height;
	k_line_4_y:		k_line_3_y + k_line_height;
	k_line_5_y:		k_line_4_y + k_line_height;
	k_line_login_y:		k_line_5_y + k_line_height + 5;
	k_flags_y:		k_line_login_y + k_line_height;
	k_line_6_y:		k_flags_y + 105;
	k_line_7_y:		k_line_6_y + k_line_height;
	k_line_8_y:		k_line_7_y + k_line_height;
	k_line_9_y:		k_line_8_y + k_line_height;
	k_line_10_y:		k_line_9_y + k_line_height;
	k_line_11_y:		k_line_10_y + k_line_height;
	k_line_12_y:		k_line_11_y + k_line_height;
	k_functions_y:		k_line_12_y + k_line_height + 20;

	k_main_height:		k_functions_y + 80;
	k_main_width:		620;


object
	dwprofile_main: XmMainWindow {
		arguments {
			};
		controls {
			XmMenuBar	menu;
			XmBulletinBoard	main_box;
			};
		callbacks {
			XmNhelpCallback = procedure Help("overview");
			};
		};

	main_box: XmBulletinBoard {
		arguments {
			XmNy = k_dialog_y;
			};
		controls {
			XmForm	user;
			XmForm	owner;
			XmForm	account;
			XmForm	uic;
			XmLabel	uic_trans;
			XmForm	device;
			XmForm	table;
			XmForm	cli;
			XmForm	directory;
			XmForm	lgicmd;
			XmForm	password;
			XmForm	lastlogin_i;
			XmForm	lastlogin_n;
			XmForm	logfails;
			XmSeparator	sep1;
			XmRowColumn	flags;
			XmSeparator	sep2;
			XmForm	expiration;
			XmForm	pwdlifetime;
			XmForm	pwdlength;
			XmForm	maxjobs;
			XmForm	fillm;
			XmForm	bytlm;
			XmForm	maxacctjobs;
			XmForm	shrfillm;
			XmForm	pbytlm;
			XmForm	maxdetach;
			XmForm	biolm;
			XmForm	jtquota;
			XmForm	prclm;
			XmForm	diolm;
			XmForm	wsdef;
			XmForm	prio;
			XmForm	astlm;
			XmForm	wsquota;
			XmForm	queprio;
			XmForm	tqelm;
			XmForm	wsextent;
			XmForm	cpu;
			XmForm	enqlm;
			XmForm	pgflquo;
			XmRowColumn	functions;
			};
		};


include file '[]text.uil';
include file '[]flags.uil';
include file '[]quotas.uil';
include file '[]buttons.uil';
end module;
