paintevent Questions
1
I am trying to develop a GUI that contains a QTextEdit widget. When the gui loads, it pulls in data from a file where the data is in columns of fixed widths.
I want the user to be able to click at...
Dress asked 21/5, 2015 at 10:51
2
Solved
I've been trying to paint custom borders for existing .Net WinForms controls. I've attempted this by creating a class which from the control I want to change the border color of, and then try sever...
Palliate asked 29/9, 2014 at 17:43
1
Solved
I have:
class QTextEditEnter : public QTextEdit
{
Q_OBJECT
public:
QTextEditEnter( QWidget *_parent ) : QTextEdit(_parent)
{
this -> setFrameStyle( QFrame::Sunken ); // Sunken!
}
protecte...
Cathead asked 21/11, 2012 at 21:27
1
Solved
I am wondering in which cases does a widget receive its paint event, and how does it vary with the OS.
Qt documentation for paintEvent says only
A paint event is a request to repaint all or par...
Rosellaroselle asked 25/7, 2012 at 8:31
1
© 2022 - 2024 — McMap. All rights reserved.