Answer the question
In order to leave comments, you need to log in
How to correctly inherit a QT widget?
The task is to make a slot to call the function by double clicking on the widget from QWidgetList.
With the help of qt designer, I kind of made promoted widgets, this is how the header file described:
class FilesView : public QWidget
{
Q_OBJECT;
public:
FilesView(QWidget *parent = 0);
};
FilesView::FilesView(QWidget* parent)
: QListWidget(parent)
{}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question