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

    new Scribble().show();

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

    ConfigDialog dialog = new ConfigDialog(null);
    dialog.show();

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

    HttpServerExample example = new HttpServerExample(null);
    example.show();

    QApplication.execStatic();
    QApplication.shutdown();
  }
示例#4
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();
  }
示例#6
0
  public static void main(String args[]) {
    QApplication.initialize(args);

    QApplication.setWindowIcon(new QIcon(QPixmap.fromImage(qoffeyLogo(64))));

    // QPixmap pm = QPixmap.fromImage(qoffeyLogo(400));

    Image im = new Image();
    im.show();

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