Solved QPushButton icon disable pixel algorithm
-
Hello, as title, anybody know the per-pixel color algorithm on icon of a QPushButton when it been set to disable? Thanks.
-
@Leon-Zhang if you trace it down to the QIcon::paint() method you'll see that it calls QGuiApplicationPrivate::applyQIconStyleHelper() to apply the state. How this method is written internally you'll have to find out yourself, I don't seem to have it.
-
@artwaw said in QPushButton icon disable pixel algorithm:
@Leon-Zhang if you trace it down to the QIcon::paint() method you'll see that it calls QGuiApplicationPrivate::applyQIconStyleHelper() to apply the state. How this method is written internally you'll have to find out yourself, I don't seem to have it.
@artwaw Could you please tell me where I can find(download or maybe already installed where on disk) Qt source code? Thanks.
-
@Leon-Zhang said in QPushButton icon disable pixel algorithm:
Could you please tell me where I can find