Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
456 Topics 3.2k Posts
  • Central QDockWidget as a replacement for a QTabWidget ?

    3
    0 Votes
    3 Posts
    3k Views
    T
    Okay, thank you, that sounds like a good plan. I changed the border size, but there is still a pixel (maybe two) between the border of the QWidget and the QTabWidget
  • Using QWidget vs. QGraphicsItem?

    4
    0 Votes
    4 Posts
    6k Views
    A
    You could simply put the image into a GraphicsScene, add the rectangle (or whatever) on top of it, and render the whole scene into a new Pixmap. Something like this: @ QPixmap resultPixmap(resultPixmapSize); QPainter painter(&resultPixmap); // Render the whole scene pScene->render(&painter,QRectF(), sourceRect); @ You can also specify only to render a part of the scene. The result ends up in resultPixmap, and you can go from there.
  • [not really] QFile open for append adding extra newline 8-(

    2
    0 Votes
    2 Posts
    7k Views
    J
    This was VIM's fault 8-( It adds an EOL at the end that it doesn't show. You can prevent this by using ":set binary" Sorry, Operator error... johnea
  • Win32/COM and translations in Qt

    2
    0 Votes
    2 Posts
    2k Views
    F
    I figured out the problem. I was creating the QTranslator on stack in DllMain. Instead of this I should either create it on heap or make it static.
  • Selling Application

    4
    0 Votes
    4 Posts
    2k Views
    T
    That looks OK to me, but you should ask a lawyer: Your local legislation might have some peculiarities that you need to be aware of. Getting legal advice from random strangers on the internet is not considered reliable:-)
  • Combined splitterhandle for subwindows

    2
    0 Votes
    2 Posts
    2k Views
    T
    If you want to do this in Qt, then I would do it in a way that enables you to use the existing widgets. If you don't you are bound to put boring videos up on youtube resizing empty areas in a window:-) So I would go for custom splitter. But then I completely fail to see the point of this video:-)
  • [Solved] How to merging media files with Qt?

    4
    0 Votes
    4 Posts
    4k Views
    H
    Be very careful, joining two or more videos as raw files not always works, not all video/audio formats accept a new data stream after it ends, and this method will not work with different formats. The best way of achieving this, is transcoding the files with, for instance, "FFmpeg":http://ffmpeg.org/pipermail/ffmpeg-user/2012-February/004983.html, you can run FFmpeg through "QProcess":http://qt-project.org/doc/qt-4.8/QProcess.html.
  • QDesktopService should be in QtCore ?

    12
    0 Votes
    12 Posts
    7k Views
    sierdzioS
    Check out Qt5, there is a module called "QtSystems" it can provide info you want and is not in QtGui/ QtWidgets ;)
  • 0 Votes
    3 Posts
    2k Views
    K
    You may want to have a look on to "QWTMathMLDocument":http://qwt.sourceforge.net/class_qwt_math_m_l_document.html
  • Qt-Creator send data over internet

    19
    0 Votes
    19 Posts
    9k Views
    A
    Best solution: download new version. "news section has been removed from Qt Creator 2.5.0"
  • 0 Votes
    3 Posts
    2k Views
    U
    Thank you very much, that seems to be the problem
  • Protection of QML code

    16
    0 Votes
    16 Posts
    17k Views
    M
    It would be great to see this added as a suggestion on http://bugreports.qt-project.org -- that should give it a better chance of being looked at, scheduled, etc. Regards, Michael
  • QList<T&> QHash::values or mutable Objects reference list

    3
    0 Votes
    3 Posts
    3k Views
    U
    That's what I wanted to do at first, but minimizing the memory leaks, so I think we'll have to use pointers and been really carefull with that. Thank you very much!
  • QMidi class

    10
    0 Votes
    10 Posts
    15k Views
    F
    NM, found it -- the define... @ MACOSX_CORE @ ...wasn't being passed along verbatim, probably some extra underscores (or fewer, whatever) in the process of passing it from the project file to the code. I #defined it in the actual source file, and it compiled with only a few warnings (unused parameters to functions), which I fixed.
  • QML Themeing

    19
    0 Votes
    19 Posts
    20k Views
    D
    I've written an update about our research: http://codecereal.blogspot.com.br/2012/05/qml-themingstyling-update.html
  • "CORESHARED_EXPORT" in QML Designer Core

    2
    0 Votes
    2 Posts
    2k Views
    T
    For historical reasons the whole core of the qml designer was a separate lib. At some point we changed this. But there is nothing stopping us from exporting these symbols again. If other plugins want to access or extend the model we can change this.
  • Menu Project

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Database Plugin for Qt Designer

    2
    0 Votes
    2 Posts
    3k Views
    M
    Very good !!! If there is a group working on this, I would like to join. I think using QSqlRelationalModel -> QDataWidgetMapper -> UI is a good approach.
  • SSH Support in QT 4.5.3

    3
    0 Votes
    3 Posts
    4k Views
    S
    Disregard the last reply
  • Accessing Outlook mails

    3
    0 Votes
    3 Posts
    2k Views
    T
    Thanks Lukas.