When I put pushbutton in my code like:
// Create the button, make "this" the parent
m_button = new QPushButton("My Button", this);
// set size and location of the button
m_button->setGeometry(QRect(QPoint(100, 100),
QSize(200, 50)));
// Connect button signal to appropriate slot
connect(m_button, SIGNAL (released()), this, SLOT (handleButton()));
and
private slots:
void handleButton();
private:
QPushButton *m_button;
everything works fine but I could not see that button in QDesigner and vice versa when I include push button in my QT form .ui I could not see that at all. It is not only pushbutton but all components what I could pick from WidgetBox. I suspect some problem with seting up include inside Visual C++ projects.
What can I do?
Bookmarks