示例#1
0
  public static void main(String args[]) {
    QApplication.initialize(args);

    GlassPane pane = new GlassPane();
    pane.show();

    QApplication.execStatic();
    QApplication.shutdown();
  }
  public static void main(String args[]) {
    QApplication.initialize(args);

    OpenGLInGraphicsView widget1 = new OpenGLInGraphicsView(true);
    widget1.show();

    OpenGLInGraphicsView widget2 = new OpenGLInGraphicsView(false);
    widget2.show();

    QApplication.execStatic();
    QApplication.shutdown();
  }