qt-designer

how can I find out why a custom widget isn't showing up in the Qt Designer?

I created a custom widget by following the instructions provided in Qt Creator's help. I followed everything exactly as they said there. My widget isn't showing up with the other widgets. I even tried their WorldTimeClock example. That doesn't show in the Qt Designer either. How can I debug this? ...

Unable to open QT form (*.ui) files from Visual Studio

I am unable to open QT form file (*.ui) form visual studio 2008 QT project. It the following error " The file test.ui cannot be opened with Qt 4 form editor. Try converting the file using uic.exe " Anyone know about this problem.? I am using VS 2008 and QT 4.5.0 -Thanks for u r time. ...

Adding a Custom Widget to Qt Designer

I've got the following custom widget: class QDESIGNER_WIDGET_EXPORT MySpecialButton : public QAbstractButton { Q_OBJECT ...etc... }; Qt Designer recognizes this widget, and I can place it onto my form without a problem. However, when looking in the property editor, only the QObject and QWidget properties are visible. How do ...

Stuck on a loop!

I am creating an app which will be used to upload images to a specified server. I have created my GUI in Qt Designer, everything works fine I just am stuck on something that I know is simple. Cant seem to wrap my head around it. The idea is for the script to go through and see how many text fields are filed in with paths of images - fr...

Filling the parent with Qt widgets

I'd like to create an application's main window in qt4 designer. When I add a layout element to the centralwidget, that element stays in the middle of the window and does not move when the window is resized. How can I make it "fill" the whole area (and resize its children properly)? All children widgets of my layout are expanding proper...

help needed for using qt designer files in python(silly noob question)...

Hello all, I'm new to PyQt though i know python a bit.. I wanted to Qt designer for GUI programming since it'll make my job easier. I've taken a simple dialog in Qt designer and converted using pyuic4. from PyQt4 import QtCore, QtGui class Ui_Form1(object): def setupUi(self, Form1): Form1.setObjectName("Form1") ...

Generate .h and .cpp from .ui file

Hey guys, I have the file about.ui. As you know, inside the qt design i can do the ui.h file... But how can i make the "about.h" and the "about.cpp" from my .ui file? i have to create a .moc file too? How can i compile this after create to see if all be done correctly? Thanks from Brazil! :-) *I´m using qt 3.2 ...

QtDesigner: is it possible to assign top menu item handler?

Hello. In QtDesigner, if i have a pushbutton and want to add a handler for it all i need to do is to right-click this button and select "go to slot" - QtCreator will automatically add a code and connect signal to slot. But top menu items don't have a "go to slot" in right click menu O_O. Is it possible to add handler to top menu item in...

Qt Creator (compiled with MinGW) widget integration

Hi, I'm using Qt Creator 1.3.0 on Windows XP. I'm developing custom widgets in Creator, but as many other people have found, these widgets don't get imported into the integrated Designer. However, my widgets do work when Designer is run independently of Creator. The initial problem was due to Creator being shipped as a Visual Studio b...

Segmentation fault in Qt Designer 4.6 with custom widget

Hi, I had a segmentation fault when using my new Qt Widget with Qt Designer 4.6. The problem arise when trying to preview the new widget. when using gdb I found that the problem is in qdesigner_internal::WidgetFactory::applyStyleToTopLevel: Program received signal SIGSEGV, Segmentation fault. qdesigner_internal::WidgetFactory::apply...

How to open a Pyqt 3.3 ui file with QtDesigner 4?

Hello, I've a PyQt 4 installed (I can't find PyQt 3 for Windows) and I would like to open a QtDesigner ui file which has been created with QtDesigner 3.3. When I open this file I've the following message: Please use uic3 -convert to convert to Qt4 Unfortunately, I don't see the uic3 tool in the bin folder of my install. Does anybody...

Is it possible to access custom properties from QT Designer after converting to python?

Hi, I am new to PyQt and Qt Designer and I'm trying to create an easy method for relating qWidgets with the tables and columns in an SQLite database. My idea was to tag each qWidget in designer with two custom properties, one with the table name and one with the column name. Later, I would use the info provided by designer to build my o...

How to display icon in QDockWidget title bar?

My QDockWidget has window title and close button. How do I put icon in title bar? When I select icon from my recources for QDockWidget WindowIcon property, it's not working either. Any ideas? ...

Linking a qtDesigner .ui file to python/pyqt?

So if I go into QtDesigner and build a UI, it'll be saved as a .ui file. How can I make this as a python file or use this in python? ...

Using QTDesigner with PyQT and Python 2.6

I'm new to Python and am starting to teach myself GUI programming (hopefully) using PyQT4.7 and Python 2.6 I just downloaded the whole PyQT/QT4 package (including QTDesigner) from the PyQT website, however it seems QTDesigner, which looks amazing to use as a newbie (since you can see all the attributes/properties/defaults etc) of each w...

Context Menu Creation with ‪ Qt Designer(Qt Creator IDE)

How can i create a Context menu in Qt Designer (1.3)? Certainly I want to create it with out writing one line code!! ...

QLabel embedding in QStatusBar using Qt Designer

Is there any solution to embed a QLabel in QStatusBar using Qt Designer? ...

Extract a portion of a Qt .ui file into its own .ui file

We have a designer creating a user interface for an application. The main window has several QStackedWidgets used for in place panel switching. What I'd like to be able to do is extract each individual panel that makes up each page of the QStackedWidget into it its own .ui file. Is there an easy way to accomplish this from within Qt...

QT4 Designer - Implement Widget

I'm currently trying to get into QT4 and figure out a workflow for myself. While trying to create a widget which allows the user to connect to a hostname:port some questions appeared. The widget itself contains a LineEdit for entering the hostname, a SpinBox for entering the port and a PushButton which should emit a connect(QString host...

Is it possible to connect slots of a model object to the GUI in QT4 -Designer?

So I try to build a Model-View window using QTDesigner and C++. For that reason I created a QOBject derived class as my model. It provides slots and signals to access it like: setFileName(QString) or fileNameChanged(QString). I got a little into using signal drag and drop in QTDesigner and found it quite VA-Smalltalk-Like nice. After a...