Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mikes zhang
001
提交
9f4ba8ec
0
001
项目概览
mikes zhang
/
001
通知
6
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
0
001
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
未验证
提交
9f4ba8ec
编写于
2月 05, 2021
作者:
L
Leodanis Pozo Ramos
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
TR update: Contact book
上级
d8c6da52
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
11 addition
and
51 deletion
+11
-51
python-contact-book/source_code_final/requirements.txt
python-contact-book/source_code_final/requirements.txt
+1
-1
python-contact-book/source_code_final/rpcontacts/__init__.py
python-contact-book/source_code_final/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_final/rpcontacts/database.py
python-contact-book/source_code_final/rpcontacts/database.py
+0
-1
python-contact-book/source_code_final/rpcontacts/main.py
python-contact-book/source_code_final/rpcontacts/main.py
+1
-1
python-contact-book/source_code_final/rpcontacts/views.py
python-contact-book/source_code_final/rpcontacts/views.py
+1
-1
python-contact-book/source_code_step_1/rpcontacts/__init__.py
...on-contact-book/source_code_step_1/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_1/rpcontacts/main.py
python-contact-book/source_code_step_1/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_2/rpcontacts/__init__.py
...on-contact-book/source_code_step_2/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_2/rpcontacts/main.py
python-contact-book/source_code_step_2/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_3/rpcontacts/__init__.py
...on-contact-book/source_code_step_3/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_3/rpcontacts/database.py
...on-contact-book/source_code_step_3/rpcontacts/database.py
+0
-1
python-contact-book/source_code_step_3/rpcontacts/main.py
python-contact-book/source_code_step_3/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_4/rpcontacts/__init__.py
...on-contact-book/source_code_step_4/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_4/rpcontacts/database.py
...on-contact-book/source_code_step_4/rpcontacts/database.py
+0
-1
python-contact-book/source_code_step_4/rpcontacts/main.py
python-contact-book/source_code_step_4/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_5/rpcontacts/__init__.py
...on-contact-book/source_code_step_5/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_5/rpcontacts/database.py
...on-contact-book/source_code_step_5/rpcontacts/database.py
+0
-1
python-contact-book/source_code_step_5/rpcontacts/main.py
python-contact-book/source_code_step_5/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_5/rpcontacts/views.py
python-contact-book/source_code_step_5/rpcontacts/views.py
+1
-1
python-contact-book/source_code_step_6/rpcontacts/__init__.py
...on-contact-book/source_code_step_6/rpcontacts/__init__.py
+0
-5
python-contact-book/source_code_step_6/rpcontacts/database.py
...on-contact-book/source_code_step_6/rpcontacts/database.py
+0
-1
python-contact-book/source_code_step_6/rpcontacts/main.py
python-contact-book/source_code_step_6/rpcontacts/main.py
+1
-1
python-contact-book/source_code_step_6/rpcontacts/views.py
python-contact-book/source_code_step_6/rpcontacts/views.py
+1
-1
未找到文件。
python-contact-book/source_code_final/requirements.txt
浏览文件 @
9f4ba8ec
PyQt5==5.15.
1
PyQt5==5.15.
2
python-contact-book/source_code_final/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_final/rpcontacts/database.py
浏览文件 @
9f4ba8ec
...
...
@@ -35,5 +35,4 @@ def createConnection(databaseName):
return
False
_createContactsTable
()
return
True
python-contact-book/source_code_final/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -11,7 +11,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Connect to the database before creating any window
...
...
python-contact-book/source_code_final/rpcontacts/views.py
浏览文件 @
9f4ba8ec
...
...
@@ -144,7 +144,7 @@ class AddDialog(QDialog):
"Error!"
,
f
"You must provide a contact's
{
field
.
objectName
()
}
"
,
)
# self.data = None
self
.
data
=
None
# Reset .data
return
self
.
data
.
append
(
field
.
text
())
...
...
python-contact-book/source_code_step_1/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_1/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -10,7 +10,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Create the main window
...
...
python-contact-book/source_code_step_2/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_2/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -10,7 +10,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Create the main window
...
...
python-contact-book/source_code_step_3/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_3/rpcontacts/database.py
浏览文件 @
9f4ba8ec
...
...
@@ -35,5 +35,4 @@ def createConnection(databaseName):
return
False
_createContactsTable
()
return
True
python-contact-book/source_code_step_3/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -11,7 +11,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Connect to the database before creating any window
...
...
python-contact-book/source_code_step_4/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_4/rpcontacts/database.py
浏览文件 @
9f4ba8ec
...
...
@@ -35,5 +35,4 @@ def createConnection(databaseName):
return
False
_createContactsTable
()
return
True
python-contact-book/source_code_step_4/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -11,7 +11,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Connect to the database before creating any window
...
...
python-contact-book/source_code_step_5/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_5/rpcontacts/database.py
浏览文件 @
9f4ba8ec
...
...
@@ -35,5 +35,4 @@ def createConnection(databaseName):
return
False
_createContactsTable
()
return
True
python-contact-book/source_code_step_5/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -11,7 +11,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Connect to the database before creating any window
...
...
python-contact-book/source_code_step_5/rpcontacts/views.py
浏览文件 @
9f4ba8ec
...
...
@@ -114,7 +114,7 @@ class AddDialog(QDialog):
"Error!"
,
f
"You must provide a contact's
{
field
.
objectName
()
}
"
,
)
# self.data = None
self
.
data
=
None
# Reset .data
return
self
.
data
.
append
(
field
.
text
())
...
...
python-contact-book/source_code_step_6/rpcontacts/__init__.py
浏览文件 @
9f4ba8ec
...
...
@@ -2,9 +2,4 @@
"""This module provides the rpcontacts package."""
import
os
# Make sure Qt works on macOS Big Sur
os
.
environ
[
"QT_MAC_WANTS_LAYER"
]
=
"1"
__version__
=
"0.1.0"
python-contact-book/source_code_step_6/rpcontacts/database.py
浏览文件 @
9f4ba8ec
...
...
@@ -35,5 +35,4 @@ def createConnection(databaseName):
return
False
_createContactsTable
()
return
True
python-contact-book/source_code_step_6/rpcontacts/main.py
浏览文件 @
9f4ba8ec
...
...
@@ -11,7 +11,7 @@ from .views import Window
def
main
():
"""RP Contacts
'
main function."""
"""RP Contacts main function."""
# Create the application
app
=
QApplication
(
sys
.
argv
)
# Connect to the database before creating any window
...
...
python-contact-book/source_code_step_6/rpcontacts/views.py
浏览文件 @
9f4ba8ec
...
...
@@ -144,7 +144,7 @@ class AddDialog(QDialog):
"Error!"
,
f
"You must provide a contact's
{
field
.
objectName
()
}
"
,
)
# self.data = None
self
.
data
=
None
# Reset .data
return
self
.
data
.
append
(
field
.
text
())
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录