code: def setFontItalic(self, state):
          
          font = self.currentFont()
          font.setItalic(state)
          self.setCurrentFont(font)
docs: Toggles whehter or not the text is currently italic.
          
          :param      state | <bool>