⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testgroupbox2.java

📁 A translator that converts Qt Designer UI files into SWT java classes. Use the power of Qt Designer
💻 JAVA
字号:
//
// This file was generated by the ui2swt tool (http://ui2swt.sourceforge.net/)
//
// Date:
//   Sun Jun 17 17:26:14 EST 2007
//
// Source:
//   file:/C:/Documents and Settings/James and Louisa/My Documents/Development/workspace/ui2swt/src/test/ui/TestGroupBox2.ui
//

package ui2swt.test;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;

public class TestGroupBox2 extends Composite
{
    public Group GroupBox1;
    public Label TextLabel4;
    public Group GroupBox2;
    public Label TextLabel5;

    public TestGroupBox2( Composite iParent, int iStyle )
    {
        super(iParent, iStyle);
        this.setSize(355,87);
        GridLayout l_gridLayout;
        l_gridLayout = new GridLayout();
        this.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 2;
        l_gridLayout.marginLeft = 11;
        l_gridLayout.marginTop = 11;
        l_gridLayout.marginRight = 11;
        l_gridLayout.marginBottom = 11;
        l_gridLayout.horizontalSpacing = 6;
        l_gridLayout.verticalSpacing = 6;
        this.GroupBox1 = new Group(this,SWT.NONE);
        this.GroupBox1.setText("Normal");
        l_gridLayout = new GridLayout();
        this.GroupBox1.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 1;
        l_gridLayout.marginLeft = 11;
        l_gridLayout.marginTop = 11;
        l_gridLayout.marginRight = 11;
        l_gridLayout.marginBottom = 11;
        l_gridLayout.horizontalSpacing = 6;
        l_gridLayout.verticalSpacing = 6;
        this.TextLabel4 = new Label(this.GroupBox1,SWT.NONE);
        this.TextLabel4.setText("The quick brown...");
        GridData l_gridData;
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.TextLabel4.setLayoutData(l_gridData);
        this.GroupBox2 = new Group(this,SWT.NONE);
        this.GroupBox2.setText("Font");
        this.GroupBox2.setFont(new Font(this.GroupBox2.getDisplay(),"TextFont8",16,SWT.BOLD|SWT.ITALIC));
        l_gridLayout = new GridLayout();
        this.GroupBox2.setLayout(l_gridLayout);
        l_gridLayout.numColumns = 1;
        l_gridLayout.marginLeft = 11;
        l_gridLayout.marginTop = 11;
        l_gridLayout.marginRight = 11;
        l_gridLayout.marginBottom = 11;
        l_gridLayout.horizontalSpacing = 6;
        l_gridLayout.verticalSpacing = 6;
        this.TextLabel5 = new Label(this.GroupBox2,SWT.NONE);
        this.TextLabel5.setFont(new Font(this.TextLabel5.getDisplay(),"TextFont8",16,SWT.BOLD|SWT.ITALIC));
        this.TextLabel5.setText("The quick brown...");
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.CENTER;
        l_gridData.grabExcessVerticalSpace = true;
        this.TextLabel5.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.FILL;
        l_gridData.grabExcessVerticalSpace = true;
        this.GroupBox1.setLayoutData(l_gridData);
        l_gridData = new GridData();
        l_gridData.horizontalAlignment = GridData.FILL;
        l_gridData.grabExcessHorizontalSpace = true;
        l_gridData.verticalAlignment = GridData.FILL;
        l_gridData.grabExcessVerticalSpace = true;
        this.GroupBox2.setLayoutData(l_gridData);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -