Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Application is getting crashed ..while adding elements to QTableView

    2
    0 Votes
    2 Posts
    2k Views
    F
    Silly question: are you sure there is not a delete somewhere that is causing the crash? Usually this happens if you reference a memory location that no longer exists (or never existed).
  • How to manually wrap a plain QStaticText?

    5
    0 Votes
    5 Posts
    3k Views
    A
    Sounds like a manual wrap is not intended for plain text. I have to say, QTextOption::ManualWrap raised some expectations, although the documentation does say "Same as QTextOption::NoWrap" I don't really get it, I have to admit. Why make a separate enum value that, from it's name, suggests a different behaviour, then say "it's the same as a different enum value".
  • [SOLVED]Qvector Problem instansiate Thanks ALL

    31
    0 Votes
    31 Posts
    15k Views
    T
    Volker I got it solved and it had a Nullpointer in another place so this worked fine but some dependent functions made some errors to this. //T
  • How to disable antialiasing when drawing text

    3
    0 Votes
    3 Posts
    3k Views
    I
    I tried. It does not work. [quote author="Andre" date="1322471848"]You can also disable antialiasting as a [[doc:QPainter]] render hint, I believe. [/quote]
  • How to Hide an applications from taskmanager ?

    4
    0 Votes
    4 Posts
    4k Views
    A
    Let's just say that Qt does not support this functionality. Any solution you implement will be a platform-dependent solution.
  • Copy & paste for UserTextObjects in QTextEdit

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to use opengl on qt ?

    2
    0 Votes
    2 Posts
    2k Views
    Q
    Maybe using Signals and Slots for timing more preferred?
  • Disabled but selectable Qlistwidgetitem

    8
    0 Votes
    8 Posts
    9k Views
    B
    I did try both of them ... 1) Double click & 2) Two-Pane display ... I just felt that popups are bit unique & different than the 2-pane display in terms of its look and feel... meaning that, user can click anywhere outside the popup window to close it automatically. (not required to click on close button). These kind of UI is something which user might not see very often. Thanks a lot for ur ideas Andre and Volker ... anyways, now that I have both of these UI, let me wait and see which one of these to use & go ahead ;)
  • [Solved]How can I change the mouse cursor to busy state ?

    5
    0 Votes
    5 Posts
    20k Views
    Q
    Is there simpler(standard) way to animate cursor?
  • Unresolved externals when building using custom widget

    4
    0 Votes
    4 Posts
    3k Views
    H
    It works when adding source files to my app.. Must be some problem with the way i created lib file i guess..
  • [SOLVED] How to clear a lineEdit when it is clicked?

    3
    0 Votes
    3 Posts
    6k Views
    L
    [quote author="task_struct" date="1322424422"]Hello, I think "placeholderText":http://doc.qt.nokia.com/latest/qlineedit.html#placeholderText-prop is what you're looking for.[/quote] That's exactly what i want. Thank you a lot! :)
  • [SOLVED] QThread Segfault on Linux

    6
    0 Votes
    6 Posts
    5k Views
    G
    Can you provide us the source of your test app? Also, see the DocNotes at the end of the [[Doc:QNetworkAccessManager]] API docs for same short, yet complete samples on how to use QNAM.
  • Missing Expected Behaviour in Qt Designer

    6
    0 Votes
    6 Posts
    3k Views
    S
    Tobias, Ok, I'll be doing this immediately. Thanks
  • Multithreaded multi-MDI app

    11
    0 Votes
    11 Posts
    5k Views
    A
    [quote author="Volker" date="1322420982"] [quote author="Andre" date="1322415174"]Yes, rendering into a QImage at least is fully supported in a thread. [/quote] Can we use a QPainter on that too? Like this: @ QImage img; QPainter painter(image); painter.drawLine(...); // etc. @ [/quote] You certainly can! André
  • Using compiler switches with Qt Qmake

    4
    0 Votes
    4 Posts
    4k Views
    S
    Volker, Koahnig, It worked. Thank You
  • [SOLVED]Comparison problem

    4
    0 Votes
    4 Posts
    2k Views
    H
    Yeap, i khew it's stupid issue,,, Thing is, it's just make "return" without enter in "if" block. Thanks for attentions.
  • How to check an eventfilter is installed or not?

    10
    0 Votes
    10 Posts
    6k Views
    P
    [quote author="Andre" date="1322395645"]@ class MouseOverTracker: public QObject { Q_OBJECT public: MouseOverTracker(QObject* parent = 0); bool eventFilter(QObject* object, QEvent* event); QWidget* currentHoverWidget() {return m_currentWidget;} private: QWidget* m_currentWidget; } MouseOverTracker::MouseOverTracker() : QObject(parent), m_currentWidget(0) { qApp->installEventFilter(this); } bool MouseOverTracker::eventFilter(QObject* object, QEvent* event) { if (!event || !object) return false; if (event->type() == QEvent::Enter) { m_currentWidget = qobject_cast<QWidget*>(sender); } else if (event->type() == QEvent::Leave) { if (m_currentWidget == object) m_currentWidget = 0; } return false; } @ Note: not tested, directly typed into forum editor. You should be able to get your current widget by creating an instance of the class, and calling currentWidget() on it.[/quote] thank you
  • The opengl window only flashes........

    4
    0 Votes
    4 Posts
    3k Views
    Q
    I`l glad to, but my English is very bad, and i do't think that i can give right explanation search here about function scope(or vision area ) "http://www.cprogramming.com/tutorial.html":http://www.cprogramming.com/tutorial.html "http://www.learncpp.com/":http://www.learncpp.com/ "http://www.cplusplus.com/doc/tutorial/":http://www.cplusplus.com/doc/tutorial/ and of course "http://qt.nokia.com/learning":http://qt.nokia.com/learning
  • Qtplugin is not a valid filename

    2
    0 Votes
    2 Posts
    2k Views
    Q
    Maybe you should ask here "http://sourceforge.net/projects/mumble/":http://sourceforge.net/projects/mumble/
  • Need help in qt-creator!!!

    6
    0 Votes
    6 Posts
    3k Views
    S
    find a c++ book first