Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
29 views

I have a QVBoxLayout that contains three QLabels and a QHBoxLayout nested inside it. The nested QHboxLayout itself also has two nested buttons. When the buttons are pressed, I want to empty the entire ...
somethingsomethingDarkSide's user avatar
1 vote
3 answers
163 views

I am customizing a QComboBox in Qt (C++). I want to limit the maximum height of the popup list, but still allow scrolling when there are many items. However, I don’t want the scrollbars to be visible ...
yang7hi's user avatar
  • 21
0 votes
1 answer
32 views

I am using Qt 6.8.3, MinGW (64 bit) on Windows 11. I have created a Qt Widget HelloWorld App for the purpose of Scaling QVirtualKeyboard. So when I change focus on any spinbox in UI file, keyboard ...
taimoor1990's user avatar
0 votes
0 answers
33 views

I'm running a QWidget in python using an extended version of the following code: class MyWidget(QWidget): def __init__(self): super().__init__() self.timer = QTimer(self) ...
SuperNano's user avatar
  • 1,027
0 votes
1 answer
117 views

I want a circular time counter to display the remaining time of a process that looks like the figure below I use Qty 6.6.3 and Qty widgets If anyone has an idea to do this, I would appreciate it if ...
abbas akbarzade's user avatar
0 votes
0 answers
130 views

I am trying to implement double click showmaximized / showNormal for my QDialog widget title bar. The dialog has to contain ContextHelpButton, so it's impossible to combine it with Qt::Window,Qt::...
user477598's user avatar
0 votes
1 answer
111 views

I recently learned about the nice possibility to style objects in Qt with a stylesheet. Now I want to change the background color of a QFrame after a specific event happened. So I set up two entries: ...
Nick's user avatar
  • 33
0 votes
1 answer
106 views

I have a QTableView with some data (numbers), but each cell contains an unwanted rounded square (maybe a non-functional checkbox). They look bad, occupy space, and can obscure my data. Why do they ...
anatolyg's user avatar
  • 28.5k
0 votes
1 answer
96 views

I am designing an Asset browser for navigating a pre-defined folder structure and with the help of @musicamante its now looking alot better! its meant to function in a similar way to OS X's finder in ...
Thomas Burton's user avatar
0 votes
1 answer
64 views

I'm creating a script in Maya with python that is designed to navigate local directory folders. The way I've been asked to make it navigate is with a collection of lists each representing a different ...
Thomas Burton's user avatar
0 votes
0 answers
57 views

So, I am currently trying to implement dragging mode on mouse with ScrollHandDrag everytime user presses middle button on QGraphicsView. The problem is - to actually drag with scroll hand drag mode ...
tetektoza's user avatar
  • 310
0 votes
1 answer
64 views

I'm populating a QtWidgets.QGridLayout from a large list and I'm trying to create a loop that will add one row with 5 columns, over and over again, until I run out of things in a list. Here is a ...
Septiflops's user avatar
0 votes
0 answers
195 views

I have a QTableView backed by a QStandardItemModel. The table also supports editing. One of the columns in this table contains a user editable QString. If the data changes, I need to know both the ...
johnco3's user avatar
  • 2,661
-1 votes
1 answer
95 views

So I am writing the code for a notepad clone which I hope would evolve into a final draft clone in further updates, and I am using it as a tool to learn C++ and QT as I am still Quite a beginner with ...
Zayn Mady's user avatar
2 votes
0 answers
374 views

I'm currently trying to set up a Docker container containing Qt 6.5.0 LTS. My goal is to statically compile Qt programs using qmake, so that I don't have to install any dependencies to run the ...
RobinHood's user avatar
0 votes
1 answer
957 views

So In my Qt app I have a class that inherit the QWindow class , and I would like it to be added to a QMainWindow so I tried using QWidget::createWindowContainer. I got a result I didn't expected when ...
biscuitvanille's user avatar
0 votes
1 answer
83 views

I would like to plot the data in ctrl function in a figure that is created in Plot class. class Data(QWidget): def __init__(self): QWidget.__init__(self) self.layout = QHBoxLayout() ...
lp roj's user avatar
  • 1
0 votes
1 answer
242 views

I'm using Qt framework to create an employee interface, which stores information of an employee (ID, name, surname, skills, etc..) In the widget interface I've used a lineEdit for everything, since I ...
Irene's user avatar
  • 25
1 vote
0 answers
52 views

I'm trying to define a custom QT Slot/Signal for passing a QImage. I'm using qt_widgets crate which has many predefined slot types like SlotOfQIcon. However it doesn't have one for QImage. I've looked ...
ILikeToLearn's user avatar
0 votes
1 answer
435 views

Context TLTR: For a command-line console widget, I need to be able to select the texts on a QListView row. In a similar way that your browser command-line (e.g. pressing F12 on Firefox and going to &...
Adrian Maire's user avatar
1 vote
1 answer
142 views

I am new to QtWidgets and trying to build an app in QtWidgets and Python (3.x). the end goal of the app is to show images and a superposed cursor (to be exact, a "plus" sign of 2cm) that can ...
Josh.h's user avatar
  • 115
0 votes
0 answers
133 views

Is it possible with visual studio to statically compile a QtWidgets project so that no dlls have to be shipped together with the executable file? How do I go about this?
IRP_HANDLER's user avatar
0 votes
1 answer
146 views

How can I apply a stylesheet to the groove and handle subcontrolls a QSlider with object name videoSlider?
Jaime02's user avatar
  • 394
1 vote
1 answer
1k views

I'm trying to style a QtComboxBox and ListView but i'm not sure how to remove this annoying border when an item of the combobox is hovered. Here's what I have QListView: /*-----QListView-----*/ ...
Cplusplus Enjoyer's user avatar
0 votes
0 answers
27 views

I am trying to build a small text editor and I would like to know whether it is possible to add empty lines that do not count towards the widget text between some lines of the document. It would look ...
Jaime02's user avatar
  • 394

1
2 3 4 5
7