Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
456 Topics 3.2k Posts
  • Bringing the output of a webcam into Qt

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    Saran DeepakS
    @tekojo Thanks a lot bro. I think i got the right link :)
  • Browse and play a video

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    Saran DeepakS
    @Bharathi Thanks a lot :)
  • GUI development for CAD.

    Unsolved gui cad building design robot control
    6
    0 Votes
    6 Posts
    4k Views
    AwadheshA
    Actually, my idea is to have a storage of different wooden blocks in user interface and drag them one-by-one to working area to design a house model and then generate a txt file containing the stream of the coordinates (including some other attributes like color, shape) of building blocks.
  • Play H.264 Elementary Stream

    16
    0 Votes
    16 Posts
    21k Views
    SGaistS
    You'll likely have build your avframe with the data contained by the QByteArray
  • Feedback for ORM in development

    4
    0 Votes
    4 Posts
    2k Views
    kshegunovK
    @Edin-M but there would still need to be DB_TABLE macro, just without arguments. Why, what exactly is that macro supposed to do? As for column names, acctually I use properties, so columns are same as property name so DB_COLUMN(QString, name) creates set_name() and get_name() methods Look up Q_PROPERTY. One thing I'm unable is to retrieve list of all QObjects in a system And why should you? There's no central repository for objects ... Besides QObjects are not for that, they can't be copied, you should just use regular objects. And my point was that you don't need to have any macros besides Q_GADGET (which will allow to query for the class name with some tweaking) and Q_PROPERTY (which will give you dynamic properties). The relations can be retrieved from the db.
  • Internal data exchange through threads with topic

    Unsolved signal & slot qthread thread
    1
    0 Votes
    1 Posts
    708 Views
    No one has replied
  • Qt Forum Mail Subscribtion

    Unsolved qt forum mail s notification mail qt forum
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Do you mean something like the RSS feed ?
  • Writing secure data to a protected file

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    the_T
    @Maxim-DC but what if that data isn't that stupid like "txtdata" but something more like progress in a game, how to save this? Another approach for this could be QSettings with a custom format. You could set a reader and a writer function that writes encrypted data into a file. QSettings::Format newformat = QSettings::registerFormat("cnf",read,write); settings = new QSettings("cnf/u.cnf",newformat); bool read(QIODevice &dev,QSettings::SettingsMap &map) { //your code goes here return true; } bool write(QIODevice &dev,const QSettings::SettingsMap &map) { //your code goes here return true; } For not so strong encryption you could use Simple Crypt in your read and write functions
  • ability to apply stylesheet to individual items in QComboBox or QListView

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    hskoglundH
    Hi, while I think you're correct about QComboBox, for QListView I think you can apply individual stylesheets to it. If you can use a QListWidget instead I have an example: for (int i = 0; (i < 10); ++i) ui->listWidget->addItem(new QListWidgetItem("")); QLabel* l1 = new QLabel("Item1",this); l1->setStyleSheet("* { color: #FF0000; }"); ui->listWidget->setItemWidget(ui->listWidget->item(0),l1); QLabel* l2 = new QLabel("Item2",this); l2->setStyleSheet("* { color: #00FF00; }"); ui->listWidget->setItemWidget(ui->listWidget->item(1),l2);
  • QImage linux integration is lacking

    qimage linux
    3
    0 Votes
    3 Posts
    2k Views
    JKSHJ
    Hi @I-d-na, To clarify @SGaist's point: QImage is not an image format. It is a C++ class that lets C++ programmers manipulate images. A QImage cannot be downloaded over the internet. A QImage can only exist in a program that's written with Qt. File names like "main-qimg-salad" are not related to QImage. (Yes, I know the both start with a 'Q' and end with "image/"img", but really: they are not related at all.) Now that we've cleared that up, let's get to the root of your problem. If you download a file and it's called "main-qimg-salad", it simply means that the server gave it a filename that starts with "main-qimg", but the server neglected to include the .filetype extension at the end. Therefore, we can't tell what type of image it is. See https://www.quora.com/Why-do-we-get-main-qimg-e7b0b4951d663c737e5bbf2722d23612-jpg-types-of-saving-titles-when-we-download-images-from-the-Internet for a discussion of this naming system. If you search https://www.google.com/search?q="main-qimg" you will find that most of these images are actually JPEG files. So, try renaming your file from "main-qimg-salad" to "main-qimg-salad.jpg" and see what happens.
  • 0 Votes
    1 Posts
    918 Views
    No one has replied
  • custom calender widget in qt. help me

    Unsolved calender custom widget
    5
    0 Votes
    5 Posts
    2k Views
    vinay133V
    Thank you for your support.:-)
  • Qt OpenMPI wrap

    8
    0 Votes
    8 Posts
    4k Views
    SGaistS
    Sounds good !
  • Streaming media from DLNA server

    Unsolved dlna networking stream multimedia
    7
    0 Votes
    7 Posts
    4k Views
    SGaistS
    I've never used one but I know the device. You should try to contact the VLC team to see with them how they proceed with the UPnP/DLNA part.
  • Video file generation from Qt application, other than FFmpeg

    6
    0 Votes
    6 Posts
    5k Views
    P
    Thanks for all responses, so far. (I'd like to keep this question open, in case anyone has other ideas on other options, and stuff). I posed a question about a Qt5-only solution vaguely suggested in a related forum: Getting QImages into QMediaRecoder to create video files (e.g. avi, mp4, or animated gif)? ... https://forum.qt.io/topic/63258/getting-qimages-into-qmediarecoder-to-create-video-files-e-g-avi-mp4-or-animated-gif --
  • Extended ASCII characters over Serial Comm

    Unsolved
    2
    0 Votes
    2 Posts
    845 Views
    SGaistS
    Hi and welcome to devnet, What exactly are you trying to send over your serial port ? In any case, the maximum size of what is sent at a time is 8bit but that doesn't mean you can't send complex structures over it.
  • Custom text wrapping - find position where text line gets too long

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    Chris KawaC
    One semi-nice way comes to mind. You could use QFontMetrics::elidedText to get the part that fits in a line. The downside is that you would get the text with "...", but you can measure the width of "..." first, add that width to the maximum line width for measurement and then remove the dots from resulting string.
  • Multiple language selection

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Hi, It's all explained here
  • Qt with a Rails like MVC

    7
    0 Votes
    7 Posts
    9k Views
    cybercatalystC
    I am developing a framework that works similar like rails in Qt: https://github.com/cybercatalyst/qtwebserver
  • CuteStore : a QML Application store

    qml qtquick store
    7
    0 Votes
    7 Posts
    3k Views
    JKSHJ
    @dridk said: The real goal is to have an alternative of html. Imagine a Web browser with qml page only. It would be cool to see QML used for web apps. Someone has made a start on this: http://akreuzkamp.de/2013/07/10/webapps-written-in-qml-not-far-from-reality-anymore/