title: Select a text in PYQT to copy
body: <p>I designed a windows desktop app with QT Designer and PYQT5. The problem is that, I can not select any item, text on main window, or on qtablewidget to paste it manually somewhere else. It will make things easier for users not for me. `</p>
  
  <pre><code>from PyQt5 import QtCore, QtGui, QtWidgets
  
  
  class Ui_MainWindow(object):
      def setupUi(self, MainWindow):
          MainWindow.setObjectName("MainWindow")
          MainWindow.resize(800, 600)
          self.centralwidget = QtWidgets.QWidget(MainWindow)
          self.centralwidget.setObjectName("centralwidget")
          self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
          self.tableWidget.setGeometry(QtCore.QRect(260, 160, 256, 192))
          self.tableWidget.setRowCount(3)
          self.tableWidget.setColumnCount(2)
          self.tableWidget.setObjectName("tableWidget")
          item = QtWidgets.QTableWidgetItem()
          self.tableWidget.setItem(1, 0, item)
          self.input_gunduz = QtWidgets.QLineEdit(self.centralwidget)
          self.input_gunduz.setGeometry(QtCore.QRect(370, 70, 71, 20))
          self.input_gunduz.setObjectName("input_gunduz")
          self.label_5 = QtWidgets.QLabel(self.centralwidget)
          self.label_5.setGeometry(QtCore.QRect(220, 70, 101, 21))
          font = QtGui.QFont()
          font.setPointSize(9)
          font.setBold(True)
          font.setWeight(75)
          self.label_5.setFont(font)
          self.label_5.setObjectName("label_5")
          MainWindow.setCentralWidget(self.centralwidget)
          self.menubar = QtWidgets.QMenuBar(MainWindow)
          self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
          self.menubar.setObjectName("menubar")
          MainWindow.setMenuBar(self.menubar)
          self.statusbar = QtWidgets.QStatusBar(MainWindow)
          self.statusbar.setObjectName("statusbar")
          MainWindow.setStatusBar(self.statusbar)
  
          self.retranslateUi(MainWindow)
          QtCore.QMetaObject.connectSlotsByName(MainWindow)
  
      def retranslateUi(self, MainWindow):
          _translate = QtCore.QCoreApplication.translate
          MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
          __sortingEnabled = self.tableWidget.isSortingEnabled()
          self.tableWidget.setSortingEnabled(False)
          item = self.tableWidget.item(1, 0)
          item.setText(_translate("MainWindow", "trial"))
          self.tableWidget.setSortingEnabled(__sortingEnabled)
          self.label_5.setText(_translate("MainWindow", "Gündüz (kWhr):"))
  
  
  if __name__ == "__main__":
      import sys
      app = QtWidgets.QApplication(sys.argv)
      MainWindow = QtWidgets.QMainWindow()
      ui = Ui_MainWindow()
      ui.setupUi(MainWindow)
      MainWindow.show()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>`</p>
  
  <p>The code is as seen above. Please help me make the main window selectable</p>