Dialog
0
0
400
646
Dialog
-
QTabBar::tab:bottom {
min-width: 15px;
padding: 3px 15px 3px 10px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 35px 21px;
}
QTabBar::tab:left {
padding: 10px 3px 15px 3px;
border: 1px solid #7f7f7f;
border-left-width: 0px;
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 21px 35px;
margin-right: 2px;
}
QTabBar:right {subcontrol-origin: padding;}
QTabBar::tab:right {
padding: 10px 3px 15px 5px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-left-radius: 21px 35px;
margin-left: 2px;
}
QTabBar::tab:bottom:!last { margin-right: -10px;}
QTabBar::tab:left:!last { margin-bottom: -10px;}
QTabBar::tab:right:!last { margin-bottom: -10px;}
QTabBar::tab:bottom:selected {
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
}
QTabBar::tab:left:selected {
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabBar::tab:right:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabWidget::South
3
Tab 1
Page
Page
Tab 2
-
QTabBar::tab:bottom {
min-width: 15px;
padding: 3px 15px 3px 10px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 35px 21px;
}
QTabBar::tab:left {
padding: 10px 3px 15px 3px;
border: 1px solid #7f7f7f;
border-left-width: 0px;
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 21px 35px;
margin-right: 2px;
}
QTabBar:right {subcontrol-origin: padding;}
QTabBar::tab:right {
padding: 10px 3px 15px 5px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-left-radius: 21px 35px;
margin-left: 2px;
}
QTabBar::tab:bottom:!last { margin-right: -10px;}
QTabBar::tab:left:!last { margin-bottom: -10px;}
QTabBar::tab:right:!last { margin-bottom: -10px;}
QTabBar::tab:bottom:selected {
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
}
QTabBar::tab:left:selected {
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabBar::tab:right:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabWidget::East
3
Tab 1
Page
Page
Tab 2
-
QTabBar::tab:bottom {
min-width: 15px;
padding: 3px 15px 3px 10px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 35px 21px;
}
QTabBar::tab:left {
padding: 10px 3px 15px 3px;
border: 1px solid #7f7f7f;
border-left-width: 0px;
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-right-radius: 21px 35px;
margin-right: 2px;
}
QTabBar:right {subcontrol-origin: padding;}
QTabBar::tab:right {
padding: 10px 3px 15px 5px;
border: 1px solid #7f7f7f;
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #FFFFFF, stop: 1 #909090);
border-bottom-left-radius: 21px 35px;
margin-left: 2px;
}
QTabBar::tab:bottom:!last { margin-right: -10px;}
QTabBar::tab:left:!last { margin-bottom: -10px;}
QTabBar::tab:right:!last { margin-bottom: -10px;}
QTabBar::tab:bottom:selected {
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
}
QTabBar::tab:left:selected {
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabBar::tab:right:selected {
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
}
QTabWidget::West
3
Tab 1
Page
Page
Tab 2
-
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok
buttonBox
accepted()
Dialog
accept()
248
254
157
274
buttonBox
rejected()
Dialog
reject()
316
260
286
274