Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. collecting data from line edit and pass it through a button to show it within a group box
Forum Updated to NodeBB v4.3 + New Features

collecting data from line edit and pass it through a button to show it within a group box

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 345 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Daemonitas
    wrote on last edited by Daemonitas
    #1

    So I am currently making a budgeting app and I ran into a problem.
    How do i collect the data and when i press add, it will came out as a group box in the main window with the information that i fill in (progress bar, label, etc).
    from this
    aa420279-f610-4cb9-876b-0e7cdef71356-f10bebc2523373f7375c7eef62d0267.png

    6d4819a8-cdc7-43ab-930b-d2fbd6570095-c9cb0baf45999cd1b52928a43c554e1.png

    and to make the add button show a label, and a progress bar in
    814a4b67-ee00-4655-81fb-1a494e805148-d24a0898c247c2b29fa4d14719b5b87.png

    jsulmJ 1 Reply Last reply
    0
    • D Daemonitas

      So I am currently making a budgeting app and I ran into a problem.
      How do i collect the data and when i press add, it will came out as a group box in the main window with the information that i fill in (progress bar, label, etc).
      from this
      aa420279-f610-4cb9-876b-0e7cdef71356-f10bebc2523373f7375c7eef62d0267.png

      6d4819a8-cdc7-43ab-930b-d2fbd6570095-c9cb0baf45999cd1b52928a43c554e1.png

      and to make the add button show a label, and a progress bar in
      814a4b67-ee00-4655-81fb-1a494e805148-d24a0898c247c2b29fa4d14719b5b87.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Daemonitas Are you familiar with https://doc.qt.io/qt-6/signalsandslots.html ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Daemonitas Are you familiar with https://doc.qt.io/qt-6/signalsandslots.html ?

        D Offline
        D Offline
        Daemonitas
        wrote on last edited by
        #3

        @jsulm
        Im a little bit familliar with it, since im new to Qt.

        JonBJ 1 Reply Last reply
        0
        • D Daemonitas

          @jsulm
          Im a little bit familliar with it, since im new to Qt.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Daemonitas
          Well, nearly everything in Qt is done with them, so suggest you read that linked page, and then read it again once finished :) Then apply to your case (e.g. "press add" will raise a signal, you will want a slot on that, and do whatever you want there).

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved