Welcome!

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

SignUp Now!

Search results

  1. Lalremruata

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

    Yes, I did check the code but it is not working as I expect. It is not calling th UI files. Let me attach all the files hoping you can help.
  2. Lalremruata

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

    Here s my whole codes, I will be grateful if you could help. I am a self learner and a newbie in python and sometime it is hard to grabs the meaning. import sqlite3 from PyQt5 import QtWidgets, uic, QtCore import sys from PyQt5.QtCore import QTime, QDate, QTimer, QRegExp, Qt from PyQt5.QtGui...
  3. Lalremruata

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

    Thanks for your reply. What I want to do is displaying other relevant data (column value) to be displayed in the label/textbox whenever the combobox value is changed. My expectation: If combobox value 'mango' is selected: label_1 = MGO label_2 = 20 label_3 = 150 and if combobox value 'apple'...
  4. 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...
  5. Lalremruata

    Hello everybody.

    It is good to have coder-friend and I expect joining this forum is a blessings.
  6. 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