puting 2 widgets in the same class
-
Hello guys , i created a class which inherit from a QTreeWidget
class CCONFIGTREE:public QTreeWidget { };
in .cpp
CCONFIGTREE::CCONFIGTREE():QTreeWidget() { }
when i call my constructor , everything is okay
Now i want to change my class , i want to create a QTabWidget and in this QTabWidget i put the CCONFIGTREE class
i triedclass CCONFIGTREE:public QTreeWidget { QTabWidget *test=new QTabWidget(this); setParent(test); };
but didn't work , someone have idea please ? thanks
-
Hello guys , i created a class which inherit from a QTreeWidget
class CCONFIGTREE:public QTreeWidget { };
in .cpp
CCONFIGTREE::CCONFIGTREE():QTreeWidget() { }
when i call my constructor , everything is okay
Now i want to change my class , i want to create a QTabWidget and in this QTabWidget i put the CCONFIGTREE class
i triedclass CCONFIGTREE:public QTreeWidget { QTabWidget *test=new QTabWidget(this); setParent(test); };
but didn't work , someone have idea please ? thanks
-
Hello guys , i created a class which inherit from a QTreeWidget
class CCONFIGTREE:public QTreeWidget { };
in .cpp
CCONFIGTREE::CCONFIGTREE():QTreeWidget() { }
when i call my constructor , everything is okay
Now i want to change my class , i want to create a QTabWidget and in this QTabWidget i put the CCONFIGTREE class
i triedclass CCONFIGTREE:public QTreeWidget { QTabWidget *test=new QTabWidget(this); setParent(test); };
but didn't work , someone have idea please ? thanks