Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

pyqt5

  1. Lalremruata

    Python How to fetch database row and display in Qlabels with QcomboBox selected value in PyQt5

    I want to fetch database row values and display it in some labels based upon the selected value of combo box. The combo box successfully display 'item_name' from table_1 in the combo box. Now, I want to display 'item_name' relevant row values (like item_price, item_code, item_qty etc) in...
  2. A

    Python How to pass additional information with PyQt5's: QTableWidget::cellDoubleClicked(int row, int column)

    I understand that the cellDoubleClicked method passes the row and the column to a specified function, but how can I send additional information as function arguments? For example the list the table was filled with. if I have the following fuction (with functools.partial imported): def...
  3. Lalremruata

    Python How to avoid Null or empty value in QLineedit of Pyqt5

    I tried to validate the QLineedit not to be empty without success. I did validator = QRegExpValidator(QRegExp(r'[0-9]+')) self.lineEdit_2.setValidator(validator) it is working. But def temp_var(self, text): cur_txt = text if cur_txt == 'Cheque' or cur_txt == 'Wire Transfer' or...
Back
Top Bottom