/// <summary> /// Constructor /// </summary> public NewContactDialogWidget() { ncDialog_Ui = new Ui.NewContactDialog(); ncDialog_Ui.SetupUi(this); ncDialog_Ui.LblDesc.Text = GlobalObjUI.LMan.GetString("descnumber"); ncDialog_Ui.LblNumber.Text = GlobalObjUI.LMan.GetString("phonenumber"); this.WindowTitle = MainClass.AppNameVer + " - " + GlobalObjUI.LMan.GetString("phonenumber"); string title = GlobalObjUI.LMan.GetString("addcontacts"); ncDialog_Ui.LblTitle.Text = title; ncDialog_Ui.TxtNumber.MaxLength = 21; Connect( ncDialog_Ui.Buttons, SIGNAL("clicked(QAbstractButton*)"), this, SLOT("ActionExit(QAbstractButton*)")); }
/// <summary> /// Constructor /// </summary> public NewContactDialogWidget() { ncDialog_Ui = new Ui.NewContactDialog(); ncDialog_Ui.SetupUi(this); ncDialog_Ui.LblDesc.Text = GlobalObjUI.LMan.GetString("descnumber"); ncDialog_Ui.LblNumber.Text = GlobalObjUI.LMan.GetString("phonenumber"); this.WindowTitle = MainClass.AppNameVer + " - " + GlobalObjUI.LMan.GetString("phonenumber"); string title = GlobalObjUI.LMan.GetString("addcontacts"); ncDialog_Ui.LblTitle.Text = title; ncDialog_Ui.TxtNumber.MaxLength = 21; Connect(ncDialog_Ui.Buttons, SIGNAL("clicked(QAbstractButton*)"), this, SLOT("ActionExit(QAbstractButton*)")); }