我正在尝试实施Google Oauth功能.这就是我的程序运行方式.首先,index.jsp文件运行并打开一个页面,如下所示:

我的index.jsp代码是:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Website</title>
</head>
<style>
h1 {
font-family: Bookman;
font-size: 150px;
font-style: normal;
font-variant: normal;
font-weight: 800;
line-height: 26.4px;
text-color: white;
text-align: center;
}
p {
font-family: Bookman;
font-size: 50px;
font-style: normal;
font-variant: normal;
font-weight: 800;
line-height: 26.4px;
text-color: white;
text-align: center;
}
.main_background{
background-image: url("img/main_page_background.jpg");
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
<body class=main_background>
<h1 …Run Code Online (Sandbox Code Playgroud)我最近了解了 QTabWidget 并尝试在 python 中使用它。我的问题是,我可以更改每个选项卡的高度、宽度和背景吗?
我尝试做
self.Tab1.setStyleSheet("background: white")
Run Code Online (Sandbox Code Playgroud)
但这没有任何作用。
提前致谢。
eclipse ×1
google-oauth ×1
html ×1
javascript ×1
pyqt ×1
pyqt4 ×1
python ×1
qtabwidget ×1
servlets ×1