Skip to content

Commit 1c05545

Browse files
v1.6.3
1. Improve the function intelligent prompt function. 2. Fix the onselect event of ComboBox. 3. Add font to restore the default function. 4. Add "show" and "hide" functions to the control. 5. Modify the bug of magnetic attraction function. 6. During source code editing, the right-click menu adds copy, cut and paste functions. 7. Update documentation
1 parent ec12ec6 commit 1c05545

7 files changed

Lines changed: 417 additions & 206 deletions

API_Manual.md

Lines changed: 184 additions & 64 deletions
Large diffs are not rendered by default.

API_Manual_Cn.md

Lines changed: 147 additions & 85 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
| Author | Honghaier |
88
| -------: | ---------- |
9-
| Version | V1.5.1 |
10-
| Last Update Date | 2021-07-06 |
9+
| Version | V1.6.3 |
10+
| Last Update Date | 2021-12-05 |
1111
| Twitter: | honghaier_2020@Honghaier_game |
1212
| Email: | 285421210@qq.com |
1313
| Twitter: | honghaier_2020@Honghaier_game |
@@ -31,7 +31,7 @@ Tkinder designer is a development tool based on python, which is used to develop
3131

3232
## What are the functions of TK designer?
3333

34-
Tkinder designer v1.5.1 includes the following ten main functions:
34+
TkinderDesigner includes the following ten main functions:
3535

3636

3737

@@ -53,7 +53,7 @@ Tkinder designer v1.5.1 includes the following ten main functions:
5353

5454
9. ###### Package program: call Python command to package exe for the project.
5555

56-
10. ###### Custom module import: import and call the custom module.
56+
10. ###### Componentization and user-defined module import: directly save the current interface functions as components and call them flexibly, or import and call user-defined modules.
5757

5858

5959

@@ -179,22 +179,6 @@ In this example, we can see that when you click the tree item file on the left,
179179

180180
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/66.png)
181181

182-
#### <4>."Web Crawler" project
183-
184-
![](C:\Users\28542\Desktop\TKinterDesigner\67.png)
185-
186-
Web crawler is now a hot direction, we also put it into the project template, in this project, we implemented a web crawler image project based on the multi document framework.
187-
188-
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/68.png)
189-
190-
191-
192-
In order to attract more people, here we use an example of downloading beautiful pictures to demonstrate. If you are in a bad mood sometimes, you can relax your eyes more.
193-
194-
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/69.png)
195-
196-
The above are the template examples of four new projects. Although they can not meet all the project requirements, I will continue to expand them. You are also welcome to put forward valuable directional suggestions. If you are selected, I will add them to the template and provide them.
197-
198182

199183

200184
### (2) Open project:
@@ -237,11 +221,17 @@ These cases include:
237221

238222
7. **Stock price query**:demonstrates how to call the stock query interface for stock query.
239223

240-
![](C:\Users\28542\Desktop\TKinterDesigner\55.png)
224+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/55.png)
241225

242226
8. **Browser**:demonstrates how to develop your own browser software.
243227

244-
![](C:\Users\28542\Desktop\TKinterDesigner\56.png)
228+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/56.png)
229+
230+
9. **web crawler **: demonstrates how to develop your own beauty crawler software.
231+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/69.png)
232+
233+
10. **Pdf file merge**: demonstrates how to merge and split PDF files.
234+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/300.png)
245235

246236
These examples are designed and developed with TK inter designer, which makes us feel proud. In the whole process, we don't spend much time on interface design and event processing, but only focus on the core function class to quickly complete the development of the project. Later, we will add more example projects to help you better learn and master TK inter designer.
247237

@@ -715,11 +705,31 @@ Click the OK button and tkinder designer will start calling the packer to packag
715705

716706
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/38.png)
717707

718-
### 10. Custom module import
708+
### 10. Componentization and custom module import
709+
710+
Componentization is an indispensable means in the rapid development process. We can package all or part of the controls in the interface to generate a component at any time during the development process, and import and use it in the "interface" bar of the toolbar.
711+
712+
The method is to right-click the control tree item on the right, click componentization in the pop-up menu, then enter the component name in the pop-up dialog box, and click OK to generate the component.
713+
714+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/302.png)
715+
716+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/303.png)
717+
718+
After generating the component, we can import and use it in other projects.
719+
720+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/304.png)
721+
722+
Drag the componentized interface to the current interface. It will exist as an independent control with the original logic.
723+
724+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/305.png)
725+
726+
When running, you will find that this method can greatly improve your development in the form of component, and make your engineering code very efficient and reusable.
727+
728+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/306.png)
719729

720730
Custom module is designed to enable developers to interact with controls through self-designed module classes and complete relatively independent functions. You can import module classes in the interface designer and easily set the properties of module classes, including passing interface controls to it as parameters. We hope to provide a large number of available modules for developers in the future. At present, we provide a few modules in the "ModuleMarket" to verify this scheme, but only if you register your account number can you see the component market.
721731

722-
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/39.png)
732+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/309.png)
723733

724734
we can see the components queried by express express. We can click Install. After installation, it will be placed in the market of the current tool Market_com directory
725735

@@ -836,7 +846,7 @@ When finished, click "run" in the upper right corner to run it. We can see the p
836846

837847
In most cases, the program we use Tkinter to create is not beautiful enough. Although it does not affect the function development, everyone has a love for beauty. It's best if we can make the program more beautiful. However, since most of our developers and users are programmers, it's best to simplify the beautification part. Therefore, I hope to provide a good color scheme as a skin for developers to make the program more beautiful. Therefore, we also launched the skin market, with only official skin for the time being, In the future, we will open up to the majority of developers and users to upload and submit, so as to provide better skin for everyone. But the premise is that you have to register an account to see the component market.
838848

839-
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/75.png)
849+
![](http://www.tkinterdesigner.com/ReadMeImages_Cn/310.png)
840850

841851
​ We can click the "not installed" text on the "black gold theme" icon here to complete the installation.
842852

@@ -893,5 +903,5 @@ As you can see here, I believe the readers have worked very hard. In the process
893903

894904
​ Honghaier
895905

896-
​ 2021/07/06
906+
​ 2021/12/05
897907

README_Cn.md

Lines changed: 50 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
| Author | Honghaier |
88
| -------: | ---------- |
9-
| Version | V1.5.5 |
10-
| Last Update Date | 2021-07-31 |
9+
| Version | V1.6.3 |
10+
| Last Update Date | 2021-12-05 |
1111
| Twitter: | honghaier_2020@Honghaier_game |
1212
| Email: | 285421210@qq.com |
1313
| QQ Group | 100180960 |
@@ -31,31 +31,28 @@ GitHub: https://github.com/honghaier-game/TKinterDesigner.git
3131

3232
## TKinterDesigner都有什么功能 ?
3333

34-
Tkinterdesigner v1.5.1 版本包括以下十项主要功能:
34+
Tkinterdesigner v1.6.3 版本包括以下十项主要功能:
3535

36+
1. ###### 项目管理:创建、打开、保存项目,方便的管理它们。
3637

38+
2. ###### 文件管理:创建界面、文件和导入项目资源,方便的管理它们。
3739

38-
1. ###### 项目管理:创建并打开项目。
39-
40-
2. ###### 文件管理:创建界面、创建文件和导入项目资源。
41-
42-
3. ###### 界面设计:通过拖拽方式所见即所得的设计Tkinter界面。
40+
3. ###### 界面设计:通过对界面控件进行拖拽来方便快捷的设计界面。
4341

4442
4. ###### 控件设置:对控件进行基本属性的设置。
4543

4644
5. ###### 变量绑定:为Tkinter控件绑定自定义变量。
4745

48-
6. ###### 事件响应:为Tkinter的控制建立事件和函数之间的映射。
46+
6. ###### 事件函数映射:为Tkinter的控制建立事件和函数之间的映射。
4947

50-
7. ###### 逻辑编写:事件函数的逻辑代码编写。
48+
7. ###### 逻辑代码编写:事件函数的逻辑代码编写。
5149

5250
8. ###### 调试运行:调用Python命令调试、运行项目。
5351

5452
9. ###### 打包程序:调用Python命令为项目打包exe。
5553

56-
10. ###### 自定义模块导入:导入并调用自定义模块
54+
10. ###### 组件化与自定义模块导入:直接将当前界面功能保存为组件并灵活调用,或者导入并调用自定义模块
5755

58-
5956

6057
## TKinterDesigner启动:
6158

@@ -199,21 +196,7 @@ Tkinterdesigner v1.5.1 版本包括以下十项主要功能:
199196

200197
![](http://www.tkinterdesigner.com/ReadMeImages/66.png)
201198

202-
#### <4>."网络爬虫"项目
203-
204-
![](http://www.tkinterdesigner.com/ReadMeImages/67.png)
205-
206-
​ 网络爬虫现在是一个热点方向,我们也把他放入到项目模版里了,在这个项目中,我们基于多文档的框架,实现了一个网络爬图片的工程。
207-
208-
![](http://www.tkinterdesigner.com/ReadMeImages/68.png)
209-
210-
211-
212-
​ 为了更好的吸引人气,这里我们用一个下载美女图片的例子来演示,如果你有时候心情不太好,可以多放松一下眼睛。
213-
214-
![](http://www.tkinterdesigner.com/ReadMeImages/69.png)
215-
216-
​ 以上就是四种新建项目的模版示例,虽然还不能满足所有的项目需求,但是我会继续努力扩增,也欢迎你提出宝贵的方向性建议,如果入选,我会将它增加到模版中提供出来。
199+
​ 以上就是三种新建项目的模版示例,虽然还不能满足所有的项目需求,但是我会继续努力扩增,也欢迎你提出宝贵的方向性建议,如果入选,我会将它增加到模版中提供出来。
217200

218201

219202

@@ -263,6 +246,14 @@ Tkinterdesigner v1.5.1 版本包括以下十项主要功能:
263246

264247
![](http://www.tkinterdesigner.com/ReadMeImages/56.png)
265248

249+
​ 9.**网络爬虫**:演示了如何开发一个自己的美女爬虫软件。
250+
251+
![](http://www.tkinterdesigner.com/ReadMeImages/69.png)
252+
253+
​ 10.**PDF文件合并**:演示了如何对PDF文件进行操作,包括合并和拆分。
254+
255+
![](http://www.tkinterdesigner.com/ReadMeImages/300.png)
256+
266257
这些实例都是使用TKinterDesigner设计开发的,它让我们感到由衷的自豪,因为整个过程中,我们没有再为界面设计和事件处理花费多少时间,只把精力放在核心功能类上即可快速完成项目的开发。后面我们会加入更多的实例工程,以帮助大家更好的学习和掌握TKinterDesigner。
267258

268259
@@ -700,6 +691,8 @@ Tkinterdesigner v1.5.1 版本包括以下十项主要功能:
700691

701692
​ 4.F11键,执行下一行,如果有函数,进入函数。
702693

694+
695+
703696
### 9. 打包EXE
704697

705698
在完成我们自己的程序后,我们希望将程序打包为EXE并发布给用户。我们可以直接点击右上角的“发布”按钮,选择输出目录,然后输入要打包的EXE的名称。不过如果你未登录,是不能打包的。
@@ -714,11 +707,33 @@ Tkinterdesigner v1.5.1 版本包括以下十项主要功能:
714707

715708
![](http://www.tkinterdesigner.com/ReadMeImages/38.png)
716709

717-
### 10. 自定义模块导入
710+
### 10. 组件化与自定义模块导入
711+
712+
​ 组件化是快速化开发过程中必不可少的手段,我们可以在开发过程中随时将界面中的全部或者一部分控件打包生成一个组件,并通过在工具条的”界面“栏里导入并使用。
713+
714+
​ 方法就是在右边的控件树项上右键,在弹出菜单里点击”组件化“,然后在弹出对话框里输入组件名称,点击”确定“即可生成组件。
715+
716+
![](http://www.tkinterdesigner.com/ReadMeImages/302.png)
717+
718+
![](http://www.tkinterdesigner.com/ReadMeImages/303.png)
719+
720+
​ 完成组件的生成后,我们可以在其它项目里进行导入和使用。
721+
722+
![](http://www.tkinterdesigner.com/ReadMeImages/304.png)
723+
724+
​ 将组件化后的界面拖动到当前界面中,它会以一个独立的控件的形式存在,并具备原有逻辑。
725+
726+
![](http://www.tkinterdesigner.com/ReadMeImages/305.png)
727+
728+
​ 运行起来,你就发现,这种方式可以大大的以组件化的形式提升你的开发,并使你的工程代码得到非常高效的可重用性。
729+
730+
![](http://www.tkinterdesigner.com/ReadMeImages/306.png)
731+
732+
718733

719734
​ 自定义模块是为了让开发者通过自编写的模块类与控件进行交互,完成相对独立的功能,您可以在界面设计器中将模块类导入,并轻松的设置模块类的属性,包括将接口控件作为参数传递给它。我们希望将来提供大量的可用模块给开发者使用,目前我们在”组件市场“提供了少许模块来验证这个方案,但前提是您得是注册账号才可以看到组件市场。
720735

721-
![](http://www.tkinterdesigner.com/ReadMeImages/39.png)
736+
![](http://www.tkinterdesigner.com/ReadMeImages/309.png)
722737

723738
​ 在”组件市场“面板里,我们可以看到Express 快递查询的组件,我们可以点击安装,安装成后后,它会被放置在当前工具目录的Market_com目录中。
724739

@@ -819,7 +834,9 @@ class   Express:
819834

820835
![](http://www.tkinterdesigner.com/ReadMeImages/45.png)
821836

837+
​ 如果你想制作自已的组件,也可以参考组件文件的制作,并交提交到市场。
822838

839+
![](http://www.tkinterdesigner.com/ReadMeImages/301.png)
823840

824841
## 关于美化:应用皮肤及自定义控件样式。
825842

@@ -865,7 +882,9 @@ class   Express:
865882

866883
![](http://www.tkinterdesigner.com/ReadMeImages/83.png)
867884

868-
885+
​ 如果你想制作自已的皮肤,也可以参考皮肤文件修改配色,交提交到市场。
886+
887+
![](http://www.tkinterdesigner.com/ReadMeImages/310.png)
869888

870889
### 关于我
871890

@@ -881,5 +900,5 @@ class   Express:
881900

882901
​ Honghaier
883902

884-
​ 2021/07/07
903+
​ 2021/12/05
885904

TKinterDesigner-v1.6.3-win32.exe

49 MB
Binary file not shown.

TKinterDesigner-v1.6.3-win64.exe

45.2 MB
Binary file not shown.

使用说明.pdf

743 KB
Binary file not shown.

0 commit comments

Comments
 (0)