Examples of QMatrix


Examples of com.trolltech.qt.gui.QMatrix

  }
  public void rotateImageRight() {
    QWebSettings.setMaximumPagesInCache(0);
    QWebSettings.setObjectCacheCapacities(0, 0, 0);
    QImage image = new QImage(selectedFile);
    QMatrix matrix = new QMatrix();
    matrix.rotate( 90.0 );
    image = image.transformed(matrix);
    image.save(selectedFile);
    QWebSettings.setMaximumPagesInCache(0);
    QWebSettings.setObjectCacheCapacities(0, 0, 0);
    browser.setHtml(browser.page().mainFrame().toHtml());
View Full Code Here

Examples of com.trolltech.qt.gui.QMatrix

    resourceSignal.contentChanged.emit(selectedFile);

  }
  public void rotateImageLeft() {
    QImage image = new QImage(selectedFile);
    QMatrix matrix = new QMatrix();
    matrix.rotate( -90.0 );
    image = image.transformed(matrix);
    image.save(selectedFile);
    browser.setHtml(browser.page().mainFrame().toHtml());
    browser.reload();
    contentChanged();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.