Navigation

    Qt Forum

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

    • UNSOLVED Cross platform Qt program GUI library plug-in
      Announcements • plugin gui style • • leafmaple  

      1
      0
      Votes
      1
      Posts
      148
      Views

      No one has replied

    • UNSOLVED QChart legend not included when saving as pdf or png
      General and Desktop • gui qchart qchartview png qlegend • • scotth  

      1
      0
      Votes
      1
      Posts
      60
      Views

      No one has replied

    • SOLVED Live camera image using OpenCV showing in Qlabel crashes due to out of memory error
      General and Desktop • gui qimage opencv c++ qt qpixmap • • Imran Hassan  

      9
      1
      Votes
      9
      Posts
      194
      Views

      Thank you all guys. Your suggestions and expert opinion helped a lot with solving the problem. QT forum is always so helpful. After trying many things here is the conclusion and code is now working perfectly fine I removed the tic toc part time(&start); timer = double(getTickCount()); tic(); It was working but crashing then just to make sure that QImage is not NULL I removed the img = QImage(); // releasing memory with if(!img.isNull()) img = QImage(); Its working perfectly fine now.
    • SOLVED How do I acces UI components inside a function which I called with a slot function?
      General and Desktop • qt5 gui slots ui object design editor • • Robin_Khn  

      7
      0
      Votes
      7
      Posts
      62
      Views

      @Robin_Khn Ok super. So its just qmake/moc that is a little slow sometimes. So when you add something to the UI from and go back to the code, you can press ctrl+shift+b (build file) it knows the new Widget right away.
    • SOLVED Hide/Show Qt Widgets depending on radio buttons: The original window size is not retained after reselection.
      General and Desktop • qwidget gui • • TUStudi  

      10
      0
      Votes
      10
      Posts
      101
      Views

      @mrjj That worked, thank you very much.
    • UNSOLVED Global menu functionality
      General and Desktop • linux gui widgets global-menu • • Parsa Mousavi  

      6
      0
      Votes
      6
      Posts
      342
      Views

      @SGaist It's not enabled by default but it's available as a widget that you can place on the panel. Please tell me if I'm wrong here: Each application is given an area in the framebuffer to do its drawings and WM place additional window borders , shadows , effects and some handles to control windows. But I wonder how can WM separate toolbars from the window ? Are toolbars placed on some queue or special buffer which is visible to WM and DE(to use with the global menu widget)?
    • UNSOLVED Hiring C++/Qt GUI developer to work on Qt based desktop software internationalization
      Jobs • qml c++ gui desktop globalization • • Xiaoli  

      4
      0
      Votes
      4
      Posts
      639
      Views

      https://www.linkedin.com/in/sujan-d-6a980151/ This is my Linked In profile. Let me know if visa sponsor is available with you ? I am interested but I am Indian, if you sponsor me work visa, I will be able to move.
    • SOLVED How to fix installer file while installing
      General and Desktop • error gui permissions qt5.13.0 .run installation pe • • hfinger  

      7
      0
      Votes
      7
      Posts
      176
      Views

      @hfinger said in How to fix installer file while installing: @sierdzio Do you mean something like /home/.qt5/? (This is Ubuntu.) Or something like /home/myhome/.qt5/? Note sure what you mean by local directory. I am a newbie. I usually install to /home/username/qt.
    • SOLVED How to fetch coordinates of a Widget in QDockWidget?
      General and Desktop • qt5 gui c++ qt user interface • • rohit1729  

      5
      0
      Votes
      5
      Posts
      196
      Views

      @rohit1729 You should read this first: https://doc.qt.io/qt-5/signalsandslots.html void panelB::mouseMoveEvent(QMouseEvent *eventMove) { QString txt; txt = QString("(X:%1,Y:%2)").arg(eventMove->pos().x()).arg(eventMove->pos().y()); emit coordinatesChanged(eventMove->pos().x(), eventMove->pos().y()); //qDebug() << txt; } coordinatesChanged would be the signal.
    • UNSOLVED Looking for Qt/PySide developer for long term project
      Jobs • python gui jobs • • Robbie  

      4
      0
      Votes
      4
      Posts
      652
      Views

      This is my experience with "Ravi, Robbie" and whoever is running things at goslicd. I interviewed over a skype call and in my oppinion it went very smoothly and it was a good interview. He knows I'm at least qualified if not over qualified for this job. He said over skype that he would send me the coder agreement that I could read over and then get back to him on it. He never sent the agreement. It's been 2-3 days. It was supposed to be sent right after the skype call. No email from him. I sent an email asking about it. No response was returned. I said I was open about how much I would get paid per milestone. That would be an employer's wet dream, right? There is no hourly wage, it's jut pay-by-milestone + equity (so they say). Another horror story from the dishonest, fake, unfair job market. This post has no business in the Qt forums, with such disrespect shown from the hiring party. Well, they do have about a 20% chance of success as 80% of startups fail. Good luck to them! I could have finished all of the project milestones in less than half the timeline stated. Their loss. Thinking of applying? Don't waste your time.
    • UNSOLVED GUI freezing issue
      Mobile and Embedded • qthread gui opencv c++ qt serial interfac • • dev_512  

      3
      0
      Votes
      3
      Posts
      266
      Views

      @Gojir4 thanks, I am trying that right now. I’ve added a 1s delay in my image grabbing thread. Let’s see. Fingers crossed!
    • SOLVED OpenCV VideoCapture Failure from QThread
      General and Desktop • qthread gui opencv crash videocapture • • rtavakko  

      22
      0
      Votes
      22
      Posts
      2544
      Views

      @JKSH This is how I emit the OpenCV mat data: emit processedImage(2, videoFrameOut.ptr(0,0),videoFrameOut.cols, videoFrameOut.rows, videoFrameOut.step); The first parameter is just used to determine which display should draw the image and the rest are dimensions and stride which I think are ok. @SGaist You are correct, I changed the line below to make a copy: displayImage = QImage(imageData, width, height, step, QImage::Format_RGBA8888).copy(0,0,width,height); I think this fixed the issue. I got a couple of crashes in 'memcpy' but that was when loading files a little too quickly. I think most likey resizing the data quickly was the issue. I will do more testing this week and post the results. UPDATE: I did a lot more testing and making a local copy fixed the issue. The issue was that I was modifying the array before it was fully copied and this caused crashes when the array was downsized. I will need to revise the overall structure to make sure everything is done sequentially. Thanks!
    • UNSOLVED Looking for Qt/ QML GUI developers to work on **FREELANCE** contracts **ONSITE** around Europe
      Jobs • qt5 gui embedded qml c++ engine freelance • • Eoin  

      4
      0
      Votes
      4
      Posts
      800
      Views

      @Eoin what about work visa, will you take care of it.?
    • SOLVED QGuiApplication GUI Begins to Lag on Raspberry Pi 3 When No Input Events
      Mobile and Embedded • gui raspberry pi • • John_Snow  

      5
      0
      Votes
      5
      Posts
      458
      Views

      I've managed to figure out the issue. It turns out that I needed to disable power management signalling (dpms). I added the following lines to my /home/pi/.config/lxsession/LXDE-pi/autostart file - @xset s off @xset -dpms @xset s noblank The GUI now remains fully responsive even after a full day of running. Thank you for your time @SGaist
    • SOLVED Responsive QtMainWindow on Startup.
      Mobile and Embedded • gui raspberry pi 3 sensor readings qt qmainwindow • • Andrex_Qt  

      7
      0
      Votes
      7
      Posts
      383
      Views

      @Andrex_Qt said in Responsive QtMainWindow on Startup.: i access them through C Api Could it be possible you share a link to such API for the benefit of other users just in case?
    • SOLVED The true meaning of the warning for QProcess::waitForFinished
      General and Desktop • gui qprocess freeze waitforfinished document • • Shinichiro  

      10
      0
      Votes
      10
      Posts
      1203
      Views

      Hi, Thank you for your reply. I totally changed my implementation using the signal and slots. Thank you so much again.
    • UNSOLVED Draw a Ruler using QtOpenGL
      General and Desktop • opengl gui • • HW-Developer  

      3
      0
      Votes
      3
      Posts
      691
      Views

      @kenchan I want to draw it on QOpenGLWidget and i want to relate it to an audio file so i can position it wherever i want
    • UNSOLVED Draw a line with opengl using xml file
      General and Desktop • opengl gui xml qtopengl • • HW-Developer  

      2
      0
      Votes
      2
      Posts
      359
      Views

      @HW-Developer Start here http://doc.qt.io/qt-5/qtxml-index.html
    • UNSOLVED Qt/C++ developper - GUI for planetarium - FRANCE
      Jobs • qml c++ qt5.5 gui • • bcabut  

      1
      0
      Votes
      1
      Posts
      696
      Views

      No one has replied

    • UNSOLVED Multi-thread GUI execution
      General and Desktop • gui thread multithreads executable • • sebs  

      7
      0
      Votes
      7
      Posts
      1020
      Views

      @sebs What I don't understand: you want an application with 3 threads, right? But why do you create new process?
    • UNSOLVED How to display image that I already edit with "cv::Line" in Gui?
      General and Desktop • gui opencv draw line • • Mawarditaman  

      2
      0
      Votes
      2
      Posts
      394
      Views

      Hi and welcome to devnet, Can you show the code you are using ? What exactly do you expect ? What exactly do you get ?
    • SOLVED Visual Studio C++ basic project cannot open source file "ui_DialogGui.h
      General and Desktop • gui compiler error visual studio c • • Tamis2018  

      6
      0
      Votes
      6
      Posts
      18384
      Views

      Everything is correct. I have reinstalled and these three buttons are done by as you already stated. Thanks! It was two reasons. THANKS!!!
    • SOLVED Mouse click for latest Qt and VC++ problem....
      Game Development • gui visual c++ mouse events • • Tamis2018  

      10
      0
      Votes
      10
      Posts
      1699
      Views

      @JKSH Yes, I had to reinstalled QT on Visual C++. Works OK... THANKS!!!
    • SOLVED Change a QJsonObject into an integer
      General and Desktop • gui json change qjsonobject integers • • hoonara  

      10
      0
      Votes
      10
      Posts
      2536
      Views

      @Christian-Ehrlicher ahh, you are right. Good catch. http://doc.qt.io/qt-5/qjsonvalue.html#toDouble converts the QJsonValue to double if its that type(). in this case it will return defaultValue (0) so its something like QJsonValue bid1 = jsonObj.value("bid_1"); QString asStr=bid1.toString(); double n = asStr.toDouble(); qDebug() << n;
    • UNSOLVED Redirect console output to GUI
      General and Desktop • gui embedded console terminal • • Anime4000  

      2
      0
      Votes
      2
      Posts
      2361
      Views

      Hi and welcome to devnet, There's no ready made "console widget", you can use QPlainTextEdit or depending on the amount of data a QListView with a custom QStyledItemDelegate for fancy rendering. For getting the output of your cli application, you can use QProcess.
    • UNSOLVED Changing the scrollbar's icons
      General and Desktop • qwidget gui qscrollbar • • SolaVitae  

      2
      0
      Votes
      2
      Posts
      1332
      Views

      Hi You did read ? http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
    • UNSOLVED Graphics in gui(creator)
      General and Desktop • gui graphics speedometer • • GhostWolf  

      8
      0
      Votes
      8
      Posts
      1438
      Views

      @GhostWolf Sounds like it crash. Does the samples also crash ?
    • UNSOLVED Data passing
      General and Desktop • gui buttons dataflow • • jklms  

      8
      0
      Votes
      8
      Posts
      1730
      Views

      @jsulm Oh. I haven't considered that. I'm definitely going to try that. I don't know why it didn't came to my mind. Thank you very much. I really appreciate your advice. I have been stuck at this problem for a week. I am glad there are people who are willing to help beginners.
    • SOLVED Slot called multiple times to a blocking function in the same thread
      General and Desktop • gui threading signals&slots • • moffa13  

      13
      0
      Votes
      13
      Posts
      4393
      Views

      @moffa13 said in Slot called multiple times to a blocking function in the same thread: One question : Is it bad to lock and unlock a mutex multiple times ? No, that's exactly what they are deigned for
    • UNSOLVED QtQuick vs Widget dynamic opengl visualisation
      General and Desktop • opengl gui • • BePie  

      4
      0
      Votes
      4
      Posts
      874
      Views

      Hi, sadly, I do not now. It looks like it can be a pain to integrate OpenGL with qtquick2, but it is possible. Widget-base approach is much more straightforward, but you loose "qtquickness" :P Sorry for the delay, I had a long brake from work.
    • UNSOLVED Squish for Qt – Support for Automated GUI Testing of Applications Based on Newly Released Qt 5.8
      Announcements • gui squish cute 5.8 tester • • 3lias38  

      1
      0
      Votes
      1
      Posts
      469
      Views

      No one has replied

    • SOLVED QCheckBox not displaying checked state
      General and Desktop • qt 5.7 gui qcheckbox signals&slots • • CybeX  

      4
      0
      Votes
      4
      Posts
      3387
      Views

      Here is a possible solution for solving this "missing check/mark" issue. I implemented the CSS "indicator" solution I got from this qt form post which is problematic. Sources of solution: Doc page: here Implementation: here QPalette p = ui->checkBox->palette(); p.setColor(QPalette::Active, QPalette::Base, QColor(255, 255, 255)); p.setColor(QPalette::Button, QColor(255, 255, 255)); ui->checkBox->setAutoFillBackground(true); ui->checkBox->setPalette(p); QColor(255, 255, 255) refers to your desired background color, possibly the same color as your window background, etc. QPallete::Active, QPalette::base refers to the active checkbox's background (the white box background) QPalette::Button refers to the "actual background" (behind the checkbox and the checkbox text) Hope this helps!
    • Using QInputDialog with a checkbox
      General and Desktop • c++ gui qinputdialog • • Onikouzou  

      3
      0
      Votes
      3
      Posts
      2494
      Views

      @Onikouzou What is this checkbox used for? If you only want to use a combobox then do: QInputDialog showSounds; QStringList soundList; soundList << "Sound 1" << "Sound 2"; showSounds.setOptions(QInputDialog::UseListViewForComboBoxItems); // Remove this if you want a combobox instead of a list showSounds.setComboBoxItems(soundList); showSounds.setWindowTitle("Select sounds"); showSounds.exec();
    • UNSOLVED C++/Qt GUI Developer for Munich/Germany
      Jobs • c++ gui germany munich münchen • • AndreasPleines  

      5
      0
      Votes
      5
      Posts
      2050
      Views

      Anreads I sent you my CV I am Sujan from India, if you give work visa I can relocate
    • UNSOLVED Webinar (August 30): How to create Automated GUI Tests for Qt Applications
      Announcements • gui testing cute webinar automated • • 3lias38  

      1
      0
      Votes
      1
      Posts
      499
      Views

      No one has replied

    • SOLVED How to add GUI to a Qt console application?
      General and Desktop • gui console pro file • • Zoltan  

      3
      0
      Votes
      3
      Posts
      5662
      Views

      @SGaist Thank you, I will try it!
    • GUI creation guidance / HTML+JS?
      General and Desktop • gui javascript html • • DavideBarranca  

      3
      0
      Votes
      3
      Posts
      1138
      Views

      @raven-worx Thank you for pointing me to the proper documentation pages – I'll have a look at them asap. If the project actually takes off, I'll be a regular in the forums :-) Best regards, – Davide
    • UNSOLVED How to change style of root menu bar
      General and Desktop • stylesheet gui styles qmenubar • • Chase  

      1
      0
      Votes
      1
      Posts
      531
      Views

      No one has replied

    • SOLVED style sheet and colors that change dynamically when a field is enabled or disabled
      General and Desktop • stylesheet gui widgets • • gautiery  

      3
      0
      Votes
      3
      Posts
      3985
      Views

      if instead of checking the property you use the pseudo-state it should work qwidget->setStyleSheet( "QWidget:disabled{color: #64B2D1;}" "QWidget{color: blue;}");