Tag: qt
Posts of Tag: qt
  1. Working with Python's PyQT Framework

    Introduction In this guide, we'll take a look at how to use Python's PyQT framework to develop a Graphical User Interface (GUI) for a desktop application in Python. Popular Python alternatives for developing a ...Learn More
    PythonFrameworkpyqtqt
  2. C++ library python binding generation with Shiboken

    I followed the tutorial up on the wiki http://qt-project.org/wiki/PySide_Binding_Generation_Tutorial but I can't get it to work properly. I'm on MacOSX So far here's what I did: Build FooLib (static) ---> libF...Learn More
    Pythonqtc++pysidepython-bindings
  3. How to detect if a QString is made up of all numeric characters?

    What do you guys think is the best way to tell if a QString is made up of just numbers? There doesn't appear to be a convenience function in the QString library. Do I have to iterate over every character, one...Learn More
    qtc++qt4
  4. using 'stop button' to quit function

    So I'm trying to create a timer or sorts, the start button starts the timer, i need to stop the timer with the stop button and then record the time... I can't seem to figure out how to stop the timer function o...Learn More
    Pythonqtpyqt4
  5. Change icon on state change using Qt stylesheet

    I'm trying to support theming for my application, and I'm coming across a problem where I have to change icons based on the state of the QPushButton (default, hover, pressed, etc.). Here is what I use to set th...Learn More
    Pythonpyqtqtqpushbuttonqstyle
  6. CentOS: QtWebKit is missing and Anki won't start

    I'm trying to run anki on CentOS and get the following error: Traceback (most recent call last): File "/usr/bin/anki", line 5, in <module> import aqt File "/usr/share/anki/aqt/__init__.py"...Learn More
    PythonqtCentosWebkitpyqt4
  7. Link error in VS 2010 Qt add-in

    Im havin some problem with Qt in Visual Studio 2010. I have downloaded the qt binaries from this site, version Qt-4.7.3-dev-msvc2010-rdh. This code copiles without any problem. class Widget : public QWidget { ...Learn More
    qtc++linkervisual-studio-2010
  8. How to avoid overlapping of items in a QComboBox dropdown, with a large font size

    I would like to use a large font size with a QComboBox. I tried setting the font-size using a style-sheet: *{font-size: 22pt} This does change the font size, but the spacing between the items in a QComboBox dr...Learn More
    qtqcomboboxqss
  9. pyqt4 mousePressEvent not called (no widget?)

    I have just wrote a little example and i can't manage to make it run. from PyQt4 import QtGui, QtCore import sys class Drawer(QtGui.QWidget): def __init__(self, parent=None): super(Drawer, self)._...Learn More
    Pythonpyqtqt
  10. How to remove the border of a QDialog which I give a transparent background image?

    I intended to make a un-rectangle QDialog, so I paint a png image by override QDialog::paintEvent.Everything is okay except there is a gray border shown arrond the dialog.Like this: I am sure that border is ...Learn More
    qtTransparentc++qt4borderless
  11. How to develop nice-looking, visually modern applications in QT?

    I'm wondering how to develop visually modern, with attractive GUI applications in QT. When I run QT Creator and start new project, the GUI looks very basic and "pure", just like simple win32 apps. But look for ...Learn More
    Windowsqtuser-interfacec++
  12. connecting slots outside mainwindow class

    I have some GUI ( showing the bill in using QTableWidget ) which I have implemented outside the MainWindow class in my checkout.cpp file. I am having trouble in connecting slots inside the checkout.cpp. Since ...Learn More
    qtc++qt4signals-slots