Hidden "ADD" button keeps reappearing in the PyQt5 table after new rows are added using "Enter Details"
-
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" functionii)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
-
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" functionii)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
@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.