Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. push button
    Log in to post

    • UNSOLVED Push buttons on the buttom like a tab
      General and Desktop • widget qtabwidget push button • • deleted286  

      7
      0
      Votes
      7
      Posts
      339
      Views

      @jsulm Thank you
    • UNSOLVED Program exiting when closing QTcpServer and socket with a QPushButton
      General and Desktop • tcp push button sigsegv qt4.7.4 • • stordd  

      2
      0
      Votes
      2
      Posts
      102
      Views

      99.9999% probability you are trying to use the object you just deleted. If you call deleteLater on an object you then have to recreate it (e.g. with new) before using it or trying to delete it again
    • UNSOLVED QObject::connect: Cannot connect (null)::pressed to MainWindow::handleExecutionButton()
      General and Desktop • c++ connect push button • • barzaka12  

      2
      0
      Votes
      2
      Posts
      433
      Views

      Hi, What is that ??? Ui_MainWindow *form = new Ui_MainWindow(); try: connect(ui->startButton, SIGNAL (pressed()), SLOT (handleExecutionButton()));
    • SOLVED send Qtable widget selected items to list widget upon button click
      General and Desktop • qtcreator qtablewidget push button listwidget • • Kushan  

      8
      0
      Votes
      8
      Posts
      3366
      Views

      For future reference, this approach only works if you know in advance all the roles you will use. You can use KSelectionProxyModel instead if you need a proper general implementation
    • SOLVED How to properly delete a dynamically created pushbutton from a UI form?
      General and Desktop • delete push button customplugin dynamically ui-setupuithis • • Sh1gs  

      5
      0
      Votes
      5
      Posts
      6967
      Views

      Thank you @mrjj I will go ahead and mark this as solved then. I know my IP Editor isn't exactly elegant, but with the requirements I'm given and the restrictions, I've done the best I can.
    • SOLVED Send action Codes to PushButton
      General and Desktop • draw push button action lines • • M4RZB4Ni  

      10
      0
      Votes
      10
      Posts
      2737
      Views

      You could use a QRubberBand to setup the line and once you release it add the QGraphicsLineItem to your scene.
    • UNSOLVED how to enter a character to qlineEdits from pushButtons depending on the selected lineEdit
      General and Desktop • line edit push button • • Saad_Rafey  

      2
      0
      Votes
      2
      Posts
      605
      Views

      Hi look at this sample http://www.java2s.com/Code/Cpp/Qt/Calculatorwithpushbuttons.htm Shows how to hook up buttons etc. (its numeric keypad) you can change it to use QApplication::focusWidget () const to input to whatever LineEdit that is selected.
    • [SOLVED]How to open specific tab on pushbutton clicked in tabwidget?
      General and Desktop • tabs push button • • Ratzz  

      4
      0
      Votes
      4
      Posts
      3453
      Views

      @Jeroen3 Thanks for the reply. I tried using setCurrentIndex which helped me out . ui->tabWidget->setCurrentWidget(ui->tab);
    • [SOLVED]Closing Newwindow.
      General and Desktop • qt5 push button media player • • JasonB  

      3
      0
      Votes
      3
      Posts
      1049
      Views

      @joeQ Thanks man.
    • Check if selected signal are already present in an Qt Gui application
      General and Desktop • signal & slot push button • • Ratzz  

      1
      0
      Votes
      1
      Posts
      423
      Views

      No one has replied

    • Styled PushButton in checked state
      General and Desktop • stylesheet push button • • Andy314  

      6
      0
      Votes
      6
      Posts
      2044
      Views

      AFAIK, you can't, however you can still re-use it by using something like: QString styleSheet("%1:checked {background-color: lightgreen; border: 1px solid;} " "%1 {background-color: red; border: 1px solid; padding: 6px}"); myWidget->setStyleSheet(styleSheet.arg(myWidget->metaObject()->className()));
    • Push button clicked event executed simultaneously with returnedPressed() event of a LineEdit - *SOLVED*
      General and Desktop • line edit push button clicked returnpressed • • Raim  

      1
      0
      Votes
      1
      Posts
      645
      Views

      No one has replied