QT - QPushButton in Designer Form Class Widget with MainWIndow Parent can't be clickedHow to call a parent class function from derived class function?Qt matching signal with custom slotlibvlc-qt realloc error executing example program of libvlc-qtPySide : How to get the clicked QPushButton object in the QPushButton clicked slot?QPushButton setDown on clickQt custom QPushButton clicked signalQPushButton is not clicked on the first clickCall another widget application on QPushButtonSetting the right parent of custom layoutQPushButton alignment on top another widget

Drawing ramified coverings with tikz

Melting point of aspirin, contradicting sources

How to align and center standalone amsmath equations?

Greatest common substring

In Star Trek IV, why did the Bounty go back to a time when whales were already rare?

How should I respond when I lied about my education and the company finds out through background check?

Diode in opposite direction?

A social experiment. What is the worst that can happen?

On a tidally locked planet, would time be quantized?

If a character with the Alert feat rolls a crit fail on their Perception check, are they surprised?

Proof of Lemma: Every nonzero integer can be written as a product of primes

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Is there a word to describe the feeling of being transfixed out of horror?

How to get the similar sounding words together

Is it possible to have a strip of cold climate in the middle of a planet?

Java - What do constructor type arguments mean when placed *before* the type?

Sampling Theorem and reconstruction

Journal losing indexing services

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

Transformation of random variables and joint distributions

Why is Arduino resetting while driving motors?

Engineer refusing to file/disclose patents

How do I repair my stair bannister?

THT: What is a squared annular “ring”?



QT - QPushButton in Designer Form Class Widget with MainWIndow Parent can't be clicked


How to call a parent class function from derived class function?Qt matching signal with custom slotlibvlc-qt realloc error executing example program of libvlc-qtPySide : How to get the clicked QPushButton object in the QPushButton clicked slot?QPushButton setDown on clickQt custom QPushButton clicked signalQPushButton is not clicked on the first clickCall another widget application on QPushButtonSetting the right parent of custom layoutQPushButton alignment on top another widget













0















I've got a problem with Qt.



TL;DR



My designer form class inherits from QWidget and contains a pushbutton. I construct an object from this class with a parent parameter, which is a MainWindow object. The widget is shown, but the button can't be clicked, doesn't react to mouse hover, but an onclick-like event is triggered when the button is highlighted with tab key and space is pressed.




Here is my main function:



int main(int argc, char *argv[])

QApplication a(argc, argv);
MainWindow *w;
if(argc == 2)

w = new MainWindow(argv[1]);

else

w = new MainWindow();


w->show();

return a.exec();



Here is the source of MainWindow:



MainWindow::MainWindow(QWidget *parent) :
QMainWindow (parent),
ui(new Ui::MainWindow),
todoWidget(nullptr)

ui->setupUi(this);
todoWidget = new TodoWidget(nullptr, this);
todoWidget->setEnabled(true);


MainWindow::MainWindow(const char *saveFilePath, QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
todoWidget(new TodoWidget(saveFilePath, this))

ui->setupUi(this);


MainWindow::~MainWindow()

delete ui;
delete todoWidget;



todoWidget is a private member of MainWindow class. I understand, that if a parent is given in the constructor of a QWidget, the widget is drawn inside the parent. That happens BUT the button in the widget is not clickable. I'm able to trigger something like an onclick if I press tab until it's in focus than press space, but it doesn't react even to mouse hover. The TodoWidget class is a Designer Form Class, and right now I simplified it to have only 1 element, the pushbutton.
Here is the TodoWidget source:



TodoWidget::TodoWidget(const char *path, QWidget *parent) :
QWidget (parent),
t (nullptr),
ui(new Ui::TodoWidget)

ui->setupUi(this);
if(!path)

path = "./tasks/taks";

open(path);
makeConnections();
todoModel = new TaskListModel(t->tasksWithStatus(Task::Status::TODO), this);
inProgressModel = new TaskListModel(t->tasksWithStatus(Task::Status::IN_PROGRESS), this);
finishedModel = new TaskListModel(t->tasksWithStatus(Task::Status::FINISHED), this);
// ui->todoView->setModel(todoModel);
// ui->inProgressView->setModel(inProgressModel);
// ui->finishedView->setModel(finishedModel);


TodoWidget::~TodoWidget()

delete t;
delete ui;


void TodoWidget::open(const char *path)

if(validateSaveFile(path))

delete t;
t = new todo(path, this);
this->path = path;



void TodoWidget::progressTask(unsigned int index)

t->progressTask(index);


void TodoWidget::displaySuccess(const QString &msg)

QMessageBox::information(this, "Success", msg);


void TodoWidget::displayError(const QString &errMsg)

QMessageBox::critical(this, "Error", errMsg);


void TodoWidget::changeProject(const char *path)

open(path);


void TodoWidget::addButtonClicked()

AddWindow *addWindow = new AddWindow(this);
connect(addWindow, &AddWindow::addTask, [this](const QString &args)->voidaddTask(args););
addWindow->show();


bool TodoWidget::validateSaveFile(const QString &path)

/*
* C:/ and (wordchar 0 or more times/) 0 or more times
* ./ and (wordchar 0 or more times/) 0 or more times
* / and (wordchar 0 or more times/) 0 or more times
* (wordchar 0 or more times/) 0 or more times
*
* Note: the parentheses are not present in the regexp
* Note: wordchar is any character which might be part of a word (alfanum and _ I think)
*/
QRegularExpression regexp("([a-zA-Z]:/

void TodoWidget::makeConnections()

connect(t, &todo::taskAdded, this, &TodoWidget::displaySuccess);
connect(t, &todo::taskNotAdded, this, &TodoWidget::displayError);
connect(t, &todo::taskMadeProgress, this, &TodoWidget::displaySuccess);
connect(t, &todo::noProgress, this, &TodoWidget::displayError);
connect(t, &todo::saved, this, &TodoWidget::displaySuccess);
connect(t, &todo::notSaved, this, &TodoWidget::displayError);
connect(this, &TodoWidget::addTask, t, &todo::addTask);
connect(this, &TodoWidget::someError, this, &TodoWidget::displayError);
connect(this->ui->addButton, &QPushButton::clicked, this, &TodoWidget::addButtonClicked);


void TodoWidget::modelStuff()





The t is a private member of TodoWidget. The type is todo. I don't think it's necessary to show the code, because it should have nothing to do with the GUI, because it's a shared library (which I created with Qt).



I've tried several things now, I can't even remember them all, but none worked. I'll appreciate any help. Thanks










share|improve this question


























    0















    I've got a problem with Qt.



    TL;DR



    My designer form class inherits from QWidget and contains a pushbutton. I construct an object from this class with a parent parameter, which is a MainWindow object. The widget is shown, but the button can't be clicked, doesn't react to mouse hover, but an onclick-like event is triggered when the button is highlighted with tab key and space is pressed.




    Here is my main function:



    int main(int argc, char *argv[])

    QApplication a(argc, argv);
    MainWindow *w;
    if(argc == 2)

    w = new MainWindow(argv[1]);

    else

    w = new MainWindow();


    w->show();

    return a.exec();



    Here is the source of MainWindow:



    MainWindow::MainWindow(QWidget *parent) :
    QMainWindow (parent),
    ui(new Ui::MainWindow),
    todoWidget(nullptr)

    ui->setupUi(this);
    todoWidget = new TodoWidget(nullptr, this);
    todoWidget->setEnabled(true);


    MainWindow::MainWindow(const char *saveFilePath, QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow),
    todoWidget(new TodoWidget(saveFilePath, this))

    ui->setupUi(this);


    MainWindow::~MainWindow()

    delete ui;
    delete todoWidget;



    todoWidget is a private member of MainWindow class. I understand, that if a parent is given in the constructor of a QWidget, the widget is drawn inside the parent. That happens BUT the button in the widget is not clickable. I'm able to trigger something like an onclick if I press tab until it's in focus than press space, but it doesn't react even to mouse hover. The TodoWidget class is a Designer Form Class, and right now I simplified it to have only 1 element, the pushbutton.
    Here is the TodoWidget source:



    TodoWidget::TodoWidget(const char *path, QWidget *parent) :
    QWidget (parent),
    t (nullptr),
    ui(new Ui::TodoWidget)

    ui->setupUi(this);
    if(!path)

    path = "./tasks/taks";

    open(path);
    makeConnections();
    todoModel = new TaskListModel(t->tasksWithStatus(Task::Status::TODO), this);
    inProgressModel = new TaskListModel(t->tasksWithStatus(Task::Status::IN_PROGRESS), this);
    finishedModel = new TaskListModel(t->tasksWithStatus(Task::Status::FINISHED), this);
    // ui->todoView->setModel(todoModel);
    // ui->inProgressView->setModel(inProgressModel);
    // ui->finishedView->setModel(finishedModel);


    TodoWidget::~TodoWidget()

    delete t;
    delete ui;


    void TodoWidget::open(const char *path)

    if(validateSaveFile(path))

    delete t;
    t = new todo(path, this);
    this->path = path;



    void TodoWidget::progressTask(unsigned int index)

    t->progressTask(index);


    void TodoWidget::displaySuccess(const QString &msg)

    QMessageBox::information(this, "Success", msg);


    void TodoWidget::displayError(const QString &errMsg)

    QMessageBox::critical(this, "Error", errMsg);


    void TodoWidget::changeProject(const char *path)

    open(path);


    void TodoWidget::addButtonClicked()

    AddWindow *addWindow = new AddWindow(this);
    connect(addWindow, &AddWindow::addTask, [this](const QString &args)->voidaddTask(args););
    addWindow->show();


    bool TodoWidget::validateSaveFile(const QString &path)

    /*
    * C:/ and (wordchar 0 or more times/) 0 or more times
    * ./ and (wordchar 0 or more times/) 0 or more times
    * / and (wordchar 0 or more times/) 0 or more times
    * (wordchar 0 or more times/) 0 or more times
    *
    * Note: the parentheses are not present in the regexp
    * Note: wordchar is any character which might be part of a word (alfanum and _ I think)
    */
    QRegularExpression regexp("([a-zA-Z]:/

    void TodoWidget::makeConnections()

    connect(t, &todo::taskAdded, this, &TodoWidget::displaySuccess);
    connect(t, &todo::taskNotAdded, this, &TodoWidget::displayError);
    connect(t, &todo::taskMadeProgress, this, &TodoWidget::displaySuccess);
    connect(t, &todo::noProgress, this, &TodoWidget::displayError);
    connect(t, &todo::saved, this, &TodoWidget::displaySuccess);
    connect(t, &todo::notSaved, this, &TodoWidget::displayError);
    connect(this, &TodoWidget::addTask, t, &todo::addTask);
    connect(this, &TodoWidget::someError, this, &TodoWidget::displayError);
    connect(this->ui->addButton, &QPushButton::clicked, this, &TodoWidget::addButtonClicked);


    void TodoWidget::modelStuff()





    The t is a private member of TodoWidget. The type is todo. I don't think it's necessary to show the code, because it should have nothing to do with the GUI, because it's a shared library (which I created with Qt).



    I've tried several things now, I can't even remember them all, but none worked. I'll appreciate any help. Thanks










    share|improve this question
























      0












      0








      0








      I've got a problem with Qt.



      TL;DR



      My designer form class inherits from QWidget and contains a pushbutton. I construct an object from this class with a parent parameter, which is a MainWindow object. The widget is shown, but the button can't be clicked, doesn't react to mouse hover, but an onclick-like event is triggered when the button is highlighted with tab key and space is pressed.




      Here is my main function:



      int main(int argc, char *argv[])

      QApplication a(argc, argv);
      MainWindow *w;
      if(argc == 2)

      w = new MainWindow(argv[1]);

      else

      w = new MainWindow();


      w->show();

      return a.exec();



      Here is the source of MainWindow:



      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow (parent),
      ui(new Ui::MainWindow),
      todoWidget(nullptr)

      ui->setupUi(this);
      todoWidget = new TodoWidget(nullptr, this);
      todoWidget->setEnabled(true);


      MainWindow::MainWindow(const char *saveFilePath, QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow),
      todoWidget(new TodoWidget(saveFilePath, this))

      ui->setupUi(this);


      MainWindow::~MainWindow()

      delete ui;
      delete todoWidget;



      todoWidget is a private member of MainWindow class. I understand, that if a parent is given in the constructor of a QWidget, the widget is drawn inside the parent. That happens BUT the button in the widget is not clickable. I'm able to trigger something like an onclick if I press tab until it's in focus than press space, but it doesn't react even to mouse hover. The TodoWidget class is a Designer Form Class, and right now I simplified it to have only 1 element, the pushbutton.
      Here is the TodoWidget source:



      TodoWidget::TodoWidget(const char *path, QWidget *parent) :
      QWidget (parent),
      t (nullptr),
      ui(new Ui::TodoWidget)

      ui->setupUi(this);
      if(!path)

      path = "./tasks/taks";

      open(path);
      makeConnections();
      todoModel = new TaskListModel(t->tasksWithStatus(Task::Status::TODO), this);
      inProgressModel = new TaskListModel(t->tasksWithStatus(Task::Status::IN_PROGRESS), this);
      finishedModel = new TaskListModel(t->tasksWithStatus(Task::Status::FINISHED), this);
      // ui->todoView->setModel(todoModel);
      // ui->inProgressView->setModel(inProgressModel);
      // ui->finishedView->setModel(finishedModel);


      TodoWidget::~TodoWidget()

      delete t;
      delete ui;


      void TodoWidget::open(const char *path)

      if(validateSaveFile(path))

      delete t;
      t = new todo(path, this);
      this->path = path;



      void TodoWidget::progressTask(unsigned int index)

      t->progressTask(index);


      void TodoWidget::displaySuccess(const QString &msg)

      QMessageBox::information(this, "Success", msg);


      void TodoWidget::displayError(const QString &errMsg)

      QMessageBox::critical(this, "Error", errMsg);


      void TodoWidget::changeProject(const char *path)

      open(path);


      void TodoWidget::addButtonClicked()

      AddWindow *addWindow = new AddWindow(this);
      connect(addWindow, &AddWindow::addTask, [this](const QString &args)->voidaddTask(args););
      addWindow->show();


      bool TodoWidget::validateSaveFile(const QString &path)

      /*
      * C:/ and (wordchar 0 or more times/) 0 or more times
      * ./ and (wordchar 0 or more times/) 0 or more times
      * / and (wordchar 0 or more times/) 0 or more times
      * (wordchar 0 or more times/) 0 or more times
      *
      * Note: the parentheses are not present in the regexp
      * Note: wordchar is any character which might be part of a word (alfanum and _ I think)
      */
      QRegularExpression regexp("([a-zA-Z]:/

      void TodoWidget::makeConnections()

      connect(t, &todo::taskAdded, this, &TodoWidget::displaySuccess);
      connect(t, &todo::taskNotAdded, this, &TodoWidget::displayError);
      connect(t, &todo::taskMadeProgress, this, &TodoWidget::displaySuccess);
      connect(t, &todo::noProgress, this, &TodoWidget::displayError);
      connect(t, &todo::saved, this, &TodoWidget::displaySuccess);
      connect(t, &todo::notSaved, this, &TodoWidget::displayError);
      connect(this, &TodoWidget::addTask, t, &todo::addTask);
      connect(this, &TodoWidget::someError, this, &TodoWidget::displayError);
      connect(this->ui->addButton, &QPushButton::clicked, this, &TodoWidget::addButtonClicked);


      void TodoWidget::modelStuff()





      The t is a private member of TodoWidget. The type is todo. I don't think it's necessary to show the code, because it should have nothing to do with the GUI, because it's a shared library (which I created with Qt).



      I've tried several things now, I can't even remember them all, but none worked. I'll appreciate any help. Thanks










      share|improve this question














      I've got a problem with Qt.



      TL;DR



      My designer form class inherits from QWidget and contains a pushbutton. I construct an object from this class with a parent parameter, which is a MainWindow object. The widget is shown, but the button can't be clicked, doesn't react to mouse hover, but an onclick-like event is triggered when the button is highlighted with tab key and space is pressed.




      Here is my main function:



      int main(int argc, char *argv[])

      QApplication a(argc, argv);
      MainWindow *w;
      if(argc == 2)

      w = new MainWindow(argv[1]);

      else

      w = new MainWindow();


      w->show();

      return a.exec();



      Here is the source of MainWindow:



      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow (parent),
      ui(new Ui::MainWindow),
      todoWidget(nullptr)

      ui->setupUi(this);
      todoWidget = new TodoWidget(nullptr, this);
      todoWidget->setEnabled(true);


      MainWindow::MainWindow(const char *saveFilePath, QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow),
      todoWidget(new TodoWidget(saveFilePath, this))

      ui->setupUi(this);


      MainWindow::~MainWindow()

      delete ui;
      delete todoWidget;



      todoWidget is a private member of MainWindow class. I understand, that if a parent is given in the constructor of a QWidget, the widget is drawn inside the parent. That happens BUT the button in the widget is not clickable. I'm able to trigger something like an onclick if I press tab until it's in focus than press space, but it doesn't react even to mouse hover. The TodoWidget class is a Designer Form Class, and right now I simplified it to have only 1 element, the pushbutton.
      Here is the TodoWidget source:



      TodoWidget::TodoWidget(const char *path, QWidget *parent) :
      QWidget (parent),
      t (nullptr),
      ui(new Ui::TodoWidget)

      ui->setupUi(this);
      if(!path)

      path = "./tasks/taks";

      open(path);
      makeConnections();
      todoModel = new TaskListModel(t->tasksWithStatus(Task::Status::TODO), this);
      inProgressModel = new TaskListModel(t->tasksWithStatus(Task::Status::IN_PROGRESS), this);
      finishedModel = new TaskListModel(t->tasksWithStatus(Task::Status::FINISHED), this);
      // ui->todoView->setModel(todoModel);
      // ui->inProgressView->setModel(inProgressModel);
      // ui->finishedView->setModel(finishedModel);


      TodoWidget::~TodoWidget()

      delete t;
      delete ui;


      void TodoWidget::open(const char *path)

      if(validateSaveFile(path))

      delete t;
      t = new todo(path, this);
      this->path = path;



      void TodoWidget::progressTask(unsigned int index)

      t->progressTask(index);


      void TodoWidget::displaySuccess(const QString &msg)

      QMessageBox::information(this, "Success", msg);


      void TodoWidget::displayError(const QString &errMsg)

      QMessageBox::critical(this, "Error", errMsg);


      void TodoWidget::changeProject(const char *path)

      open(path);


      void TodoWidget::addButtonClicked()

      AddWindow *addWindow = new AddWindow(this);
      connect(addWindow, &AddWindow::addTask, [this](const QString &args)->voidaddTask(args););
      addWindow->show();


      bool TodoWidget::validateSaveFile(const QString &path)

      /*
      * C:/ and (wordchar 0 or more times/) 0 or more times
      * ./ and (wordchar 0 or more times/) 0 or more times
      * / and (wordchar 0 or more times/) 0 or more times
      * (wordchar 0 or more times/) 0 or more times
      *
      * Note: the parentheses are not present in the regexp
      * Note: wordchar is any character which might be part of a word (alfanum and _ I think)
      */
      QRegularExpression regexp("([a-zA-Z]:/

      void TodoWidget::makeConnections()

      connect(t, &todo::taskAdded, this, &TodoWidget::displaySuccess);
      connect(t, &todo::taskNotAdded, this, &TodoWidget::displayError);
      connect(t, &todo::taskMadeProgress, this, &TodoWidget::displaySuccess);
      connect(t, &todo::noProgress, this, &TodoWidget::displayError);
      connect(t, &todo::saved, this, &TodoWidget::displaySuccess);
      connect(t, &todo::notSaved, this, &TodoWidget::displayError);
      connect(this, &TodoWidget::addTask, t, &todo::addTask);
      connect(this, &TodoWidget::someError, this, &TodoWidget::displayError);
      connect(this->ui->addButton, &QPushButton::clicked, this, &TodoWidget::addButtonClicked);


      void TodoWidget::modelStuff()





      The t is a private member of TodoWidget. The type is todo. I don't think it's necessary to show the code, because it should have nothing to do with the GUI, because it's a shared library (which I created with Qt).



      I've tried several things now, I can't even remember them all, but none worked. I'll appreciate any help. Thanks







      c++ forms qt qpushbutton






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 13:54









      YoFreakinLoYoFreakinLo

      104




      104






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The mainWindow has predefined layout in form of central widget dockareas, status bar ,menu bar etc.So any of the widget need to be set into those areas for working properly.
          Try setting your dialog with call mainWindow.setcentralwidget(todowidget).






          share|improve this answer























          • Thank you it worked :)

            – YoFreakinLo
            Mar 21 at 23:05










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55282034%2fqt-qpushbutton-in-designer-form-class-widget-with-mainwindow-parent-cant-be-c%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The mainWindow has predefined layout in form of central widget dockareas, status bar ,menu bar etc.So any of the widget need to be set into those areas for working properly.
          Try setting your dialog with call mainWindow.setcentralwidget(todowidget).






          share|improve this answer























          • Thank you it worked :)

            – YoFreakinLo
            Mar 21 at 23:05















          0














          The mainWindow has predefined layout in form of central widget dockareas, status bar ,menu bar etc.So any of the widget need to be set into those areas for working properly.
          Try setting your dialog with call mainWindow.setcentralwidget(todowidget).






          share|improve this answer























          • Thank you it worked :)

            – YoFreakinLo
            Mar 21 at 23:05













          0












          0








          0







          The mainWindow has predefined layout in form of central widget dockareas, status bar ,menu bar etc.So any of the widget need to be set into those areas for working properly.
          Try setting your dialog with call mainWindow.setcentralwidget(todowidget).






          share|improve this answer













          The mainWindow has predefined layout in form of central widget dockareas, status bar ,menu bar etc.So any of the widget need to be set into those areas for working properly.
          Try setting your dialog with call mainWindow.setcentralwidget(todowidget).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 21 at 14:02









          codeKarmacodeKarma

          417




          417












          • Thank you it worked :)

            – YoFreakinLo
            Mar 21 at 23:05

















          • Thank you it worked :)

            – YoFreakinLo
            Mar 21 at 23:05
















          Thank you it worked :)

          – YoFreakinLo
          Mar 21 at 23:05





          Thank you it worked :)

          – YoFreakinLo
          Mar 21 at 23:05



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55282034%2fqt-qpushbutton-in-designer-form-class-widget-with-mainwindow-parent-cant-be-c%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?