robel
14th October 2015, 15:47
Hi,
i create manually my Qt code, all it work perfectely
but when i want to add another widget that contain buttons , when i run my program i can't see the buttons,
Edit: i fix the problem
Added after 57 minutes:
Hi,
I throught that i fixed the problem
but i found that the problem is exist
:crying:
that's my code
MainWindow::MainWindow()
{
mywidget = new Qmywidget(this);
setCentralWidget(mywidget);
widget = new QWidget(this);
widget->setObjectName(QString::fromUtf8(widget"));
widget->setGeometry(QRect(50, 800, 211, 250));
anim = new QToolButton(widget);
anim->setGeometry(QRect(10, 100, 131, 51))/*setGeometry(QRect(0, 10, 71, 31))*/;
anim->setText(QApplication::translate("MainWindow", "Animer", 0, QApplication::UnicodeUTF8));
anim->setCheckable(true);
it's problem of windows size i think but i can't resolve it
i create manually my Qt code, all it work perfectely
but when i want to add another widget that contain buttons , when i run my program i can't see the buttons,
Edit: i fix the problem
Added after 57 minutes:
Hi,
I throught that i fixed the problem
but i found that the problem is exist
:crying:
that's my code
MainWindow::MainWindow()
{
mywidget = new Qmywidget(this);
setCentralWidget(mywidget);
widget = new QWidget(this);
widget->setObjectName(QString::fromUtf8(widget"));
widget->setGeometry(QRect(50, 800, 211, 250));
anim = new QToolButton(widget);
anim->setGeometry(QRect(10, 100, 131, 51))/*setGeometry(QRect(0, 10, 71, 31))*/;
anim->setText(QApplication::translate("MainWindow", "Animer", 0, QApplication::UnicodeUTF8));
anim->setCheckable(true);
it's problem of windows size i think but i can't resolve it