Commit Graph

7 Commits (5f75a6d7d8c5526378ce612c30551db4eb26acee)

Author SHA1 Message Date
Jeremy HU 5f75a6d7d8 Fix component unselectable issue
If the initial Qt::DecorationRole give an empty QPixmap, the item will be unselectable sometimes.
So if nothing to show, should return an transparent image with the same size.
2022-10-06 21:16:21 +11:00
Jeremy HU e9b1c90220 Implement component preview reload 2022-10-06 20:05:09 +11:00
Jeremy HU 24e675911e Implement component preview image decorator 2022-10-05 22:34:56 +11:00
Jeremy HU 03a9be6d4f Implement tool button actions 2022-10-04 22:45:21 +11:00
Jeremy HU 9a6f0c39f8 Update tool buttons according to component selection 2022-10-04 20:50:39 +11:00
Jeremy HU efc6c09bbd Define preview grid view style 2022-10-03 09:04:46 +11:00
Jeremy HU b7b71b9c2e Prepare for implementation of component preview grid widget 2022-10-03 06:45:46 +11:00