Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Hidden "ADD" button keeps reappearing in the PyQt5 table after new rows are added using "Enter Details"
Forum Updated to NodeBB v4.3 + New Features

Hidden "ADD" button keeps reappearing in the PyQt5 table after new rows are added using "Enter Details"

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 252 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.
  • J Offline
    J Offline
    joker111
    wrote on last edited by
    #1

    Screenshot 2024-01-20 185429.png Screenshot 2024-01-20 185438.png Screenshot 2024-01-20 185448.png
    Hidden "ADD" button keeps reappearing when new rows are added to the PyQt5 table using "Enter Details"

    This is the link to my python file : https://drive.google.com/file/d/1ePiIq-96F5OjOv_5E5KMHwgnXuI-QAMB/view?usp=sharing

    • I want the ADD button to stay hidden even if I add new rows to the table.

    Some info abt the code :
    i) Table is created in "create_table" function

    ii)ADD button in the table is created in "create_button_widgetissued" and "create_button_widgetrecieved" function

    iii)New rows and buttons are added to the table in "enter_details" function

    iv)Signature dialog box is opened in "open_signature_dialog_issued" and open_signature_dialog_recieved" function. (it uses SignatureDialog class in the botttom of the code)

    v) "hiderec" and "hideiss" functions hide the ADD buttons in the table.

    vi)Visibility status of buttons is stored in "button_widgets[ ]" list.

    I've literally tried eveything. Googled it, used CHATGPT, nothing seems to work. PLEASE HELPPPP

    JonBJ 1 Reply Last reply
    0
    • J joker111

      Screenshot 2024-01-20 185429.png Screenshot 2024-01-20 185438.png Screenshot 2024-01-20 185448.png
      Hidden "ADD" button keeps reappearing when new rows are added to the PyQt5 table using "Enter Details"

      This is the link to my python file : https://drive.google.com/file/d/1ePiIq-96F5OjOv_5E5KMHwgnXuI-QAMB/view?usp=sharing

      • I want the ADD button to stay hidden even if I add new rows to the table.

      Some info abt the code :
      i) Table is created in "create_table" function

      ii)ADD button in the table is created in "create_button_widgetissued" and "create_button_widgetrecieved" function

      iii)New rows and buttons are added to the table in "enter_details" function

      iv)Signature dialog box is opened in "open_signature_dialog_issued" and open_signature_dialog_recieved" function. (it uses SignatureDialog class in the botttom of the code)

      v) "hiderec" and "hideiss" functions hide the ADD buttons in the table.

      vi)Visibility status of buttons is stored in "button_widgets[ ]" list.

      I've literally tried eveything. Googled it, used CHATGPT, nothing seems to work. PLEASE HELPPPP

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

      @joker111
      Can you not provide a minimal code example illustrating your issue if you want help? Rather than deleting your earlier post and expecting people to look at a whole external application code. If you get an answer, great, if not consider a small reproducer.

      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