Navigation

    Qt Forum

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

    • SOLVED toggle QLineSeries visibility with QPushButton & connect?
      General and Desktop • connect visibility qlineseries toggle • • pauledd  

      3
      0
      Votes
      3
      Posts
      785
      Views

      great! That works. With that I can spare the toggle functions at all. Thanks!
    • [SOLVED] QAction To Toggle QWidget
      General and Desktop • c++ qt5 slots qstackedwidget toggle • • Adept  

      7
      0
      Votes
      7
      Posts
      1917
      Views

      You could also simplify this a little: void MainWindow::menuToggled() { auto widget = (container->currentWidget() == menuWidget) ? mdiContainer : menuWidget; container->setCurrentwidget(widget); }