当前位置:网站首页>QT:QSS自定义QToolButton实例
QT:QSS自定义QToolButton实例
2022-07-03 09:38:00 【C和C++技术博客】
QT:QSS自定义QToolButton实例
QToolButton 共有三种类型。
QToolButton 没有菜单。 在这种情况下,QToolButton 的样式与 QPushButton 完全相同。
QToolButton 有一个菜单,并且将 QToolButton::popupMode 设置为 QToolButton::DelayedPopup 或 QToolButton::InstantPopup。 在这种情况下,QToolButton 的样式与带有菜单的 QPushButton 完全相同。
QToolButton 将其 QToolButton::popupMode 设置为 QToolButton::MenuButtonPopup。
我们将其样式如下:
QToolButton {
/* all types of tool button */
border: 2px solid #8f8f91;
border-radius: 6px;
background-</
边栏推荐
- Leetcode刷题---704
- UI interface design related knowledge (I)
- [untitled]
- 6、 Data definition language of MySQL (1)
- Leetcode skimming ---35
- [roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B
- Softmax regression (pytorch)
- 小文件专项
- Leetcode skimming ---202
- Data captured
猜你喜欢
Set ArrayList nested map set loop traversal
Multilayer perceptron (pytorch)
Realize an online examination system from zero
Jetson TX2 刷机
Weight decay (pytorch)
神经网络入门之矩阵计算(Pytorch)
6、 Data definition language of MySQL (1)
Leetcode skimming ---367
A complete mall system
EFFICIENT PROBABILISTIC LOGIC REASONING WITH GRAPH NEURAL NETWORKS
随机推荐
Leetcode刷题---367
Mysql--索引原理+如何使用
Leetcode刷题---977
Bidding website architecture project progress -- Network Security
Detailed cross validation and grid search -- sklearn implementation
C语言项目:学生成绩系统
Unity学习笔记:联网游戏Pixel Adventure 1学习过程&纠错心得
六、MySQL之数据定义语言(一)
Tensorflow—Image segmentation
Practical part: conversion of Oracle Database Standard Edition (SE) to Enterprise Edition (EE)
Jupiter notebook changing font style and font size
Install yolov3 (Anaconda)
大型电商项目-环境搭建
Leetcode刷题---374
How to hide cvxpy warnings: warn: a- > P (column pointers) not strictly increasing, column x empty?
Chiyou (), a specific mythical image, is also gradually abstracted as a dramatic character type "Jing". "Jing", born in Dan Dynasty and ugly at the end, is the earliest "profession" in Chinese drama
[ultra detailed] implement soft and hard interval SVM based on sklearn
Flink--Chain的条件源码分析
Buy health products for parents
Content type ‘application/x-www-form-urlencoded; charset=UTF-8‘ not supported