当前位置: 首页>>代码示例>>C#>>正文


C# QSize.ExpandedTo方法代码示例

本文整理汇总了C#中Qyoto.QSize.ExpandedTo方法的典型用法代码示例。如果您正苦于以下问题:C# QSize.ExpandedTo方法的具体用法?C# QSize.ExpandedTo怎么用?C# QSize.ExpandedTo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Qyoto.QSize的用法示例。


在下文中一共展示了QSize.ExpandedTo方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SetupUi

    public void SetupUi(QDialog NewContactDialog)
    {
    if (NewContactDialog.ObjectName == "")
        NewContactDialog.ObjectName = "NewContactDialog";
    QSize Size = new QSize(360, 150);
    Size = Size.ExpandedTo(NewContactDialog.MinimumSizeHint());
    NewContactDialog.Size = Size;
    NewContactDialog.MinimumSize = new QSize(360, 150);
    NewContactDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    gridLayout = new QGridLayout(NewContactDialog);
    gridLayout.ObjectName = "gridLayout";
    LblTitle = new QLabel(NewContactDialog);
    LblTitle.ObjectName = "LblTitle";
    LblTitle.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignCenter");
    LblTitle.WordWrap = true;

    gridLayout.AddWidget(LblTitle, 0, 0, 1, 2);

    LblDesc = new QLabel(NewContactDialog);
    LblDesc.ObjectName = "LblDesc";

    gridLayout.AddWidget(LblDesc, 2, 0, 1, 1);

    TxtDesc = new QLineEdit(NewContactDialog);
    TxtDesc.ObjectName = "TxtDesc";

    gridLayout.AddWidget(TxtDesc, 2, 1, 1, 1);

    LblNumber = new QLabel(NewContactDialog);
    LblNumber.ObjectName = "LblNumber";

    gridLayout.AddWidget(LblNumber, 3, 0, 1, 1);

    TxtNumber = new QLineEdit(NewContactDialog);
    TxtNumber.ObjectName = "TxtNumber";

    gridLayout.AddWidget(TxtNumber, 3, 1, 1, 1);

    spacerItem = new QSpacerItem(282, 37, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding);

    gridLayout.AddItem(spacerItem, 4, 1, 1, 1);

    Buttons = new QDialogButtonBox(NewContactDialog);
    Buttons.ObjectName = "Buttons";
    Buttons.Orientation = Qt.Orientation.Horizontal;
    Buttons.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");

    gridLayout.AddWidget(Buttons, 5, 0, 1, 2);

    spacerItem1 = new QSpacerItem(20, 8, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed);

    gridLayout.AddItem(spacerItem1, 1, 0, 1, 1);


    RetranslateUi(NewContactDialog);
    QObject.Connect(Buttons, Qt.SIGNAL("accepted()"), NewContactDialog, Qt.SLOT("accept()"));
    QObject.Connect(Buttons, Qt.SIGNAL("rejected()"), NewContactDialog, Qt.SLOT("reject()"));

    QMetaObject.ConnectSlotsByName(NewContactDialog);
    } // SetupUi
开发者ID:cyberthrone,项目名称:monosim,代码行数:60,代码来源:NewContactDialog.cs

示例2: SetupUi

    public void SetupUi(QDialog SelectWriteModeDialog)
    {
    if (SelectWriteModeDialog.ObjectName == "")
        SelectWriteModeDialog.ObjectName = "SelectWriteModeDialog";
    QSize Size = new QSize(443, 125);
    Size = Size.ExpandedTo(SelectWriteModeDialog.MinimumSizeHint());
    SelectWriteModeDialog.Size = Size;
    SelectWriteModeDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    gridLayout = new QGridLayout(SelectWriteModeDialog);
    gridLayout.ObjectName = "gridLayout";
    LblTitle = new QLabel(SelectWriteModeDialog);
    LblTitle.ObjectName = "LblTitle";
    LblTitle.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop");

    gridLayout.AddWidget(LblTitle, 0, 0, 1, 4);

    BtnCancel = new QPushButton(SelectWriteModeDialog);
    BtnCancel.ObjectName = "BtnCancel";

    gridLayout.AddWidget(BtnCancel, 1, 0, 1, 1);

    spacerItem = new QSpacerItem(152, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum);

    gridLayout.AddItem(spacerItem, 1, 1, 1, 1);

    BtnOverride = new QPushButton(SelectWriteModeDialog);
    BtnOverride.ObjectName = "BtnOverride";
    BtnOverride.icon = new QIcon(":/toolbar/resources/qt/draw-eraser.png");

    gridLayout.AddWidget(BtnOverride, 1, 2, 1, 1);

    BtnAppend = new QPushButton(SelectWriteModeDialog);
    BtnAppend.ObjectName = "BtnAppend";
    BtnAppend.icon = new QIcon(":/toolbar/resources/qt/list-add.png");

    gridLayout.AddWidget(BtnAppend, 1, 3, 1, 1);


    RetranslateUi(SelectWriteModeDialog);

    QMetaObject.ConnectSlotsByName(SelectWriteModeDialog);
    } // SetupUi
开发者ID:cyberthrone,项目名称:monosim,代码行数:42,代码来源:SelectWriteModeDialog.cs

示例3: SetupUi

    public void SetupUi(QDialog AboutDialog)
    {
    if (AboutDialog.ObjectName == "")
        AboutDialog.ObjectName = "AboutDialog";
    QSize Size = new QSize(660, 460);
    Size = Size.ExpandedTo(AboutDialog.MinimumSizeHint());
    AboutDialog.Size = Size;
    AboutDialog.MinimumSize = new QSize(660, 460);
    AboutDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    AboutDialog.Modal = true;
    gridLayout = new QGridLayout(AboutDialog);
    gridLayout.ObjectName = "gridLayout";
    vboxLayout = new QVBoxLayout();
    vboxLayout.ObjectName = "vboxLayout";
    FrameTop = new QFrame(AboutDialog);
    FrameTop.ObjectName = "FrameTop";
    FrameTop.MinimumSize = new QSize(0, 64);
    FrameTop.AutoFillBackground = false;
    FrameTop.FrameShape = QFrame.Shape.StyledPanel;
    FrameTop.FrameShadow = QFrame.Shadow.Raised;
    gridLayout1 = new QGridLayout(FrameTop);
    gridLayout1.ObjectName = "gridLayout1";
    Logo = new QWidget(FrameTop);
    Logo.ObjectName = "Logo";
    Logo.MinimumSize = new QSize(48, 48);
    Logo.MaximumSize = new QSize(48, 48);
    Logo.StyleSheet = "background-image: url(:/main/resources/monosim_48.png);";

    gridLayout1.AddWidget(Logo, 0, 0, 1, 1);

    vboxLayout1 = new QVBoxLayout();
    vboxLayout1.ObjectName = "vboxLayout1";
    LblName = new QLabel(FrameTop);
    LblName.ObjectName = "LblName";
    QFont font = new QFont();
    font.SetBold(true);
    font.SetWeight(75);
    LblName.Font = font;
    LblName.Margin = 1;

    vboxLayout1.AddWidget(LblName);

    LblDesc = new QLabel(FrameTop);
    LblDesc.ObjectName = "LblDesc";
    LblDesc.Margin = 1;

    vboxLayout1.AddWidget(LblDesc);


    gridLayout1.AddLayout(vboxLayout1, 0, 1, 1, 1);


    vboxLayout.AddWidget(FrameTop);

    tabInfo = new QTabWidget(AboutDialog);
    tabInfo.ObjectName = "tabInfo";
    tabInfo.AutoFillBackground = false;
    Informations = new QWidget();
    Informations.ObjectName = "Informations";
    gridLayout2 = new QGridLayout(Informations);
    gridLayout2.ObjectName = "gridLayout2";
    TxtInfo = new QTextEdit(Informations);
    TxtInfo.ObjectName = "TxtInfo";
    TxtInfo.lineWrapMode = QTextEdit.LineWrapMode.NoWrap;
    TxtInfo.ReadOnly = true;

    gridLayout2.AddWidget(TxtInfo, 0, 0, 1, 1);

    tabInfo.AddTab(Informations, QApplication.Translate("AboutDialog", "Informazioni su", null, QApplication.Encoding.UnicodeUTF8));
    Components = new QWidget();
    Components.ObjectName = "Components";
    gridLayout3 = new QGridLayout(Components);
    gridLayout3.ObjectName = "gridLayout3";
    TxtThanks = new QTextEdit(Components);
    TxtThanks.ObjectName = "TxtThanks";
    TxtThanks.ReadOnly = true;

    gridLayout3.AddWidget(TxtThanks, 0, 0, 1, 1);

    tabInfo.AddTab(Components, QApplication.Translate("AboutDialog", "Componenti", null, QApplication.Encoding.UnicodeUTF8));

    vboxLayout.AddWidget(tabInfo);

    buttonBox = new QDialogButtonBox(AboutDialog);
    buttonBox.ObjectName = "buttonBox";
    buttonBox.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");

    vboxLayout.AddWidget(buttonBox);


    gridLayout.AddLayout(vboxLayout, 0, 0, 1, 1);


    RetranslateUi(AboutDialog);

    tabInfo.CurrentIndex = 0;


    QMetaObject.ConnectSlotsByName(AboutDialog);
    } // SetupUi
开发者ID:cyberthrone,项目名称:monosim,代码行数:100,代码来源:AboutDialog.cs

示例4: SetupUi

    public void SetupUi(QDialog SettingsDialog)
    {
    if (SettingsDialog.ObjectName == "")
        SettingsDialog.ObjectName = "SettingsDialog";
    QSize Size = new QSize(320, 280);
    Size = Size.ExpandedTo(SettingsDialog.MinimumSizeHint());
    SettingsDialog.Size = Size;
    SettingsDialog.MinimumSize = new QSize(320, 280);
    SettingsDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    SettingsDialog.Modal = true;
    gridLayout = new QGridLayout(SettingsDialog);
    gridLayout.ObjectName = "gridLayout";
    FrameSettings = new QGroupBox(SettingsDialog);
    FrameSettings.ObjectName = "FrameSettings";
    gridLayout1 = new QGridLayout(FrameSettings);
    gridLayout1.ObjectName = "gridLayout1";
    LblPortSpeedReset = new QLabel(FrameSettings);
    LblPortSpeedReset.ObjectName = "LblPortSpeedReset";
    QSizePolicy sizePolicy = new QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred);
    sizePolicy.SetHorizontalStretch(0);
    sizePolicy.SetVerticalStretch(0);
    sizePolicy.SetHeightForWidth(LblPortSpeedReset.SizePolicy.HasHeightForWidth());
    LblPortSpeedReset.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblPortSpeedReset, 0, 0, 1, 1);

    CmbPortSpeedReset = new QComboBox(FrameSettings);
    CmbPortSpeedReset.ObjectName = "CmbPortSpeedReset";

    gridLayout1.AddWidget(CmbPortSpeedReset, 0, 1, 1, 1);

    LblPortSpeed = new QLabel(FrameSettings);
    LblPortSpeed.ObjectName = "LblPortSpeed";
    sizePolicy.SetHeightForWidth(LblPortSpeed.SizePolicy.HasHeightForWidth());
    LblPortSpeed.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblPortSpeed, 1, 0, 1, 1);

    CmbPortSpeed = new QComboBox(FrameSettings);
    CmbPortSpeed.ObjectName = "CmbPortSpeed";

    gridLayout1.AddWidget(CmbPortSpeed, 1, 1, 1, 1);

    LblDataBits = new QLabel(FrameSettings);
    LblDataBits.ObjectName = "LblDataBits";
    sizePolicy.SetHeightForWidth(LblDataBits.SizePolicy.HasHeightForWidth());
    LblDataBits.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblDataBits, 2, 0, 1, 1);

    CmbDataBits = new QComboBox(FrameSettings);
    CmbDataBits.ObjectName = "CmbDataBits";

    gridLayout1.AddWidget(CmbDataBits, 2, 1, 1, 1);

    LblStopBits = new QLabel(FrameSettings);
    LblStopBits.ObjectName = "LblStopBits";
    sizePolicy.SetHeightForWidth(LblStopBits.SizePolicy.HasHeightForWidth());
    LblStopBits.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblStopBits, 3, 0, 1, 1);

    CmbStopBits = new QComboBox(FrameSettings);
    CmbStopBits.ObjectName = "CmbStopBits";

    gridLayout1.AddWidget(CmbStopBits, 3, 1, 1, 1);

    LblParity = new QLabel(FrameSettings);
    LblParity.ObjectName = "LblParity";
    sizePolicy.SetHeightForWidth(LblParity.SizePolicy.HasHeightForWidth());
    LblParity.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblParity, 4, 0, 1, 1);

    CmbParity = new QComboBox(FrameSettings);
    CmbParity.ObjectName = "CmbParity";

    gridLayout1.AddWidget(CmbParity, 4, 1, 1, 1);

    LblConvention = new QLabel(FrameSettings);
    LblConvention.ObjectName = "LblConvention";
    sizePolicy.SetHeightForWidth(LblConvention.SizePolicy.HasHeightForWidth());
    LblConvention.SizePolicy = sizePolicy;

    gridLayout1.AddWidget(LblConvention, 5, 0, 1, 1);

    CmbConvention = new QComboBox(FrameSettings);
    CmbConvention.ObjectName = "CmbConvention";

    gridLayout1.AddWidget(CmbConvention, 5, 1, 1, 1);


    gridLayout.AddWidget(FrameSettings, 1, 0, 1, 1);

    Buttons = new QDialogButtonBox(SettingsDialog);
    Buttons.ObjectName = "Buttons";
    Buttons.Orientation = Qt.Orientation.Horizontal;
    Buttons.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");

    gridLayout.AddWidget(Buttons, 2, 0, 1, 1);
//.........这里部分代码省略.........
开发者ID:cyberthrone,项目名称:monosim,代码行数:101,代码来源:SettingsDialog.cs

示例5: SetupUi

    public void SetupUi(QDialog ChangePinStatusDialog)
    {
    if (ChangePinStatusDialog.ObjectName == "")
        ChangePinStatusDialog.ObjectName = "ChangePinStatusDialog";
    QSize Size = new QSize(357, 159);
    Size = Size.ExpandedTo(ChangePinStatusDialog.MinimumSizeHint());
    ChangePinStatusDialog.Size = Size;
    ChangePinStatusDialog.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    gridLayout = new QGridLayout(ChangePinStatusDialog);
    gridLayout.ObjectName = "gridLayout";
    LblTitle = new QLabel(ChangePinStatusDialog);
    LblTitle.ObjectName = "LblTitle";
    LblTitle.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignCenter");
    LblTitle.WordWrap = true;

    gridLayout.AddWidget(LblTitle, 0, 0, 1, 2);

    LblPin1 = new QLabel(ChangePinStatusDialog);
    LblPin1.ObjectName = "LblPin1";

    gridLayout.AddWidget(LblPin1, 2, 0, 1, 1);

    TxtPin1 = new QLineEdit(ChangePinStatusDialog);
    TxtPin1.ObjectName = "TxtPin1";
    TxtPin1.MaxLength = 4;
    TxtPin1.echoMode = QLineEdit.EchoMode.Password;

    gridLayout.AddWidget(TxtPin1, 2, 1, 1, 1);

    LblPin1check = new QLabel(ChangePinStatusDialog);
    LblPin1check.ObjectName = "LblPin1check";

    gridLayout.AddWidget(LblPin1check, 3, 0, 1, 1);

    TxtPin1check = new QLineEdit(ChangePinStatusDialog);
    TxtPin1check.ObjectName = "TxtPin1check";
    TxtPin1check.MaxLength = 4;
    TxtPin1check.echoMode = QLineEdit.EchoMode.Password;

    gridLayout.AddWidget(TxtPin1check, 3, 1, 1, 1);

    spacerItem = new QSpacerItem(282, 37, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding);

    gridLayout.AddItem(spacerItem, 4, 1, 1, 1);

    Buttons = new QDialogButtonBox(ChangePinStatusDialog);
    Buttons.ObjectName = "Buttons";
    Buttons.Orientation = Qt.Orientation.Horizontal;
    Buttons.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");

    gridLayout.AddWidget(Buttons, 5, 0, 1, 2);

    spacerItem1 = new QSpacerItem(20, 8, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed);

    gridLayout.AddItem(spacerItem1, 1, 0, 1, 1);


    RetranslateUi(ChangePinStatusDialog);
    QObject.Connect(Buttons, Qt.SIGNAL("accepted()"), ChangePinStatusDialog, Qt.SLOT("accept()"));
    QObject.Connect(Buttons, Qt.SIGNAL("rejected()"), ChangePinStatusDialog, Qt.SLOT("reject()"));

    QMetaObject.ConnectSlotsByName(ChangePinStatusDialog);
    } // SetupUi
开发者ID:cyberthrone,项目名称:monosim,代码行数:63,代码来源:ChangePinStatusDialog.cs

示例6: SetupUi

    public void SetupUi(QMainWindow MainWindow)
    {
    if (MainWindow.ObjectName == "")
        MainWindow.ObjectName = "MainWindow";
    QSize Size = new QSize(631, 570);
    Size = Size.ExpandedTo(MainWindow.MinimumSizeHint());
    MainWindow.Size = Size;
    MainWindow.MinimumSize = new QSize(600, 450);
    MainWindow.WindowIcon = new QIcon(":/main/resources/monosim_128.png");
    MenuFileNew = new QAction(MainWindow);
    MenuFileNew.ObjectName = "MenuFileNew";
    MenuFileNew.icon = new QIcon(":/toolbar/resources/qt/document-new.png");
    MenuFileOpen = new QAction(MainWindow);
    MenuFileOpen.ObjectName = "MenuFileOpen";
    MenuFileOpen.icon = new QIcon(":/toolbar/resources/qt/document-open.png");
    MenuFileSaveFile = new QAction(MainWindow);
    MenuFileSaveFile.ObjectName = "MenuFileSaveFile";
    MenuFileSaveFile.Enabled = false;
    MenuFileSaveFile.icon = new QIcon(":/toolbar/resources/qt/document-save.png");
    MenuFileSaveSim = new QAction(MainWindow);
    MenuFileSaveSim.ObjectName = "MenuFileSaveSim";
    MenuFileSaveSim.Enabled = false;
    MenuFileSaveSim.icon = new QIcon(":/main/resources/chip_32.png");
    MenuFileClose = new QAction(MainWindow);
    MenuFileClose.ObjectName = "MenuFileClose";
    MenuFileClose.Enabled = false;
    MenuFileClose.icon = new QIcon(":/toolbar/resources/qt/document-close.png");
    MenuFileSettings = new QAction(MainWindow);
    MenuFileSettings.ObjectName = "MenuFileSettings";
    MenuFileSettings.icon = new QIcon(":/toolbar/resources/qt/configure.png");
    MenuFileExit = new QAction(MainWindow);
    MenuFileExit.ObjectName = "MenuFileExit";
    MenuFileExit.icon = new QIcon(":/toolbar/resources/qt/application-exit.png");
    MenuSimConnect = new QAction(MainWindow);
    MenuSimConnect.ObjectName = "MenuSimConnect";
    MenuSimConnect.icon = new QIcon(":/toolbar/resources/qt/network-connect.png");
    MenuSimPin = new QAction(MainWindow);
    MenuSimPin.ObjectName = "MenuSimPin";
    MenuSimPin.Enabled = false;
    MenuSimPin.icon = new QIcon(":/toolbar/resources/qt/document-encrypt.png");
    MenuSimSaveFile = new QAction(MainWindow);
    MenuSimSaveFile.ObjectName = "MenuSimSaveFile";
    MenuSimSaveFile.Enabled = false;
    MenuSimSaveFile.icon = new QIcon(":/toolbar/resources/qt/document-save.png");
    MenuSimSaveSim = new QAction(MainWindow);
    MenuSimSaveSim.ObjectName = "MenuSimSaveSim";
    MenuSimSaveSim.Enabled = false;
    MenuSimSaveSim.icon = new QIcon(":/main/resources/chip_32.png");
    MenuSimDeleteAll = new QAction(MainWindow);
    MenuSimDeleteAll.ObjectName = "MenuSimDeleteAll";
    MenuSimDeleteAll.Enabled = false;
    MenuSimDeleteAll.icon = new QIcon(":/toolbar/resources/qt/edit-delete.png");
    MenuSimDisconnect = new QAction(MainWindow);
    MenuSimDisconnect.ObjectName = "MenuSimDisconnect";
    MenuSimDisconnect.Enabled = false;
    MenuSimDisconnect.icon = new QIcon(":/toolbar/resources/qt/network-disconnect.png");
    MenuAboutInfo = new QAction(MainWindow);
    MenuAboutInfo.ObjectName = "MenuAboutInfo";
    MenuAboutInfo.icon = new QIcon(":/toolbar/resources/qt/dialog-information.png");
    centralwidget = new QWidget(MainWindow);
    centralwidget.ObjectName = "centralwidget";
    gridLayout = new QGridLayout(centralwidget);
    gridLayout.ObjectName = "gridLayout";
    splitter = new QSplitter(centralwidget);
    splitter.ObjectName = "splitter";
    splitter.Orientation = Qt.Orientation.Vertical;
    splitter.ChildrenCollapsible = false;
    FrameFile = new QGroupBox(splitter);
    FrameFile.ObjectName = "FrameFile";
    FrameFile.MinimumSize = new QSize(0, 100);
    gridLayout1 = new QGridLayout(FrameFile);
    gridLayout1.ObjectName = "gridLayout1";
    LstFileContacts = new QTreeWidget(FrameFile);
    LstFileContacts.ObjectName = "LstFileContacts";
    LstFileContacts.Enabled = false;
    LstFileContacts.EditTriggers = Qyoto.Qyoto.GetCPPEnumValue("QAbstractItemView", "NoEditTriggers");
    LstFileContacts.selectionMode = QAbstractItemView.SelectionMode.ExtendedSelection;
    LstFileContacts.ItemsExpandable = false;
    LstFileContacts.ExpandsOnDoubleClick = false;

    gridLayout1.AddWidget(LstFileContacts, 0, 0, 1, 1);

    splitter.AddWidget(FrameFile);
    FrameSim = new QGroupBox(splitter);
    FrameSim.ObjectName = "FrameSim";
    FrameSim.MinimumSize = new QSize(0, 100);
    gridLayout2 = new QGridLayout(FrameSim);
    gridLayout2.ObjectName = "gridLayout2";
    LstSimContacts = new QTreeWidget(FrameSim);
    LstSimContacts.ObjectName = "LstSimContacts";
    LstSimContacts.Enabled = false;
    LstSimContacts.EditTriggers = Qyoto.Qyoto.GetCPPEnumValue("QAbstractItemView", "NoEditTriggers");
    LstSimContacts.selectionMode = QAbstractItemView.SelectionMode.ExtendedSelection;
    LstSimContacts.ItemsExpandable = false;
    LstSimContacts.ExpandsOnDoubleClick = false;

    gridLayout2.AddWidget(LstSimContacts, 0, 0, 1, 1);

    splitter.AddWidget(FrameSim);

//.........这里部分代码省略.........
开发者ID:cyberthrone,项目名称:monosim,代码行数:101,代码来源:MainWindow.cs


注:本文中的Qyoto.QSize.ExpandedTo方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。