protected void SetupUi()
 {
     base.ObjectName = "TwitterConfigurationDialog";
     this.WindowModality = Qt.WindowModality.NonModal;
     this.Geometry = new QRect(0, 0, 313, 137);
     this.WindowTitle = "Twitter Configuration";
     this.Modal = true;
     QVBoxLayout verticalLayout;
     verticalLayout = new QVBoxLayout(this);
     verticalLayout.Margin = 6;
     QHBoxLayout horizontalLayout;
     horizontalLayout = new QHBoxLayout();
     verticalLayout.AddLayout(horizontalLayout);
     this.logoLabel = new QLabel(this);
     this.logoLabel.ObjectName = "logoLabel";
     this.logoLabel.MinimumSize = new QSize(48, 0);
     this.logoLabel.Text = "";
     horizontalLayout.AddWidget(this.logoLabel);
     QVBoxLayout verticalLayout_2;
     verticalLayout_2 = new QVBoxLayout();
     horizontalLayout.AddLayout(verticalLayout_2);
     this.label = new QLabel(this);
     this.label.ObjectName = "label";
     QSizePolicy label_sizePolicy;
     label_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum);
     label_sizePolicy.SetVerticalStretch(0);
     label_sizePolicy.SetHorizontalStretch(0);
     label_sizePolicy.SetHeightForWidth(this.label.SizePolicy.HasHeightForWidth());
     this.label.SizePolicy = label_sizePolicy;
     this.label.Text = "Enter your Twitter account information:";
     verticalLayout_2.AddWidget(this.label);
     QGridLayout gridLayout_2;
     gridLayout_2 = new QGridLayout();
     verticalLayout_2.AddLayout(gridLayout_2);
     gridLayout_2.sizeConstraint = QLayout.SizeConstraint.SetMaximumSize;
     this.label_2 = new QLabel(this);
     this.label_2.ObjectName = "label_2";
     this.label_2.Text = "Username:"******"usernameLineEdit";
     gridLayout_2.AddWidget(this.usernameLineEdit, 0, 1, 1, 1);
     this.label_3 = new QLabel(this);
     this.label_3.ObjectName = "label_3";
     this.label_3.Text = "Password:"******"passwordLineEdit";
     this.passwordLineEdit.echoMode = QLineEdit.EchoMode.Password;
     gridLayout_2.AddWidget(this.passwordLineEdit, 1, 1, 1, 1);
     this.buttonBox = new QDialogButtonBox(this);
     this.buttonBox.ObjectName = "buttonBox";
     this.buttonBox.Orientation = Qt.Orientation.Horizontal;
     this.buttonBox.StandardButtons = (global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok"));
     verticalLayout.AddWidget(this.buttonBox);
     QObject.Connect(buttonBox, Qt.SIGNAL("accepted()"), this, Qt.SLOT("accept()"));
     QObject.Connect(buttonBox, Qt.SIGNAL("rejected()"), this, Qt.SLOT("reject()"));
     QMetaObject.ConnectSlotsByName(this);
 }
Пример #2
0
 protected void SetupUi()
 {
     base.ObjectName = "AccountStatusWidget";
     this.Geometry = new QRect(0, 0, 416, 47);
     QSizePolicy AccountStatusWidget_sizePolicy;
     AccountStatusWidget_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum);
     AccountStatusWidget_sizePolicy.SetVerticalStretch(0);
     AccountStatusWidget_sizePolicy.SetHorizontalStretch(0);
     AccountStatusWidget_sizePolicy.SetHeightForWidth(this.SizePolicy.HasHeightForWidth());
     this.SizePolicy = AccountStatusWidget_sizePolicy;
     this.WindowTitle = "Form";
     QHBoxLayout horizontalLayout;
     horizontalLayout = new QHBoxLayout(this);
     horizontalLayout.Spacing = 6;
     horizontalLayout.SetContentsMargins(6, 0, 6, 6);
     this.m_AvatarLabel = new Synapse.QtClient.Widgets.AvatarLabel(this);
     this.m_AvatarLabel.ObjectName = "m_AvatarLabel";
     QSizePolicy m_AvatarLabel_sizePolicy;
     m_AvatarLabel_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed);
     m_AvatarLabel_sizePolicy.SetVerticalStretch(0);
     m_AvatarLabel_sizePolicy.SetHorizontalStretch(0);
     m_AvatarLabel_sizePolicy.SetHeightForWidth(this.m_AvatarLabel.SizePolicy.HasHeightForWidth());
     this.m_AvatarLabel.SizePolicy = m_AvatarLabel_sizePolicy;
     this.m_AvatarLabel.MinimumSize = new QSize(36, 36);
     this.m_AvatarLabel.MaximumSize = new QSize(32, 32);
     horizontalLayout.AddWidget(this.m_AvatarLabel);
     QVBoxLayout verticalLayout;
     verticalLayout = new QVBoxLayout();
     horizontalLayout.AddLayout(verticalLayout);
     verticalLayout.Spacing = 0;
     this.m_NameLabel = new Synapse.QtClient.Widgets.FadingQLabel(this);
     this.m_NameLabel.ObjectName = "m_NameLabel";
     this.m_NameLabel.Text = "test@localhost";
     this.m_NameLabel.TextFormat = Qt.TextFormat.RichText;
     verticalLayout.AddWidget(this.m_NameLabel);
     this.m_StatusLabel = new QLabel(this);
     this.m_StatusLabel.ObjectName = "m_StatusLabel";
     this.m_StatusLabel.Text = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\np, li { white-space: pre-wrap; }\n</style></head><body style=\" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;\">\n<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"#show-presence-menu\"><span style=\" text-decoration: underline; color:#0057ae;\">Offline</span></a></p></body></html>";
     this.m_StatusLabel.ScaledContents = false;
     this.m_StatusLabel.OpenExternalLinks = false;
     this.m_StatusLabel.TextInteractionFlags = global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "LinksAccessibleByMouse");
     verticalLayout.AddWidget(this.m_StatusLabel);
     QMetaObject.ConnectSlotsByName(this);
 }
Пример #3
0
 protected void SetupUi()
 {
     base.ObjectName = "ErrorDialog";
     this.Geometry = new QRect(0, 0, 400, 322);
     this.WindowTitle = "ErrorDialog";
     QVBoxLayout verticalLayout_2;
     verticalLayout_2 = new QVBoxLayout(this);
     verticalLayout_2.sizeConstraint = QLayout.SizeConstraint.SetFixedSize;
     verticalLayout_2.Margin = 6;
     QHBoxLayout horizontalLayout_2;
     horizontalLayout_2 = new QHBoxLayout();
     verticalLayout_2.AddLayout(horizontalLayout_2);
     horizontalLayout_2.sizeConstraint = QLayout.SizeConstraint.SetFixedSize;
     this.iconLabel = new QLabel(this);
     this.iconLabel.ObjectName = "iconLabel";
     QSizePolicy iconLabel_sizePolicy;
     iconLabel_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum);
     iconLabel_sizePolicy.SetVerticalStretch(0);
     iconLabel_sizePolicy.SetHorizontalStretch(0);
     iconLabel_sizePolicy.SetHeightForWidth(this.iconLabel.SizePolicy.HasHeightForWidth());
     this.iconLabel.SizePolicy = iconLabel_sizePolicy;
     this.iconLabel.MinimumSize = new QSize(48, 48);
     this.iconLabel.Text = "";
     this.iconLabel.Alignment = ((global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft")) | global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop"));
     horizontalLayout_2.AddWidget(this.iconLabel);
     QVBoxLayout verticalLayout;
     verticalLayout = new QVBoxLayout();
     horizontalLayout_2.AddLayout(verticalLayout);
     verticalLayout.Spacing = 6;
     verticalLayout.sizeConstraint = QLayout.SizeConstraint.SetFixedSize;
     this.titleLabel = new QLabel(this);
     this.titleLabel.ObjectName = "titleLabel";
     QSizePolicy titleLabel_sizePolicy;
     titleLabel_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum);
     titleLabel_sizePolicy.SetVerticalStretch(0);
     titleLabel_sizePolicy.SetHorizontalStretch(0);
     titleLabel_sizePolicy.SetHeightForWidth(this.titleLabel.SizePolicy.HasHeightForWidth());
     this.titleLabel.SizePolicy = titleLabel_sizePolicy;
     this.titleLabel.Text = "<b>Title</b>";
     this.titleLabel.WordWrap = true;
     verticalLayout.AddWidget(this.titleLabel);
     this.messageLabel = new QLabel(this);
     this.messageLabel.ObjectName = "messageLabel";
     QSizePolicy messageLabel_sizePolicy;
     messageLabel_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum);
     messageLabel_sizePolicy.SetVerticalStretch(0);
     messageLabel_sizePolicy.SetHorizontalStretch(0);
     messageLabel_sizePolicy.SetHeightForWidth(this.messageLabel.SizePolicy.HasHeightForWidth());
     this.messageLabel.SizePolicy = messageLabel_sizePolicy;
     this.messageLabel.Text = "Message";
     this.messageLabel.WordWrap = true;
     verticalLayout.AddWidget(this.messageLabel);
     this.showDetailsButtonContainer = new QWidget(this);
     this.showDetailsButtonContainer.ObjectName = "showDetailsButtonContainer";
     QSizePolicy showDetailsButtonContainer_sizePolicy;
     showDetailsButtonContainer_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Minimum);
     showDetailsButtonContainer_sizePolicy.SetVerticalStretch(0);
     showDetailsButtonContainer_sizePolicy.SetHorizontalStretch(0);
     showDetailsButtonContainer_sizePolicy.SetHeightForWidth(this.showDetailsButtonContainer.SizePolicy.HasHeightForWidth());
     this.showDetailsButtonContainer.SizePolicy = showDetailsButtonContainer_sizePolicy;
     QHBoxLayout horizontalLayout;
     horizontalLayout = new QHBoxLayout(this.showDetailsButtonContainer);
     horizontalLayout.Margin = 0;
     this.showDetailsButton = new QPushButton(this.showDetailsButtonContainer);
     this.showDetailsButton.ObjectName = "showDetailsButton";
     this.showDetailsButton.Text = "Show Details";
     this.showDetailsButton.Checkable = true;
     horizontalLayout.AddWidget(this.showDetailsButton);
     QSpacerItem horizontalSpacer;
     horizontalSpacer = new QSpacerItem(223, 17, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum);
     horizontalLayout.AddItem(horizontalSpacer);
     verticalLayout.AddWidget(this.showDetailsButtonContainer);
     this.detailsTextEdit = new QPlainTextEdit(this);
     this.detailsTextEdit.ObjectName = "detailsTextEdit";
     this.detailsTextEdit.ReadOnly = true;
     verticalLayout.AddWidget(this.detailsTextEdit);
     this.buttonBox = new QDialogButtonBox(this);
     this.buttonBox.ObjectName = "buttonBox";
     this.buttonBox.Orientation = Qt.Orientation.Horizontal;
     this.buttonBox.StandardButtons = global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Close");
     verticalLayout_2.AddWidget(this.buttonBox);
     QObject.Connect(buttonBox, Qt.SIGNAL("accepted()"), this, Qt.SLOT("accept()"));
     QObject.Connect(buttonBox, Qt.SIGNAL("rejected()"), this, Qt.SLOT("reject()"));
     QObject.Connect(showDetailsButton, Qt.SIGNAL("toggled(bool)"), detailsTextEdit, Qt.SLOT("setVisible(bool)"));
     QMetaObject.ConnectSlotsByName(this);
 }
Пример #4
0
 protected void SetupUi()
 {
     base.ObjectName = "EditProfileDialog";
     this.Geometry = new QRect(0, 0, 605, 459);
     this.WindowTitle = "Edit Profile";
     QVBoxLayout verticalLayout;
     verticalLayout = new QVBoxLayout(this);
     verticalLayout.Margin = 6;
     this.mainTabWidget = new QTabWidget(this);
     this.mainTabWidget.ObjectName = "mainTabWidget";
     this.mainTabWidget.CurrentIndex = 0;
     verticalLayout.AddWidget(this.mainTabWidget);
     this.tab = new QWidget(this.mainTabWidget);
     this.tab.ObjectName = "tab";
     this.tab.Enabled = false;
     QHBoxLayout horizontalLayout;
     horizontalLayout = new QHBoxLayout(this.tab);
     horizontalLayout.Margin = 6;
     this.widget = new QWidget(this.tab);
     this.widget.ObjectName = "widget";
     QSizePolicy widget_sizePolicy;
     widget_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred);
     widget_sizePolicy.SetVerticalStretch(0);
     widget_sizePolicy.SetHorizontalStretch(0);
     widget_sizePolicy.SetHeightForWidth(this.widget.SizePolicy.HasHeightForWidth());
     this.widget.SizePolicy = widget_sizePolicy;
     QVBoxLayout verticalLayout_2;
     verticalLayout_2 = new QVBoxLayout(this.widget);
     verticalLayout_2.Margin = 0;
     this.groupBox_2 = new QGroupBox(this.widget);
     this.groupBox_2.ObjectName = "groupBox_2";
     QSizePolicy groupBox_2_sizePolicy;
     groupBox_2_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred);
     groupBox_2_sizePolicy.SetVerticalStretch(0);
     groupBox_2_sizePolicy.SetHorizontalStretch(0);
     groupBox_2_sizePolicy.SetHeightForWidth(this.groupBox_2.SizePolicy.HasHeightForWidth());
     this.groupBox_2.SizePolicy = groupBox_2_sizePolicy;
     this.groupBox_2.Title = "Basic Information";
     QFormLayout formLayout_2;
     formLayout_2 = new QFormLayout(this.groupBox_2);
     formLayout_2.fieldGrowthPolicy = QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow;
     formLayout_2.SetContentsMargins(6, 12, 6, 0);
     this.label_9 = new QLabel(this.groupBox_2);
     this.label_9.ObjectName = "label_9";
     this.label_9.Text = "Full Name:";
     formLayout_2.SetWidget(0, QFormLayout.ItemRole.LabelRole, this.label_9);
     this.fullNameLineEdit = new QLineEdit(this.groupBox_2);
     this.fullNameLineEdit.ObjectName = "fullNameLineEdit";
     formLayout_2.SetWidget(0, QFormLayout.ItemRole.FieldRole, this.fullNameLineEdit);
     this.label_10 = new QLabel(this.groupBox_2);
     this.label_10.ObjectName = "label_10";
     this.label_10.Text = "Nickname:";
     formLayout_2.SetWidget(1, QFormLayout.ItemRole.LabelRole, this.label_10);
     this.nicknameLineEdit = new QLineEdit(this.groupBox_2);
     this.nicknameLineEdit.ObjectName = "nicknameLineEdit";
     formLayout_2.SetWidget(1, QFormLayout.ItemRole.FieldRole, this.nicknameLineEdit);
     this.label_14 = new QLabel(this.groupBox_2);
     this.label_14.ObjectName = "label_14";
     this.label_14.Text = "Birthday:";
     formLayout_2.SetWidget(2, QFormLayout.ItemRole.LabelRole, this.label_14);
     this.birthdayDateEdit = new QDateEdit(this.groupBox_2);
     this.birthdayDateEdit.ObjectName = "birthdayDateEdit";
     this.birthdayDateEdit.DisplayFormat = "M/d/yyyy";
     this.birthdayDateEdit.CalendarPopup = true;
     formLayout_2.SetWidget(2, QFormLayout.ItemRole.FieldRole, this.birthdayDateEdit);
     this.label_11 = new QLabel(this.groupBox_2);
     this.label_11.ObjectName = "label_11";
     this.label_11.Text = "Website:";
     formLayout_2.SetWidget(3, QFormLayout.ItemRole.LabelRole, this.label_11);
     this.websiteLineEdit = new QLineEdit(this.groupBox_2);
     this.websiteLineEdit.ObjectName = "websiteLineEdit";
     formLayout_2.SetWidget(3, QFormLayout.ItemRole.FieldRole, this.websiteLineEdit);
     verticalLayout_2.AddWidget(this.groupBox_2);
     this.groupBox_5 = new QGroupBox(this.widget);
     this.groupBox_5.ObjectName = "groupBox_5";
     this.groupBox_5.Title = "About Me";
     this.groupBox_5.Flat = false;
     this.groupBox_5.Checkable = false;
     QHBoxLayout horizontalLayout_3;
     horizontalLayout_3 = new QHBoxLayout(this.groupBox_5);
     horizontalLayout_3.SetContentsMargins(6, 12, 6, 6);
     this.bioTextEdit = new QTextEdit(this.groupBox_5);
     this.bioTextEdit.ObjectName = "bioTextEdit";
     horizontalLayout_3.AddWidget(this.bioTextEdit);
     verticalLayout_2.AddWidget(this.groupBox_5);
     horizontalLayout.AddWidget(this.widget);
     this.groupBox_4 = new QGroupBox(this.tab);
     this.groupBox_4.ObjectName = "groupBox_4";
     QSizePolicy groupBox_4_sizePolicy;
     groupBox_4_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred);
     groupBox_4_sizePolicy.SetVerticalStretch(0);
     groupBox_4_sizePolicy.SetHorizontalStretch(0);
     groupBox_4_sizePolicy.SetHeightForWidth(this.groupBox_4.SizePolicy.HasHeightForWidth());
     this.groupBox_4.SizePolicy = groupBox_4_sizePolicy;
     this.groupBox_4.Title = "Contact Information";
     QFormLayout formLayout_3;
     formLayout_3 = new QFormLayout(this.groupBox_4);
     formLayout_3.SetContentsMargins(6, 12, 6, 6);
     this.label_12 = new QLabel(this.groupBox_4);
     this.label_12.ObjectName = "label_12";
     this.label_12.Text = "Email:";
     formLayout_3.SetWidget(0, QFormLayout.ItemRole.LabelRole, this.label_12);
     this.lineEdit_9 = new QLineEdit(this.groupBox_4);
     this.lineEdit_9.ObjectName = "lineEdit_9";
     formLayout_3.SetWidget(0, QFormLayout.ItemRole.FieldRole, this.lineEdit_9);
     this.label_13 = new QLabel(this.groupBox_4);
     this.label_13.ObjectName = "label_13";
     this.label_13.Text = "Phone:";
     formLayout_3.SetWidget(1, QFormLayout.ItemRole.LabelRole, this.label_13);
     this.lineEdit_11 = new QLineEdit(this.groupBox_4);
     this.lineEdit_11.ObjectName = "lineEdit_11";
     formLayout_3.SetWidget(1, QFormLayout.ItemRole.FieldRole, this.lineEdit_11);
     this.label_15 = new QLabel(this.groupBox_4);
     this.label_15.ObjectName = "label_15";
     this.label_15.Text = "Address:";
     formLayout_3.SetWidget(2, QFormLayout.ItemRole.LabelRole, this.label_15);
     this.lineEdit_12 = new QLineEdit(this.groupBox_4);
     this.lineEdit_12.ObjectName = "lineEdit_12";
     formLayout_3.SetWidget(2, QFormLayout.ItemRole.FieldRole, this.lineEdit_12);
     this.label_16 = new QLabel(this.groupBox_4);
     this.label_16.ObjectName = "label_16";
     this.label_16.Text = "City/Town:";
     formLayout_3.SetWidget(3, QFormLayout.ItemRole.LabelRole, this.label_16);
     this.lineEdit_13 = new QLineEdit(this.groupBox_4);
     this.lineEdit_13.ObjectName = "lineEdit_13";
     formLayout_3.SetWidget(3, QFormLayout.ItemRole.FieldRole, this.lineEdit_13);
     this.label_23 = new QLabel(this.groupBox_4);
     this.label_23.ObjectName = "label_23";
     this.label_23.Text = "State:";
     formLayout_3.SetWidget(4, QFormLayout.ItemRole.LabelRole, this.label_23);
     this.lineEdit_21 = new QLineEdit(this.groupBox_4);
     this.lineEdit_21.ObjectName = "lineEdit_21";
     formLayout_3.SetWidget(4, QFormLayout.ItemRole.FieldRole, this.lineEdit_21);
     this.label_17 = new QLabel(this.groupBox_4);
     this.label_17.ObjectName = "label_17";
     this.label_17.Text = "Zip:";
     formLayout_3.SetWidget(5, QFormLayout.ItemRole.LabelRole, this.label_17);
     this.lineEdit_14 = new QLineEdit(this.groupBox_4);
     this.lineEdit_14.ObjectName = "lineEdit_14";
     formLayout_3.SetWidget(5, QFormLayout.ItemRole.FieldRole, this.lineEdit_14);
     this.label_18 = new QLabel(this.groupBox_4);
     this.label_18.ObjectName = "label_18";
     this.label_18.Text = "Country:";
     formLayout_3.SetWidget(6, QFormLayout.ItemRole.LabelRole, this.label_18);
     this.lineEdit_15 = new QLineEdit(this.groupBox_4);
     this.lineEdit_15.ObjectName = "lineEdit_15";
     formLayout_3.SetWidget(6, QFormLayout.ItemRole.FieldRole, this.lineEdit_15);
     horizontalLayout.AddWidget(this.groupBox_4);
     this.mainTabWidget.AddTab(this.tab, "Personal Information");
     this.tab_4 = new QWidget(this.mainTabWidget);
     this.tab_4.ObjectName = "tab_4";
     this.tab_4.Enabled = false;
     QHBoxLayout horizontalLayout_5;
     horizontalLayout_5 = new QHBoxLayout(this.tab_4);
     horizontalLayout_5.Margin = 6;
     this.groupBox_6 = new QGroupBox(this.tab_4);
     this.groupBox_6.ObjectName = "groupBox_6";
     QSizePolicy groupBox_6_sizePolicy;
     groupBox_6_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred);
     groupBox_6_sizePolicy.SetVerticalStretch(0);
     groupBox_6_sizePolicy.SetHorizontalStretch(0);
     groupBox_6_sizePolicy.SetHeightForWidth(this.groupBox_6.SizePolicy.HasHeightForWidth());
     this.groupBox_6.SizePolicy = groupBox_6_sizePolicy;
     this.groupBox_6.Title = "Company Information";
     QFormLayout formLayout_4;
     formLayout_4 = new QFormLayout(this.groupBox_6);
     formLayout_4.SetContentsMargins(6, 12, 6, 0);
     this.label = new QLabel(this.groupBox_6);
     this.label.ObjectName = "label";
     this.label.Text = "Company:";
     formLayout_4.SetWidget(0, QFormLayout.ItemRole.LabelRole, this.label);
     this.workCompanyLineEdit = new QLineEdit(this.groupBox_6);
     this.workCompanyLineEdit.ObjectName = "workCompanyLineEdit";
     formLayout_4.SetWidget(0, QFormLayout.ItemRole.FieldRole, this.workCompanyLineEdit);
     this.label_6 = new QLabel(this.groupBox_6);
     this.label_6.ObjectName = "label_6";
     this.label_6.Text = "Department:";
     formLayout_4.SetWidget(1, QFormLayout.ItemRole.LabelRole, this.label_6);
     this.workDepartmentLineEdit = new QLineEdit(this.groupBox_6);
     this.workDepartmentLineEdit.ObjectName = "workDepartmentLineEdit";
     formLayout_4.SetWidget(1, QFormLayout.ItemRole.FieldRole, this.workDepartmentLineEdit);
     this.label_7 = new QLabel(this.groupBox_6);
     this.label_7.ObjectName = "label_7";
     this.label_7.Text = "Position:";
     formLayout_4.SetWidget(2, QFormLayout.ItemRole.LabelRole, this.label_7);
     this.workPositionLineEdit = new QLineEdit(this.groupBox_6);
     this.workPositionLineEdit.ObjectName = "workPositionLineEdit";
     formLayout_4.SetWidget(2, QFormLayout.ItemRole.FieldRole, this.workPositionLineEdit);
     horizontalLayout_5.AddWidget(this.groupBox_6);
     this.groupBox = new QGroupBox(this.tab_4);
     this.groupBox.ObjectName = "groupBox";
     QSizePolicy groupBox_sizePolicy;
     groupBox_sizePolicy = new QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred);
     groupBox_sizePolicy.SetVerticalStretch(0);
     groupBox_sizePolicy.SetHorizontalStretch(0);
     groupBox_sizePolicy.SetHeightForWidth(this.groupBox.SizePolicy.HasHeightForWidth());
     this.groupBox.SizePolicy = groupBox_sizePolicy;
     this.groupBox.Title = "Contact Information";
     QFormLayout formLayout;
     formLayout = new QFormLayout(this.groupBox);
     formLayout.fieldGrowthPolicy = QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow;
     formLayout.SetContentsMargins(6, 12, 6, 0);
     this.label_8 = new QLabel(this.groupBox);
     this.label_8.ObjectName = "label_8";
     this.label_8.Text = "Email:";
     formLayout.SetWidget(0, QFormLayout.ItemRole.LabelRole, this.label_8);
     this.workEmailLineEdit = new QLineEdit(this.groupBox);
     this.workEmailLineEdit.ObjectName = "workEmailLineEdit";
     formLayout.SetWidget(0, QFormLayout.ItemRole.FieldRole, this.workEmailLineEdit);
     this.label_21 = new QLabel(this.groupBox);
     this.label_21.ObjectName = "label_21";
     this.label_21.Text = "Address:";
     formLayout.SetWidget(2, QFormLayout.ItemRole.LabelRole, this.label_21);
     this.workAddressLineEdit = new QLineEdit(this.groupBox);
     this.workAddressLineEdit.ObjectName = "workAddressLineEdit";
     formLayout.SetWidget(2, QFormLayout.ItemRole.FieldRole, this.workAddressLineEdit);
     this.label_19 = new QLabel(this.groupBox);
     this.label_19.ObjectName = "label_19";
     this.label_19.Text = "City/Town:";
     formLayout.SetWidget(3, QFormLayout.ItemRole.LabelRole, this.label_19);
     this.workCityLineEdit = new QLineEdit(this.groupBox);
     this.workCityLineEdit.ObjectName = "workCityLineEdit";
     formLayout.SetWidget(3, QFormLayout.ItemRole.FieldRole, this.workCityLineEdit);
     this.label_24 = new QLabel(this.groupBox);
     this.label_24.ObjectName = "label_24";
     this.label_24.Text = "State:";
     formLayout.SetWidget(4, QFormLayout.ItemRole.LabelRole, this.label_24);
     this.workStateLineEdit = new QLineEdit(this.groupBox);
     this.workStateLineEdit.ObjectName = "workStateLineEdit";
     formLayout.SetWidget(4, QFormLayout.ItemRole.FieldRole, this.workStateLineEdit);
     this.label_20 = new QLabel(this.groupBox);
     this.label_20.ObjectName = "label_20";
     this.label_20.Text = "Zip:";
     formLayout.SetWidget(5, QFormLayout.ItemRole.LabelRole, this.label_20);
     this.workZipLineEdit = new QLineEdit(this.groupBox);
     this.workZipLineEdit.ObjectName = "workZipLineEdit";
     formLayout.SetWidget(5, QFormLayout.ItemRole.FieldRole, this.workZipLineEdit);
     this.label_22 = new QLabel(this.groupBox);
     this.label_22.ObjectName = "label_22";
     this.label_22.Text = "Country:";
     formLayout.SetWidget(6, QFormLayout.ItemRole.LabelRole, this.label_22);
     this.workCountryLineEdit = new QLineEdit(this.groupBox);
     this.workCountryLineEdit.ObjectName = "workCountryLineEdit";
     formLayout.SetWidget(6, QFormLayout.ItemRole.FieldRole, this.workCountryLineEdit);
     this.label_2 = new QLabel(this.groupBox);
     this.label_2.ObjectName = "label_2";
     this.label_2.Text = "Phone:";
     formLayout.SetWidget(1, QFormLayout.ItemRole.LabelRole, this.label_2);
     this.workPhoneLineEdit = new QLineEdit(this.groupBox);
     this.workPhoneLineEdit.ObjectName = "workPhoneLineEdit";
     formLayout.SetWidget(1, QFormLayout.ItemRole.FieldRole, this.workPhoneLineEdit);
     horizontalLayout_5.AddWidget(this.groupBox);
     this.mainTabWidget.AddTab(this.tab_4, "Work Information");
     this.tab_2 = new QWidget(this.mainTabWidget);
     this.tab_2.ObjectName = "tab_2";
     QHBoxLayout horizontalLayout_2;
     horizontalLayout_2 = new QHBoxLayout(this.tab_2);
     horizontalLayout_2.Margin = 6;
     QVBoxLayout verticalLayout_4;
     verticalLayout_4 = new QVBoxLayout();
     horizontalLayout_2.AddLayout(verticalLayout_4);
     verticalLayout_4.sizeConstraint = QLayout.SizeConstraint.SetMinimumSize;
     this.label_4 = new QLabel(this.tab_2);
     this.label_4.ObjectName = "label_4";
     this.label_4.Text = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\np, li { white-space: pre-wrap; }\n</style></head><body style=\" font-family:'Bitstream Vera Sans'; font-size:9pt; font-weight:400; font-style:normal;\">\n<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Your Avatar:</span></p></body></html>";
     verticalLayout_4.AddWidget(this.label_4);
     this.avatarLabel = new QLabel(this.tab_2);
     this.avatarLabel.ObjectName = "avatarLabel";
     this.avatarLabel.MinimumSize = new QSize(48, 96);
     this.avatarLabel.FrameShape = QFrame.Shape.StyledPanel;
     this.avatarLabel.FrameShadow = QFrame.Shadow.Raised;
     this.avatarLabel.Text = "";
     this.avatarLabel.Alignment = global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignCenter");
     verticalLayout_4.AddWidget(this.avatarLabel);
     this.avatarBrowseButton = new QPushButton(this.tab_2);
     this.avatarBrowseButton.ObjectName = "avatarBrowseButton";
     this.avatarBrowseButton.Text = "Select File...";
     verticalLayout_4.AddWidget(this.avatarBrowseButton);
     this.clearAvatarButton = new QPushButton(this.tab_2);
     this.clearAvatarButton.ObjectName = "clearAvatarButton";
     this.clearAvatarButton.Text = "Clear";
     verticalLayout_4.AddWidget(this.clearAvatarButton);
     QSpacerItem verticalSpacer;
     verticalSpacer = new QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding);
     verticalLayout_4.AddItem(verticalSpacer);
     this.line_2 = new QFrame(this.tab_2);
     this.line_2.ObjectName = "line_2";
     this.line_2.FrameShape = QFrame.Shape.VLine;
     this.line_2.FrameShadow = QFrame.Shadow.Sunken;
     horizontalLayout_2.AddWidget(this.line_2);
     QVBoxLayout verticalLayout_5;
     verticalLayout_5 = new QVBoxLayout();
     horizontalLayout_2.AddLayout(verticalLayout_5);
     QGridLayout gridLayout_2;
     gridLayout_2 = new QGridLayout();
     verticalLayout_5.AddLayout(gridLayout_2);
     this.label_5 = new QLabel(this.tab_2);
     this.label_5.ObjectName = "label_5";
     this.label_5.Text = "Search:";
     this.label_5.SetBuddy(avatarSearchLineEdit);
     gridLayout_2.AddWidget(this.label_5, 0, 0, 1, 1);
     this.avatarSearchLineEdit = new QLineEdit(this.tab_2);
     this.avatarSearchLineEdit.ObjectName = "avatarSearchLineEdit";
     gridLayout_2.AddWidget(this.avatarSearchLineEdit, 0, 1, 1, 1);
     this.avatarSearchButton = new QPushButton(this.tab_2);
     this.avatarSearchButton.ObjectName = "avatarSearchButton";
     this.avatarSearchButton.Text = "Search";
     this.avatarSearchButton.Default = true;
     gridLayout_2.AddWidget(this.avatarSearchButton, 0, 2, 1, 1);
     this.avatarTabWidget = new QTabWidget(this.tab_2);
     this.avatarTabWidget.ObjectName = "avatarTabWidget";
     this.avatarTabWidget.CurrentIndex = -1;
     verticalLayout_5.AddWidget(this.avatarTabWidget);
     this.mainTabWidget.AddTab(this.tab_2, "Avatar");
     this.tab_3 = new QWidget(this.mainTabWidget);
     this.tab_3.ObjectName = "tab_3";
     QVBoxLayout verticalLayout_3;
     verticalLayout_3 = new QVBoxLayout(this.tab_3);
     verticalLayout_3.Margin = 0;
     this.scrollArea = new QScrollArea(this.tab_3);
     this.scrollArea.ObjectName = "scrollArea";
     this.scrollArea.StyleSheet = "background: palette(base);";
     this.scrollArea.FrameShape = QFrame.Shape.NoFrame;
     this.scrollArea.HorizontalScrollBarPolicy = Qt.ScrollBarPolicy.ScrollBarAlwaysOff;
     this.scrollArea.WidgetResizable = true;
     this.scrollArea.Alignment = ((global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft")) | global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop"));
     verticalLayout_3.AddWidget(this.scrollArea);
     this.webIdentitiesContainer = new QWidget(this.scrollArea);
     this.webIdentitiesContainer.ObjectName = "webIdentitiesContainer";
     this.webIdentitiesContainer.Geometry = new QRect(0, 0, 589, 376);
     QVBoxLayout verticalLayout_6;
     verticalLayout_6 = new QVBoxLayout(this.webIdentitiesContainer);
     verticalLayout_6.Margin = 6;
     QSpacerItem verticalSpacer_2;
     verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding);
     verticalLayout_6.AddItem(verticalSpacer_2);
     this.scrollArea.SetWidget(this.webIdentitiesContainer);
     this.mainTabWidget.AddTab(this.tab_3, "Web Identities");
     this.buttonBox = new QDialogButtonBox(this);
     this.buttonBox.ObjectName = "buttonBox";
     this.buttonBox.StandardButtons = (global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok"));
     verticalLayout.AddWidget(this.buttonBox);
     QObject.Connect(buttonBox, Qt.SIGNAL("rejected()"), this, Qt.SLOT("reject()"));
     QObject.Connect(buttonBox, Qt.SIGNAL("accepted()"), this, Qt.SLOT("accept()"));
     QMetaObject.ConnectSlotsByName(this);
 }
Пример #5
0
 protected void SetupUi()
 {
     base.ObjectName = "AvatarSelectDialog";
     this.Geometry = new QRect(0, 0, 542, 361);
     this.WindowTitle = "Select Avatar";
     QVBoxLayout verticalLayout_2;
     verticalLayout_2 = new QVBoxLayout(this);
     QHBoxLayout horizontalLayout;
     horizontalLayout = new QHBoxLayout();
     verticalLayout_2.AddLayout(horizontalLayout);
     QVBoxLayout verticalLayout_3;
     verticalLayout_3 = new QVBoxLayout();
     horizontalLayout.AddLayout(verticalLayout_3);
     verticalLayout_3.sizeConstraint = QLayout.SizeConstraint.SetMinimumSize;
     this.label_2 = new QLabel(this);
     this.label_2.ObjectName = "label_2";
     this.label_2.Text = "Your Avatar:";
     verticalLayout_3.AddWidget(this.label_2);
     this.avatarLabel = new QLabel(this);
     this.avatarLabel.ObjectName = "avatarLabel";
     this.avatarLabel.MinimumSize = new QSize(48, 96);
     this.avatarLabel.FrameShape = QFrame.Shape.StyledPanel;
     this.avatarLabel.FrameShadow = QFrame.Shadow.Raised;
     this.avatarLabel.Text = "";
     this.avatarLabel.Alignment = global::Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignCenter");
     verticalLayout_3.AddWidget(this.avatarLabel);
     this.browseButton = new QPushButton(this);
     this.browseButton.ObjectName = "browseButton";
     this.browseButton.Text = "Select File...";
     verticalLayout_3.AddWidget(this.browseButton);
     this.clearButton = new QPushButton(this);
     this.clearButton.ObjectName = "clearButton";
     this.clearButton.Text = "Clear";
     verticalLayout_3.AddWidget(this.clearButton);
     QSpacerItem verticalSpacer;
     verticalSpacer = new QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding);
     verticalLayout_3.AddItem(verticalSpacer);
     this.line = new QFrame(this);
     this.line.ObjectName = "line";
     this.line.FrameShape = QFrame.Shape.VLine;
     this.line.FrameShadow = QFrame.Shadow.Sunken;
     horizontalLayout.AddWidget(this.line);
     QVBoxLayout verticalLayout;
     verticalLayout = new QVBoxLayout();
     horizontalLayout.AddLayout(verticalLayout);
     QGridLayout gridLayout;
     gridLayout = new QGridLayout();
     verticalLayout.AddLayout(gridLayout);
     this.label_3 = new QLabel(this);
     this.label_3.ObjectName = "label_3";
     this.label_3.Text = "Search:";
     this.label_3.SetBuddy(lineEdit);
     gridLayout.AddWidget(this.label_3, 0, 0, 1, 1);
     this.lineEdit = new QLineEdit(this);
     this.lineEdit.ObjectName = "lineEdit";
     gridLayout.AddWidget(this.lineEdit, 0, 1, 1, 1);
     this.searchButton = new QPushButton(this);
     this.searchButton.ObjectName = "searchButton";
     this.searchButton.Text = "Search";
     this.searchButton.Default = true;
     gridLayout.AddWidget(this.searchButton, 0, 2, 1, 1);
     this.tabWidget = new QTabWidget(this);
     this.tabWidget.ObjectName = "tabWidget";
     this.tabWidget.CurrentIndex = -1;
     verticalLayout.AddWidget(this.tabWidget);
     this.buttonBox = new QDialogButtonBox(this);
     this.buttonBox.ObjectName = "buttonBox";
     this.buttonBox.StandardButtons = global::Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Close");
     verticalLayout_2.AddWidget(this.buttonBox);
     QObject.Connect(buttonBox, Qt.SIGNAL("rejected()"), this, Qt.SLOT("reject()"));
     QMetaObject.ConnectSlotsByName(this);
 }