Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • 0 Votes
    3 Posts
    2k Views
    A
    Indeed, like Lukas said: please stick to a single topic. Closed.
  • How to hide the columns of QTableWidget at runtime

    2
    0 Votes
    2 Posts
    4k Views
    L
    What about "hideColumn()":http://doc.qt.nokia.com/latest/qtableview.html#hideColumn?
  • Cross platform install script

    3
    0 Votes
    3 Posts
    3k Views
    S
    Do you want to write your own installer in Qt or you already have a Qt project which you want to install on different platforms? If the latter is the case then I can recommend you "InstallJammer":http://www.installjammer.com/ , which is free to distribute and use. I'm not sure if Mac support has been already implemented though. If you want to build your own installer then take a look at "Qt installer framework":https://qt.gitorious.org/qt-labs/installer-framework for some tips.
  • Windows inside the program

    3
    0 Votes
    3 Posts
    2k Views
    R
    [quote author="Lukas Geyer" date="1310539567"]Probably "QMdiArea":http://doc.qt.nokia.com/latest/qmdiarea.html is what you are looking for.[/quote] Possibly, but I'm puzzled, so I couldn't ask it in simpler terms, LOL..
  • Can you please suggest some examples for QlistView control in QT..

    7
    0 Votes
    7 Posts
    20k Views
    M
    Sry ...i misunderstood...now i got it.. Thanks for your help..
  • Can't build official Qt tut code using Qt Creator

    6
    0 Votes
    6 Posts
    5k Views
    J
    Okay, I got it. Googled a bit to look for a way to add includes and libs onto Qt Creator. Didn't know you had to add them into the .pro file for each project =/ . Thanks for your help.
  • Slot return value - what if it would be not lost?

    Locked
    27
    0 Votes
    27 Posts
    14k Views
    T
    I deleted the last 3 entries, the discussion went out of hand, and closed the thread. Please let's be polite.
  • Creating plugins for my own app

    4
    0 Votes
    4 Posts
    2k Views
    D
    Using DLLs on non native platforms may work but the overhead is very considerable. Installing Qt on different platforms and recompilation takes a couple of mouseclicks. Distribution is very easy again. A couple of binary files go into one directory, thats it. Better think twice. "Your entering a world of pain" Walter Sobchack in "The Big Lebowski"
  • [Merged] copying data from structure to a ByteArray and vise versa

    18
    0 Votes
    18 Posts
    18k Views
    M
    That time tests: @ QByteArray ba1(2048, 0); QByteArray ba2(2048, 255); QByteArray ba3(1024, 255); char *ba1data = ba1.data(); char *ba2data = ba2.data(); QElapsedTimer timer; timer.start(); for (int i = 0; i < 100000000; i++) { //ba2.replace(1000, 1024, ba1.data()+1000, 1024); // For 12324 ms. //ba2.replace(1000, 1024, ba1.mid(1000, 1024)); // For 33228 ms. //ba3 = ba1.left(1024); // For 45615 ms. <- ?! //ba3 = ba1.right(1024); // For 29640 ms. //ba3 = ba1.mid(1000, 1024); // For 29859 ms. //memcpy(ba2data+1000, ba1data+1000, 1024); // For 7722 ms. qMemCopy(ba2data+1000, ba1data+1000, 1024); // For 11981 ms. } qDebug() << timer.elapsed();@
  • QTreeView: Emulating Mac's native look

    5
    0 Votes
    5 Posts
    3k Views
    B
    Thanks Volker! That article is truly helpful!
  • How can I use QGalleryMetaDataFilter?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED]Problems with building a dll library for widgets in Visual Studio

    6
    0 Votes
    6 Posts
    3k Views
    jensen82J
    Nice. Congrats. Please add [SOLVED] to your thread. Have a nice day.
  • 0 Votes
    3 Posts
    4k Views
    B
    actually I can do this by adding another animation on the rightWidget with "geometry" properties , but I think like QHBoxLayout , it should automatically resize when the size of one child widget changes .
  • [SOLVED] QNetworkAccessManager does not emit finished() signal

    10
    0 Votes
    10 Posts
    14k Views
    S
    [quote author="loladiro" date="1310421072"]Concerning 2). I am actually not sure that it can happen (i have heard people say it does, but never experienced it myself - probably because I don't use it that much). The only way I could imagine that happening is that the order is mixed up, because of the threading within QNetworkAcccessManager. And I always thinks it's better to be safe than sorry ;)[/quote] Fair enough, wish there was a little better explanation, but I fall in the same boat as you. Better safe then sorry :) and thank you for the information on that as well.
  • [Solved] Login dialog before mainwin

    3
    0 Votes
    3 Posts
    4k Views
    D
    Thanks allot loladiro!
  • [SOLVED] Copying contents from one QTextBrowser to another

    2
    0 Votes
    2 Posts
    2k Views
    A
    Hi All, I found the answer.... @ if(!highlightcursor.isNull()) { grepbrowser->append(highlightcursor.block().text()); } @ Hope this helps someone.
  • How to run using a Qt Program through qmake in Windows?

    6
    0 Votes
    6 Posts
    7k Views
    C
    Thanx to all of you. I got the answer. Really very thanks. :)
  • Using bash with QProcess

    5
    0 Votes
    5 Posts
    10k Views
    A
    Thanks!!!
  • [SOLVED] [QComboBox and Model/View] Associate PK and data in ComboBox

    23
    0 Votes
    23 Posts
    19k Views
    V
    It was easier that I thought. I wanted to filter data according to a foreign key. I had to fetch the PK of a table according to the value of the ComboBox. Here's how I did it: @ catModel->setFilter(""CAT_IndexGroupe" = " % QString::number( groupModel->data(groupModel->index(ui->MW_groupComboBox->currentIndex(), groupModel->fieldIndex("IndexGroupe")), Qt::DisplayRole).toInt()));@ Thanks everyone for your tips!
  • Qthelp module - highlighting searched terms

    3
    0 Votes
    3 Posts
    1k Views
    O
    bump