Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. images
    Log in to post

    • SOLVED Corrupt JPEG data error
      General and Desktop • cmake qcamera images qt 5.9.5 capture • • BartoszPaj  

      9
      0
      Votes
      9
      Posts
      2195
      Views

      2nd UPDATE: Problem was by natural source. The light reflects from window into camera. 2nd problem was using file as buffer. I solved it by using grab image from QCameraViewFinder widget and send by memory.
    • SOLVED Qt Resource images not showing while executing
      General and Desktop • plugin rcc images • • sayan275  

      3
      0
      Votes
      3
      Posts
      536
      Views

      @SGaist Thanks for the suggestion. Sorry for the very delayed reply. I tried few options as in the mentioned link. Adding the qrc path in the application's pro file worked. Thank you!!
    • SOLVED Resize image to fit in graphics view
      General and Desktop • qtcreator qt5.5 image images listwidget • • Kinesis  

      9
      0
      Votes
      9
      Posts
      6871
      Views

      @Devopia53 It works! , Thanks.
    • SOLVED Click a directory in listWidget and display images on another listWidget
      General and Desktop • signal & slot qt5.5.0 listwidget images • • Kinesis  

      6
      0
      Votes
      6
      Posts
      1937
      Views

      I got the answer. QDir directory = QFileDialog::getExistingDirectory(this, tr("Open Directory"),"/home", QFileDialog::ShowDirsOnly| QFileDialog::DontResolveSymlinks); auto listWidget_images = new QListWidget();//set listwidget to display images listWidget_images->setMinimumSize(1200,400); listWidget_images->setViewMode(QListWidget::IconMode); listWidget_images->setIconSize(QSize(320,240)); listWidget_images->setResizeMode(QListWidget::Adjust); for(const QFileInfo & finfo: directory.entryInfoList()){ ui->listWidget_dirs->addItem(finfo.absoluteFilePath()); } connect(ui->listWidget_dirs, & QListWidget::itemClicked,[listWidget_images,this](QListWidgetItem *item) { listWidget_images->show(); listWidget_images->clear(); QDir directory(item->text()); directory.setNameFilters({"*.png", "*.jpg"}); for(const QFileInfo & finfo: directory.entryInfoList()){ QListWidgetItem *item = new QListWidgetItem(QIcon(finfo.absoluteFilePath()), finfo.fileName()); listWidget_images->addItem(item); } });
    • UNSOLVED How to add many images into label
      General and Desktop • images • • Bochen  

      5
      0
      Votes
      5
      Posts
      1151
      Views

      @SGaist Thank you! Right now I am just looking around yet... I will read the introduction and I will be back for sure :)
    • UNSOLVED Adding qml images to qrc slow down building process
      General and Desktop • qml ubuntu 14.04 building images • • AlvaroGuzman  

      4
      0
      Votes
      4
      Posts
      1426
      Views

      Yes they do. The files you put in a qrc file are compiled in your project. Each file is translated to a text version so currently you are building a file that weights more than 12MB.
    • SOLVED Image and text in Table View
      General and Desktop • tableview images • • gabor53  

      11
      0
      Votes
      11
      Posts
      4468
      Views

      Thank you all. It finally worked.
    • UNSOLVED Serializing Tons of Images
      QML and Qt Quick • qml qtquick qimage images loading images • • Anas A. Ismail  

      1
      0
      Votes
      1
      Posts
      604
      Views

      No one has replied