I'm writing a Pyqt5 GUI code but I'm facing a problem with organizing my code especially by setStyle because the style is to long what should I do? any advices Example
setStyleSheet("QPushButton{ color: #b1b1b1;"
" background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);"
" border-width: 1px;"
" border-color: #1e1e1e;"
" border-style: solid;"
" border-radius: 6;"
"padding: 3px;"
"font-size: 20px;"
" padding-left: 5px;"
"padding-right: 5px;"
"min-width: 40px;"
"} QPushButton::hover"
"{"
"background-color : #444444; color : green"
"}"
" QPushButton:pressed"
"{"
"background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop:
#2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);"
"}"
";")