当前位置:网站首页>QT: QSS custom qtableview instance
QT: QSS custom qtableview instance
2022-07-03 10:53:00 【C and c++ technology blog】
Suppose we wish we were QTableView The item selected in has a bubble gum pink gradient to white as its background .
This can be done by selection-background-color Attribute implementation , The required syntax is :
QTableView {
selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5
边栏推荐
- Classification (data consolidation and grouping aggregation)
- 测试Leader应该做哪些事
- How to make a blood bar in the game
- T5 的尝试
- MAUI Developer Day in GCR
- A detailed explanation of vector derivative and matrix derivative
- MySQL checks for automatic updates at 0:00 every day
- 那些一门心思研究自动化测试的人,后来怎样了?
- QT:QSS自定义 QTreeView实例
- UI interface design related knowledge (I)
猜你喜欢
[combinatorial mathematics] pigeon's nest principle (simple form of pigeon's nest principle | simple form examples of pigeon's nest principle 1, 2, 3)
Multiple IO transfer - preamble
Pytoch has been installed, but vs code still displays no module named 'torch‘
T5 的尝试
Take you into the cloud native database industry, Amazon Aurora
[roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B
Programming examples of stm32f1 and stm32subeide -tm1637 drives 4-bit 7-segment nixie tubes
那些一門心思研究自動化測試的人,後來怎樣了?
STM32F1与STM32CubeIDE编程实例-TM1637驱动4位7段数码管
Basic theoretical knowledge of software testing -- app testing
随机推荐
Qt:qss custom qmenubar instance
ThreadLocal principle and usage scenario
Cache routing component
Day 7 small exercise
QT:QSS自定义 QTabWidget 和 QTabBar实例
Iterator iterator enhances for loop
The solution that prompts "system group policy prohibits the installation of this device" under win10 system (home version has no group policy)
Mysql--索引原理+如何使用
Extern keyword
Leetcode skimming ---278
QT:QSS自定义 QMenuBar实例
Hou Jie -- STL source code analysis notes
Data captured
Multiple IO transfer - preamble
QT:QSS自定义QListView实例
Common scenarios in which Seata distributed transactions fail and do not take effect (transactions do not rollback)
MAUI Developer Day in GCR
Use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
MySQL reports an error "expression 1 of select list is not in group by claim and contains nonaggre" solution
.Net Core-做一个微信公众号的排队系统