qt4 Questions
4
Solved
I would like to display a pandas data frame in a PyQt table. I have made some progress with this, but have not been able to correctly derive the Table Model class. Any help with this would be much ...
4
Solved
5
Solved
I have a very basic QMainWindow application that contains a menubar and a statusbar. When I hover over the menu the status message disappears. More precisely, the status message is cleared. I have ...
2
Solved
How can I remove the column with index numbers in QTableWidget ?
Annalisaannalise asked 31/5, 2010 at 10:39
2
Solved
I have the same error than here. There's no solution there and also I'm gonna try to explain it more clearly so hopefully someone has the solution. Also I've installed everything from the answer to...
Foreignborn asked 26/2, 2012 at 15:39
3
Solved
Is it possible to define the style of the selection marquee when a QGraphicsItem is set selectd via setSelected(true)?
Zemstvo asked 22/10, 2009 at 4:17
4
Solved
I have a PySide GUI app (written in Python 3, running on Windows 7 Pro) in which I’m setting the application icon as follows:
class MyGui(QtGui.QWidget):
def __init__(self):
super(MyGui, self)._...
Gilman asked 12/6, 2013 at 14:22
2
Solved
In a QListWidget I have a set of entries. Now I want to allow the user to sort (reorder) these entries through two buttons (Up/Down).
Here's part of my code:
def __init__(self):
QtGui.QMainWindo...
Oud asked 9/6, 2012 at 0:14
4
Solved
9
Solved
I am using Qt Dialogs in one of my application.
I need to hide/delete the help button. But i am not able to locate where exactly I get the handle to his help button. Not sure if its a particular fl...
2
When trying to install qt4 for python 2.7 (that I need to run some scripts written by other developers):
$ sudo pip install PyQt4
Could not find a version that satisfies the requirement PyQt4 (fr...
Hammock asked 15/10, 2019 at 12:50
5
Somehow I ended up with 2 versions of Qt on my Ubuntu 14.04 LTS machine, Qt4 and Qt5. Here is the output of qtchooser -list-versions
4
5
config
default
qt4-i386-linux-gnu
qt4-x86_64-linux-gnu
qt4
q...
Biggin asked 21/9, 2016 at 19:50
2
Solved
When using a QFileDialog to save a file and to specify the extension (like *.pdf) and the user types in a name without this extension, also the saved file hasn't this extension.
Example-Code:
QFil...
Collotype asked 23/12, 2009 at 16:1
3
Solved
I'm trying to create QTextEdit with some text, and in this text I have end of line characters (\n), but it is not accepted in QTextEdit object (whole text is displayed without any breaks). Any reas...
3
Solved
When my application crashes, the Windows Event Viewer always reports my application version as "0.0.0.0".
I can't figure how to set the application version in a way that the Windows Event Viewer r...
3
I have a custom subclass of QSortFilterProxyModel. I overrode filterAcceptsRow with the custom filter I wanted. Then I used it as such:
proxy = new MyFilterModel();
proxy->setSourceModel(...);
...
Haynes asked 19/8, 2015 at 22:15
3
Solved
I am using this code to set a label on the pushbutton with size of 16
ui->pushButton->setText(tr("<font size=16>Tank 1 \n %1%2C</font>").arg(szTemp).arg(degree));
but I am gett...
Senhauser asked 21/12, 2012 at 5:37
2
Solved
Is there a way to create a window (such as a QDialog), without a window icon on the top-left corner? I have tried using a transparent icon but it leaves a blank space there.
Edit: richardwb's solu...
2
Solved
QSpinBox makes its contents selected (highlighted) upon using up/down buttons. Is there any way to disable this?
Is there any way to clear selection, other than use my own subclass of QSpinBox to a...
2
What is the effect of QT_BEGIN_NAMESPACE?
QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE
If I don't use the class declaration like that, will any problem occur?
4
Solved
I need to display a context menu whenever a tab is clicked on and it needs to react to that specific tab. Is there any way to do this without subclassing it?
Mckenna asked 30/9, 2009 at 3:12
5
I am working on a GUI developed via PyQt and Qt4. Within my GUI I have a QTextEdit that has various data written to. Is there a way in which I can manipulate the color of one word within the QTextE...
Backstage asked 18/6, 2014 at 13:39
5
Solved
I have registered an enumeration type "ClefType" within my header file - this enum is registered with the MetaObject system using the Q_DECLARE_METATYPE and Q_ENUMS macros. qRegisterMetaType is als...
Mouthpart asked 1/4, 2010 at 12:24
4
Solved
I'm using QTableView and QStandardItemModel to show some data.
For each row, there is a column which has a check Box, this check box is inserted by setItem, the code is as follows:
int rowNum;
Q...
Whimsy asked 7/5, 2010 at 0:27
2
Solved
The qt designer portion of qt creator has many built in widgets. But let's say I want to add custom widgets created in the same qt project to the ui file of the window. By taking these steps:
Cre...
Constantine asked 26/2, 2012 at 18:1
© 2022 - 2024 — McMap. All rights reserved.