├── .qmake.stash
├── IMG
├── 1.png
├── 2.png
├── 3.png
├── 4.png
└── 5.png
├── Layout.pro
├── Layout.pro.user
├── Layout.pro.user.4.8-pre1
├── Layout.pro.user.5ae11b2
├── Layout.pro.user.b2fb5da
├── Makefile
├── Makefile.Debug
├── Makefile.Release
├── MyDiary.sln
├── MyDiary.vcxproj
├── MyDiary.vcxproj.filters
├── MyDiary.vcxproj.user
├── README.md
├── debug
├── MyDiary.exe
├── MyDiary.ilk
├── MyDiary.log
├── MyDiary.pdb
├── MyDiary.tlog
│ ├── CL.command.1.tlog
│ ├── CL.read.1.tlog
│ ├── CL.write.1.tlog
│ ├── MyDiary.lastbuildstate
│ ├── custombuild.command.1.tlog
│ ├── custombuild.read.1.tlog
│ ├── custombuild.write.1.tlog
│ ├── link.command.1.tlog
│ ├── link.read.1.tlog
│ ├── link.write.1.tlog
│ ├── rc.command.1.tlog
│ ├── rc.read.1.tlog
│ └── rc.write.1.tlog
├── detailwindow.o
├── detailwindow.obj
├── diarylog.o
├── diarylog.obj
├── editwindow.o
├── editwindow.obj
├── exe_ico.res
├── exe_ico_res.o
├── images
│ ├── IMG_1.png
│ ├── IMG_10.png
│ ├── IMG_11.png
│ ├── IMG_12.png
│ ├── IMG_13.png
│ ├── IMG_14.png
│ ├── IMG_15.jpg
│ ├── IMG_16.png
│ ├── IMG_2.jpg
│ ├── IMG_3.jpeg
│ ├── IMG_4.jpg
│ ├── IMG_5.jpeg
│ ├── IMG_6.png
│ ├── IMG_7.gif
│ ├── IMG_7.png
│ ├── IMG_8.png
│ └── IMG_9.jpeg
├── main.o
├── main.obj
├── mainwindow.o
├── mainwindow.obj
├── moc_detailwindow.cpp
├── moc_detailwindow.o
├── moc_detailwindow.obj
├── moc_diarylog.cpp
├── moc_diarylog.o
├── moc_diarylog.obj
├── moc_editwindow.cpp
├── moc_editwindow.o
├── moc_editwindow.obj
├── moc_mainwindow.cpp
├── moc_mainwindow.o
├── moc_mainwindow.obj
├── moc_mytestwindow.cpp
├── moc_mytestwindow.o
├── moc_predefs.h
├── moc_predefs.h.cbt
├── moc_timelistwindow.cpp
├── moc_timelistwindow.o
├── moc_timelistwindow.obj
├── moc_userwindow.cpp
├── moc_userwindow.o
├── moc_userwindow.obj
├── mylabel.obj
├── mytestwindow.o
├── qrc_res.cpp
├── qrc_res.o
├── qrc_res.obj
├── qtDb0.db
├── qtDb1.db
├── qtDb2.db
├── timelistwindow.o
├── timelistwindow.obj
├── userImgAdd.txt
├── userwindow.o
├── userwindow.obj
└── vc141.pdb
├── detailwindow.cpp
├── detailwindow.h
├── detailwindow.ui
├── diarylog.cpp
├── diarylog.h
├── diarylog.ui
├── editwindow.cpp
├── editwindow.h
├── editwindow.ui
├── exe_ico.aps
├── exe_ico.ico
├── exe_ico.rc
├── images
├── IMG_1.png
├── IMG_10.png
├── IMG_11.png
├── IMG_12.png
├── IMG_13.png
├── IMG_14.png
├── IMG_15.jpg
├── IMG_16.png
├── IMG_2.jpg
├── IMG_3.jpeg
├── IMG_4.jpg
├── IMG_5.jpeg
├── IMG_6.png
├── IMG_7.gif
├── IMG_7.png
├── IMG_8.png
└── IMG_9.jpeg
├── main.cpp
├── mainwindow.cpp
├── mainwindow.h
├── mainwindow.ui
├── object_script.Layout.Debug
├── object_script.Layout.Release
├── object_script.MyDiary.Debug
├── object_script.MyDiary.Release
├── qtDb0.db
├── qtDb1.db
├── qtDb2.db
├── release
├── MyDiary.exe
├── MyDiary.log
├── MyDiary.tlog
│ ├── CL.command.1.tlog
│ ├── CL.read.1.tlog
│ ├── CL.write.1.tlog
│ ├── MyDiary.lastbuildstate
│ ├── custombuild.command.1.tlog
│ ├── custombuild.read.1.tlog
│ ├── custombuild.write.1.tlog
│ ├── link.command.1.tlog
│ ├── link.read.1.tlog
│ ├── link.write.1.tlog
│ ├── rc.command.1.tlog
│ ├── rc.read.1.tlog
│ └── rc.write.1.tlog
├── detailwindow.obj
├── diarylog.obj
├── editwindow.obj
├── exe_ico.res
├── main.obj
├── mainwindow.obj
├── moc_detailwindow.cpp
├── moc_detailwindow.obj
├── moc_diarylog.cpp
├── moc_diarylog.obj
├── moc_editwindow.cpp
├── moc_editwindow.obj
├── moc_mainwindow.cpp
├── moc_mainwindow.obj
├── moc_predefs.h
├── moc_timelistwindow.cpp
├── moc_timelistwindow.obj
├── moc_userwindow.cpp
├── moc_userwindow.obj
├── qrc_res.cpp
├── qrc_res.obj
├── qtDb0.db
├── qtDb1.db
├── qtDb2.db
├── timelistwindow.obj
├── userImgAdd.txt
└── userwindow.obj
├── res.qrc
├── timelistwidget.h
├── timelistwindow.cpp
├── timelistwindow.h
├── timelistwindow.ui
├── ui_detailwindow.h
├── ui_diarylog.h
├── ui_editwindow.h
├── ui_mainwindow.h
├── ui_timelistwindow.h
├── ui_userwindow.h
├── userImgAdd.txt
├── userwindow.cpp
├── userwindow.h
└── userwindow.ui
/.qmake.stash:
--------------------------------------------------------------------------------
1 | QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
2 | QMAKE_CXX.QMAKE_MSC_VER = 1916
3 | QMAKE_CXX.QMAKE_MSC_FULL_VER = 191627045
4 | QMAKE_CXX.COMPILER_MACROS = \
5 | QT_COMPILER_STDCXX \
6 | QMAKE_MSC_VER \
7 | QMAKE_MSC_FULL_VER
8 |
--------------------------------------------------------------------------------
/IMG/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/IMG/1.png
--------------------------------------------------------------------------------
/IMG/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/IMG/2.png
--------------------------------------------------------------------------------
/IMG/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/IMG/3.png
--------------------------------------------------------------------------------
/IMG/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/IMG/4.png
--------------------------------------------------------------------------------
/IMG/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/IMG/5.png
--------------------------------------------------------------------------------
/Layout.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2020-10-16T19:49:12
4 | #
5 | #-------------------------------------------------
6 |
7 | QT += core gui\
8 | sql
9 |
10 | RC_FILE = exe_ico.rc
11 |
12 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
13 |
14 | TARGET = MyDiary
15 | TEMPLATE = app
16 |
17 |
18 | SOURCES += main.cpp\
19 | mainwindow.cpp \
20 | userwindow.cpp \
21 | editwindow.cpp \
22 | diarylog.cpp \
23 | detailwindow.cpp \
24 | timelistwindow.cpp
25 |
26 | HEADERS += mainwindow.h \
27 | userwindow.h \
28 | editwindow.h \
29 | diarylog.h \
30 | detailwindow.h \
31 | timelistwindow.h
32 |
33 | FORMS += mainwindow.ui \
34 | userwindow.ui \
35 | editwindow.ui \
36 | diarylog.ui \
37 | detailwindow.ui \
38 | timelistwindow.ui
39 |
40 | CONFIG += C++11
41 |
42 | RESOURCES += \
43 | res.qrc
44 |
45 | DISTFILES += \
46 | images/IMG_2.jpg
47 |
48 |
--------------------------------------------------------------------------------
/Layout.pro.user.4.8-pre1:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EnvironmentId
7 | {d9ad6f0c-8967-44b6-b3da-ffc44653c14a}
8 |
9 |
10 | ProjectExplorer.Project.ActiveTarget
11 | 0
12 |
13 |
14 | ProjectExplorer.Project.EditorSettings
15 |
16 | true
17 | false
18 | true
19 |
20 | Cpp
21 |
22 | CppGlobal
23 |
24 |
25 |
26 | QmlJS
27 |
28 | QmlJSGlobal
29 |
30 |
31 | 2
32 | GBK
33 | false
34 | 4
35 | false
36 | 80
37 | true
38 | true
39 | 1
40 | true
41 | false
42 | 0
43 | true
44 | 0
45 | 8
46 | false
47 | 1
48 | true
49 | true
50 | true
51 | false
52 |
53 |
54 |
55 | ProjectExplorer.Project.PluginSettings
56 |
57 |
58 |
59 | ProjectExplorer.Project.Target.0
60 |
61 | Desktop Qt 5.5.0 MinGW 32bit
62 | Desktop Qt 5.5.0 MinGW 32bit
63 | qt.55.win32_mingw492_kit
64 | 1
65 | 0
66 | 0
67 |
68 | F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary
69 |
70 |
71 | true
72 | qmake
73 |
74 | QtProjectManager.QMakeBuildStep
75 | false
76 | true
77 |
78 | false
79 | false
80 | false
81 |
82 |
83 | true
84 | Make
85 |
86 | Qt4ProjectManager.MakeStep
87 |
88 | false
89 |
90 |
91 |
92 | 2
93 | 构建
94 |
95 | ProjectExplorer.BuildSteps.Build
96 |
97 |
98 |
99 | true
100 | Make
101 |
102 | Qt4ProjectManager.MakeStep
103 |
104 | true
105 | clean
106 |
107 |
108 | 1
109 | 清理
110 |
111 | ProjectExplorer.BuildSteps.Clean
112 |
113 | 2
114 | false
115 |
116 | Debug
117 |
118 | Qt4ProjectManager.Qt4BuildConfiguration
119 | 2
120 | true
121 |
122 |
123 | F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary
124 |
125 |
126 | true
127 | qmake
128 |
129 | QtProjectManager.QMakeBuildStep
130 | false
131 | true
132 |
133 | false
134 | false
135 | false
136 |
137 |
138 | true
139 | Make
140 |
141 | Qt4ProjectManager.MakeStep
142 |
143 | false
144 |
145 |
146 |
147 | 2
148 | 构建
149 |
150 | ProjectExplorer.BuildSteps.Build
151 |
152 |
153 |
154 | true
155 | Make
156 |
157 | Qt4ProjectManager.MakeStep
158 |
159 | true
160 | clean
161 |
162 |
163 | 1
164 | 清理
165 |
166 | ProjectExplorer.BuildSteps.Clean
167 |
168 | 2
169 | false
170 |
171 | Release
172 |
173 | Qt4ProjectManager.Qt4BuildConfiguration
174 | 0
175 | true
176 |
177 | 2
178 |
179 |
180 | 0
181 | 部署
182 |
183 | ProjectExplorer.BuildSteps.Deploy
184 |
185 | 1
186 | 在本地部署
187 |
188 | ProjectExplorer.DefaultDeployConfiguration
189 |
190 | 1
191 |
192 |
193 |
194 | false
195 | false
196 | false
197 | false
198 | true
199 | 0.01
200 | 10
201 | true
202 | 1
203 | 25
204 |
205 | 1
206 | true
207 | false
208 | true
209 | valgrind
210 |
211 | 0
212 | 1
213 | 2
214 | 3
215 | 4
216 | 5
217 | 6
218 | 7
219 | 8
220 | 9
221 | 10
222 | 11
223 | 12
224 | 13
225 | 14
226 |
227 | 2
228 |
229 | Layout
230 | Layout2
231 | Qt4ProjectManager.Qt4RunConfiguration:F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary/Layout.pro
232 |
233 | Layout.pro
234 | false
235 | false
236 |
237 | 3768
238 | false
239 | true
240 | false
241 | false
242 | true
243 |
244 | 1
245 |
246 |
247 |
248 | ProjectExplorer.Project.TargetCount
249 | 1
250 |
251 |
252 | ProjectExplorer.Project.Updater.FileVersion
253 | 18
254 |
255 |
256 | Version
257 | 18
258 |
259 |
260 |
--------------------------------------------------------------------------------
/Layout.pro.user.b2fb5da:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EnvironmentId
7 | {b2fb5da9-3dba-4ff5-802a-16b63e43900d}
8 |
9 |
10 | ProjectExplorer.Project.ActiveTarget
11 | 0
12 |
13 |
14 | ProjectExplorer.Project.EditorSettings
15 |
16 | true
17 | false
18 | true
19 |
20 | Cpp
21 |
22 | CppGlobal
23 |
24 |
25 |
26 | QmlJS
27 |
28 | QmlJSGlobal
29 |
30 |
31 | 2
32 | UTF-8
33 | false
34 | 4
35 | false
36 | 80
37 | true
38 | true
39 | 1
40 | true
41 | false
42 | 0
43 | true
44 | 0
45 | 8
46 | true
47 | 1
48 | true
49 | true
50 | true
51 | false
52 |
53 |
54 |
55 | ProjectExplorer.Project.PluginSettings
56 |
57 |
58 |
59 | ProjectExplorer.Project.Target.0
60 |
61 | Desktop Qt 5.5.0 MinGW 32bit
62 | Desktop Qt 5.5.0 MinGW 32bit
63 | qt.55.win32_mingw492_kit
64 | 1
65 | 0
66 | 0
67 |
68 | F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary
69 |
70 |
71 | true
72 | qmake
73 |
74 | QtProjectManager.QMakeBuildStep
75 | false
76 | true
77 |
78 | false
79 | false
80 | false
81 |
82 |
83 | true
84 | Make
85 |
86 | Qt4ProjectManager.MakeStep
87 |
88 | false
89 |
90 |
91 |
92 | 2
93 | 构建
94 |
95 | ProjectExplorer.BuildSteps.Build
96 |
97 |
98 |
99 | true
100 | Make
101 |
102 | Qt4ProjectManager.MakeStep
103 |
104 | true
105 | clean
106 |
107 |
108 | 1
109 | 清理
110 |
111 | ProjectExplorer.BuildSteps.Clean
112 |
113 | 2
114 | false
115 |
116 | Debug
117 |
118 | Qt4ProjectManager.Qt4BuildConfiguration
119 | 2
120 | true
121 |
122 |
123 | F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary
124 |
125 |
126 | true
127 | qmake
128 |
129 | QtProjectManager.QMakeBuildStep
130 | false
131 | true
132 |
133 | false
134 | false
135 | false
136 |
137 |
138 | true
139 | Make
140 |
141 | Qt4ProjectManager.MakeStep
142 |
143 | false
144 |
145 |
146 |
147 | 2
148 | 构建
149 |
150 | ProjectExplorer.BuildSteps.Build
151 |
152 |
153 |
154 | true
155 | Make
156 |
157 | Qt4ProjectManager.MakeStep
158 |
159 | true
160 | clean
161 |
162 |
163 | 1
164 | 清理
165 |
166 | ProjectExplorer.BuildSteps.Clean
167 |
168 | 2
169 | false
170 |
171 | Release
172 |
173 | Qt4ProjectManager.Qt4BuildConfiguration
174 | 0
175 | true
176 |
177 | 2
178 |
179 |
180 | 0
181 | 部署
182 |
183 | ProjectExplorer.BuildSteps.Deploy
184 |
185 | 1
186 | 在本地部署
187 |
188 | ProjectExplorer.DefaultDeployConfiguration
189 |
190 | 1
191 |
192 |
193 |
194 | false
195 | false
196 | false
197 | false
198 | true
199 | 0.01
200 | 10
201 | true
202 | 1
203 | 25
204 |
205 | 1
206 | true
207 | false
208 | true
209 | valgrind
210 |
211 | 0
212 | 1
213 | 2
214 | 3
215 | 4
216 | 5
217 | 6
218 | 7
219 | 8
220 | 9
221 | 10
222 | 11
223 | 12
224 | 13
225 | 14
226 |
227 | 2
228 |
229 | Layout
230 | Layout2
231 | Qt4ProjectManager.Qt4RunConfiguration:F:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary/Layout.pro
232 |
233 | Layout.pro
234 | false
235 | false
236 |
237 | 3768
238 | false
239 | true
240 | false
241 | false
242 | true
243 |
244 | 1
245 |
246 |
247 |
248 | ProjectExplorer.Project.TargetCount
249 | 1
250 |
251 |
252 | ProjectExplorer.Project.Updater.FileVersion
253 | 18
254 |
255 |
256 | Version
257 | 18
258 |
259 |
260 |
--------------------------------------------------------------------------------
/MyDiary.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.1500
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyDiary", "MyDiary.vcxproj", "{970D5DA5-C6F0-3499-81C6-24D67A202F0D}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Release|x64 = Release|x64
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {970D5DA5-C6F0-3499-81C6-24D67A202F0D}.Debug|x64.ActiveCfg = Debug|x64
15 | {970D5DA5-C6F0-3499-81C6-24D67A202F0D}.Debug|x64.Build.0 = Debug|x64
16 | {970D5DA5-C6F0-3499-81C6-24D67A202F0D}.Release|x64.ActiveCfg = Release|x64
17 | {970D5DA5-C6F0-3499-81C6-24D67A202F0D}.Release|x64.Build.0 = Release|x64
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {7323BCD5-3198-48D6-ADEC-19B992833D00}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/MyDiary.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3}
6 | ui
7 | false
8 |
9 |
10 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3}
11 | ui
12 | false
13 |
14 |
15 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
16 | cpp;c;cxx;moc;h;def;odl;idl;res;
17 |
18 |
19 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
20 | cpp;c;cxx;moc;h;def;odl;idl;res;
21 |
22 |
23 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
24 | h;hpp;hxx;hm;inl;inc;xsd
25 |
26 |
27 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
28 | h;hpp;hxx;hm;inl;inc;xsd
29 |
30 |
31 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}
32 | qrc;*
33 | false
34 |
35 |
36 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E}
37 | qrc;*
38 | false
39 |
40 |
41 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
42 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
43 |
44 |
45 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
46 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
47 |
48 |
49 | {B83CAF91-C7BF-462F-B76C-EA11631F866C}
50 | *
51 | false
52 |
53 |
54 | {B83CAF91-C7BF-462F-B76C-EA11631F866C}
55 | *
56 | false
57 |
58 |
59 |
60 |
61 | Source Files
62 |
63 |
64 | Source Files
65 |
66 |
67 | Source Files
68 |
69 |
70 | Source Files
71 |
72 |
73 | Source Files
74 |
75 |
76 | Source Files
77 |
78 |
79 | Source Files
80 |
81 |
82 |
83 |
84 | Header Files
85 |
86 |
87 | Header Files
88 |
89 |
90 | Header Files
91 |
92 |
93 | Header Files
94 |
95 |
96 | Header Files
97 |
98 |
99 | Header Files
100 |
101 |
102 |
103 |
104 | Generated Files
105 |
106 |
107 | Generated Files
108 |
109 |
110 | Generated Files
111 |
112 |
113 | Generated Files
114 |
115 |
116 | Generated Files
117 |
118 |
119 | Generated Files
120 |
121 |
122 | Generated Files
123 |
124 |
125 | Generated Files
126 |
127 |
128 | Generated Files
129 |
130 |
131 | Generated Files
132 |
133 |
134 | Generated Files
135 |
136 |
137 | Generated Files
138 |
139 |
140 | Generated Files
141 |
142 |
143 | Generated Files
144 |
145 |
146 | Generated Files
147 |
148 |
149 | Generated Files
150 |
151 |
152 | Generated Files
153 |
154 |
155 | Generated Files
156 |
157 |
158 | Generated Files
159 |
160 |
161 | Generated Files
162 |
163 |
164 | Generated Files
165 |
166 |
167 | Generated Files
168 |
169 |
170 |
171 |
172 | Form Files
173 |
174 |
175 | Form Files
176 |
177 |
178 | Form Files
179 |
180 |
181 | Form Files
182 |
183 |
184 | Form Files
185 |
186 |
187 | Form Files
188 |
189 |
190 |
191 |
192 | Resource Files
193 |
194 |
195 | Resource Files
196 |
197 |
198 | Resource Files
199 |
200 |
201 | Resource Files
202 |
203 |
204 | Resource Files
205 |
206 |
207 | Resource Files
208 |
209 |
210 | Resource Files
211 |
212 |
213 | Resource Files
214 |
215 |
216 | Resource Files
217 |
218 |
219 | Resource Files
220 |
221 |
222 | Resource Files
223 |
224 |
225 | Resource Files
226 |
227 |
228 | Resource Files
229 |
230 |
231 | Resource Files
232 |
233 |
234 | Resource Files
235 |
236 |
237 | Resource Files
238 |
239 |
240 | Resource Files
241 |
242 |
243 |
244 |
245 |
246 |
247 | Distribution Files
248 |
249 |
250 |
251 |
252 |
253 |
--------------------------------------------------------------------------------
/MyDiary.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PATH=D:\software\QT\5.12.10\msvc2017_64\bin%3b$(PATH)
5 |
6 |
7 | PATH=D:\software\QT\5.12.10\msvc2017_64\bin%3b$(PATH)
8 |
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # QT日记项目
2 |
3 | ## 登陆界面
4 |
5 | 
6 |
7 | ## 用户主界面
8 |
9 | 
10 |
11 | ## 编辑界面
12 |
13 | 
14 |
15 | ## 时间记录
16 |
17 | 
18 |
19 | ## 日记查看界面
20 |
21 | 
22 |
23 | # 相关技术网址
24 |
25 | https://blog.csdn.net/weixin_43145941/article/details/109559455
26 |
27 | 但当前repo的内容是最新的。
--------------------------------------------------------------------------------
/debug/MyDiary.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.exe
--------------------------------------------------------------------------------
/debug/MyDiary.ilk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.ilk
--------------------------------------------------------------------------------
/debug/MyDiary.log:
--------------------------------------------------------------------------------
1 | userwindow.cpp
2 | e:\filesofpractice\qtpractice\someprojectsofmyself\mydiary_vs\mainwindow.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
3 | e:\filesofpractice\qtpractice\someprojectsofmyself\mydiary_vs\editwindow.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4 | MyDiary.vcxproj -> E:\FilesofPractice\QTpractice\SomeProjectsofMyself\MyDiary_vs\debug\MyDiary.exe
5 |
--------------------------------------------------------------------------------
/debug/MyDiary.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.pdb
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/CL.command.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/CL.command.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/CL.read.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/CL.read.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/CL.write.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/CL.write.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/MyDiary.lastbuildstate:
--------------------------------------------------------------------------------
1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
2 | Debug|x64|E:\FilesofPractice\QTpractice\SomeProjectsofMyself\MyDiary_vs\|
3 |
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/custombuild.command.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/custombuild.command.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/custombuild.read.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/custombuild.read.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/custombuild.write.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/custombuild.write.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/link.command.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/link.command.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/link.read.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/link.read.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/link.write.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/link.write.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/rc.command.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/rc.command.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/rc.read.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/rc.read.1.tlog
--------------------------------------------------------------------------------
/debug/MyDiary.tlog/rc.write.1.tlog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/MyDiary.tlog/rc.write.1.tlog
--------------------------------------------------------------------------------
/debug/detailwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/detailwindow.o
--------------------------------------------------------------------------------
/debug/detailwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/detailwindow.obj
--------------------------------------------------------------------------------
/debug/diarylog.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/diarylog.o
--------------------------------------------------------------------------------
/debug/diarylog.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/diarylog.obj
--------------------------------------------------------------------------------
/debug/editwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/editwindow.o
--------------------------------------------------------------------------------
/debug/editwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/editwindow.obj
--------------------------------------------------------------------------------
/debug/exe_ico.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/exe_ico.res
--------------------------------------------------------------------------------
/debug/exe_ico_res.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/exe_ico_res.o
--------------------------------------------------------------------------------
/debug/images/IMG_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_1.png
--------------------------------------------------------------------------------
/debug/images/IMG_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_10.png
--------------------------------------------------------------------------------
/debug/images/IMG_11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_11.png
--------------------------------------------------------------------------------
/debug/images/IMG_12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_12.png
--------------------------------------------------------------------------------
/debug/images/IMG_13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_13.png
--------------------------------------------------------------------------------
/debug/images/IMG_14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_14.png
--------------------------------------------------------------------------------
/debug/images/IMG_15.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_15.jpg
--------------------------------------------------------------------------------
/debug/images/IMG_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_16.png
--------------------------------------------------------------------------------
/debug/images/IMG_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_2.jpg
--------------------------------------------------------------------------------
/debug/images/IMG_3.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_3.jpeg
--------------------------------------------------------------------------------
/debug/images/IMG_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_4.jpg
--------------------------------------------------------------------------------
/debug/images/IMG_5.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_5.jpeg
--------------------------------------------------------------------------------
/debug/images/IMG_6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_6.png
--------------------------------------------------------------------------------
/debug/images/IMG_7.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_7.gif
--------------------------------------------------------------------------------
/debug/images/IMG_7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_7.png
--------------------------------------------------------------------------------
/debug/images/IMG_8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_8.png
--------------------------------------------------------------------------------
/debug/images/IMG_9.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/images/IMG_9.jpeg
--------------------------------------------------------------------------------
/debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/main.o
--------------------------------------------------------------------------------
/debug/main.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/main.obj
--------------------------------------------------------------------------------
/debug/mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/mainwindow.o
--------------------------------------------------------------------------------
/debug/mainwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/mainwindow.obj
--------------------------------------------------------------------------------
/debug/moc_detailwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'detailwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../detailwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'detailwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_DetailWindow_t {
24 | QByteArrayData data[1];
25 | char stringdata0[13];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_DetailWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_DetailWindow_t qt_meta_stringdata_DetailWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 12) // "DetailWindow"
35 |
36 | },
37 | "DetailWindow"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_DetailWindow[] = {
42 |
43 | // content:
44 | 8, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 0, 0, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 0, // signalCount
53 |
54 | 0 // eod
55 | };
56 |
57 | void DetailWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 | {
59 | Q_UNUSED(_o);
60 | Q_UNUSED(_id);
61 | Q_UNUSED(_c);
62 | Q_UNUSED(_a);
63 | }
64 |
65 | QT_INIT_METAOBJECT const QMetaObject DetailWindow::staticMetaObject = { {
66 | &QWidget::staticMetaObject,
67 | qt_meta_stringdata_DetailWindow.data,
68 | qt_meta_data_DetailWindow,
69 | qt_static_metacall,
70 | nullptr,
71 | nullptr
72 | } };
73 |
74 |
75 | const QMetaObject *DetailWindow::metaObject() const
76 | {
77 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 | }
79 |
80 | void *DetailWindow::qt_metacast(const char *_clname)
81 | {
82 | if (!_clname) return nullptr;
83 | if (!strcmp(_clname, qt_meta_stringdata_DetailWindow.stringdata0))
84 | return static_cast(this);
85 | return QWidget::qt_metacast(_clname);
86 | }
87 |
88 | int DetailWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 | {
90 | _id = QWidget::qt_metacall(_c, _id, _a);
91 | return _id;
92 | }
93 | QT_WARNING_POP
94 | QT_END_MOC_NAMESPACE
95 |
--------------------------------------------------------------------------------
/debug/moc_detailwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_detailwindow.o
--------------------------------------------------------------------------------
/debug/moc_detailwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_detailwindow.obj
--------------------------------------------------------------------------------
/debug/moc_diarylog.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'diarylog.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../diarylog.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'diarylog.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_DiaryLog_t {
24 | QByteArrayData data[3];
25 | char stringdata0[23];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_DiaryLog_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_DiaryLog_t qt_meta_stringdata_DiaryLog = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 8), // "DiaryLog"
35 | QT_MOC_LITERAL(1, 9, 12), // "deleteSignal"
36 | QT_MOC_LITERAL(2, 22, 0) // ""
37 |
38 | },
39 | "DiaryLog\0deleteSignal\0"
40 | };
41 | #undef QT_MOC_LITERAL
42 |
43 | static const uint qt_meta_data_DiaryLog[] = {
44 |
45 | // content:
46 | 8, // revision
47 | 0, // classname
48 | 0, 0, // classinfo
49 | 1, 14, // methods
50 | 0, 0, // properties
51 | 0, 0, // enums/sets
52 | 0, 0, // constructors
53 | 0, // flags
54 | 1, // signalCount
55 |
56 | // signals: name, argc, parameters, tag, flags
57 | 1, 0, 19, 2, 0x06 /* Public */,
58 |
59 | // signals: parameters
60 | QMetaType::Void,
61 |
62 | 0 // eod
63 | };
64 |
65 | void DiaryLog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66 | {
67 | if (_c == QMetaObject::InvokeMetaMethod) {
68 | auto *_t = static_cast(_o);
69 | Q_UNUSED(_t)
70 | switch (_id) {
71 | case 0: _t->deleteSignal(); break;
72 | default: ;
73 | }
74 | } else if (_c == QMetaObject::IndexOfMethod) {
75 | int *result = reinterpret_cast(_a[0]);
76 | {
77 | using _t = void (DiaryLog::*)();
78 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiaryLog::deleteSignal)) {
79 | *result = 0;
80 | return;
81 | }
82 | }
83 | }
84 | Q_UNUSED(_a);
85 | }
86 |
87 | QT_INIT_METAOBJECT const QMetaObject DiaryLog::staticMetaObject = { {
88 | &QWidget::staticMetaObject,
89 | qt_meta_stringdata_DiaryLog.data,
90 | qt_meta_data_DiaryLog,
91 | qt_static_metacall,
92 | nullptr,
93 | nullptr
94 | } };
95 |
96 |
97 | const QMetaObject *DiaryLog::metaObject() const
98 | {
99 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
100 | }
101 |
102 | void *DiaryLog::qt_metacast(const char *_clname)
103 | {
104 | if (!_clname) return nullptr;
105 | if (!strcmp(_clname, qt_meta_stringdata_DiaryLog.stringdata0))
106 | return static_cast(this);
107 | return QWidget::qt_metacast(_clname);
108 | }
109 |
110 | int DiaryLog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
111 | {
112 | _id = QWidget::qt_metacall(_c, _id, _a);
113 | if (_id < 0)
114 | return _id;
115 | if (_c == QMetaObject::InvokeMetaMethod) {
116 | if (_id < 1)
117 | qt_static_metacall(this, _c, _id, _a);
118 | _id -= 1;
119 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
120 | if (_id < 1)
121 | *reinterpret_cast(_a[0]) = -1;
122 | _id -= 1;
123 | }
124 | return _id;
125 | }
126 |
127 | // SIGNAL 0
128 | void DiaryLog::deleteSignal()
129 | {
130 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
131 | }
132 | QT_WARNING_POP
133 | QT_END_MOC_NAMESPACE
134 |
--------------------------------------------------------------------------------
/debug/moc_diarylog.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_diarylog.o
--------------------------------------------------------------------------------
/debug/moc_diarylog.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_diarylog.obj
--------------------------------------------------------------------------------
/debug/moc_editwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'editwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../editwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'editwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_EditWindow_t {
24 | QByteArrayData data[3];
25 | char stringdata0[23];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_EditWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_EditWindow_t qt_meta_stringdata_EditWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10), // "EditWindow"
35 | QT_MOC_LITERAL(1, 11, 10), // "saveSignal"
36 | QT_MOC_LITERAL(2, 22, 0) // ""
37 |
38 | },
39 | "EditWindow\0saveSignal\0"
40 | };
41 | #undef QT_MOC_LITERAL
42 |
43 | static const uint qt_meta_data_EditWindow[] = {
44 |
45 | // content:
46 | 8, // revision
47 | 0, // classname
48 | 0, 0, // classinfo
49 | 1, 14, // methods
50 | 0, 0, // properties
51 | 0, 0, // enums/sets
52 | 0, 0, // constructors
53 | 0, // flags
54 | 1, // signalCount
55 |
56 | // signals: name, argc, parameters, tag, flags
57 | 1, 0, 19, 2, 0x06 /* Public */,
58 |
59 | // signals: parameters
60 | QMetaType::Void,
61 |
62 | 0 // eod
63 | };
64 |
65 | void EditWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66 | {
67 | if (_c == QMetaObject::InvokeMetaMethod) {
68 | auto *_t = static_cast(_o);
69 | Q_UNUSED(_t)
70 | switch (_id) {
71 | case 0: _t->saveSignal(); break;
72 | default: ;
73 | }
74 | } else if (_c == QMetaObject::IndexOfMethod) {
75 | int *result = reinterpret_cast(_a[0]);
76 | {
77 | using _t = void (EditWindow::*)();
78 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditWindow::saveSignal)) {
79 | *result = 0;
80 | return;
81 | }
82 | }
83 | }
84 | Q_UNUSED(_a);
85 | }
86 |
87 | QT_INIT_METAOBJECT const QMetaObject EditWindow::staticMetaObject = { {
88 | &QMainWindow::staticMetaObject,
89 | qt_meta_stringdata_EditWindow.data,
90 | qt_meta_data_EditWindow,
91 | qt_static_metacall,
92 | nullptr,
93 | nullptr
94 | } };
95 |
96 |
97 | const QMetaObject *EditWindow::metaObject() const
98 | {
99 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
100 | }
101 |
102 | void *EditWindow::qt_metacast(const char *_clname)
103 | {
104 | if (!_clname) return nullptr;
105 | if (!strcmp(_clname, qt_meta_stringdata_EditWindow.stringdata0))
106 | return static_cast(this);
107 | return QMainWindow::qt_metacast(_clname);
108 | }
109 |
110 | int EditWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
111 | {
112 | _id = QMainWindow::qt_metacall(_c, _id, _a);
113 | if (_id < 0)
114 | return _id;
115 | if (_c == QMetaObject::InvokeMetaMethod) {
116 | if (_id < 1)
117 | qt_static_metacall(this, _c, _id, _a);
118 | _id -= 1;
119 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
120 | if (_id < 1)
121 | *reinterpret_cast(_a[0]) = -1;
122 | _id -= 1;
123 | }
124 | return _id;
125 | }
126 |
127 | // SIGNAL 0
128 | void EditWindow::saveSignal()
129 | {
130 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
131 | }
132 | QT_WARNING_POP
133 | QT_END_MOC_NAMESPACE
134 |
--------------------------------------------------------------------------------
/debug/moc_editwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_editwindow.o
--------------------------------------------------------------------------------
/debug/moc_editwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_editwindow.obj
--------------------------------------------------------------------------------
/debug/moc_mainwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'mainwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../mainwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'mainwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_MainWindow_t {
24 | QByteArrayData data[1];
25 | char stringdata0[11];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10) // "MainWindow"
35 |
36 | },
37 | "MainWindow"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_MainWindow[] = {
42 |
43 | // content:
44 | 8, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 0, 0, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 0, // signalCount
53 |
54 | 0 // eod
55 | };
56 |
57 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 | {
59 | Q_UNUSED(_o);
60 | Q_UNUSED(_id);
61 | Q_UNUSED(_c);
62 | Q_UNUSED(_a);
63 | }
64 |
65 | QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
66 | &QMainWindow::staticMetaObject,
67 | qt_meta_stringdata_MainWindow.data,
68 | qt_meta_data_MainWindow,
69 | qt_static_metacall,
70 | nullptr,
71 | nullptr
72 | } };
73 |
74 |
75 | const QMetaObject *MainWindow::metaObject() const
76 | {
77 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 | }
79 |
80 | void *MainWindow::qt_metacast(const char *_clname)
81 | {
82 | if (!_clname) return nullptr;
83 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
84 | return static_cast(this);
85 | return QMainWindow::qt_metacast(_clname);
86 | }
87 |
88 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 | {
90 | _id = QMainWindow::qt_metacall(_c, _id, _a);
91 | return _id;
92 | }
93 | QT_WARNING_POP
94 | QT_END_MOC_NAMESPACE
95 |
--------------------------------------------------------------------------------
/debug/moc_mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_mainwindow.o
--------------------------------------------------------------------------------
/debug/moc_mainwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_mainwindow.obj
--------------------------------------------------------------------------------
/debug/moc_mytestwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'mytestwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../mytestwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'mytestwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.5.0. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | struct qt_meta_stringdata_MyTestWindow_t {
22 | QByteArrayData data[3];
23 | char stringdata0[25];
24 | };
25 | #define QT_MOC_LITERAL(idx, ofs, len) \
26 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 | qptrdiff(offsetof(qt_meta_stringdata_MyTestWindow_t, stringdata0) + ofs \
28 | - idx * sizeof(QByteArrayData)) \
29 | )
30 | static const qt_meta_stringdata_MyTestWindow_t qt_meta_stringdata_MyTestWindow = {
31 | {
32 | QT_MOC_LITERAL(0, 0, 12), // "MyTestWindow"
33 | QT_MOC_LITERAL(1, 13, 10), // "chooseBack"
34 | QT_MOC_LITERAL(2, 24, 0) // ""
35 |
36 | },
37 | "MyTestWindow\0chooseBack\0"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_MyTestWindow[] = {
42 |
43 | // content:
44 | 7, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 1, 14, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 1, // signalCount
53 |
54 | // signals: name, argc, parameters, tag, flags
55 | 1, 0, 19, 2, 0x06 /* Public */,
56 |
57 | // signals: parameters
58 | QMetaType::Void,
59 |
60 | 0 // eod
61 | };
62 |
63 | void MyTestWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
64 | {
65 | if (_c == QMetaObject::InvokeMetaMethod) {
66 | MyTestWindow *_t = static_cast(_o);
67 | Q_UNUSED(_t)
68 | switch (_id) {
69 | case 0: _t->chooseBack(); break;
70 | default: ;
71 | }
72 | } else if (_c == QMetaObject::IndexOfMethod) {
73 | int *result = reinterpret_cast(_a[0]);
74 | void **func = reinterpret_cast(_a[1]);
75 | {
76 | typedef void (MyTestWindow::*_t)();
77 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MyTestWindow::chooseBack)) {
78 | *result = 0;
79 | }
80 | }
81 | }
82 | Q_UNUSED(_a);
83 | }
84 |
85 | const QMetaObject MyTestWindow::staticMetaObject = {
86 | { &QMainWindow::staticMetaObject, qt_meta_stringdata_MyTestWindow.data,
87 | qt_meta_data_MyTestWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
88 | };
89 |
90 |
91 | const QMetaObject *MyTestWindow::metaObject() const
92 | {
93 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94 | }
95 |
96 | void *MyTestWindow::qt_metacast(const char *_clname)
97 | {
98 | if (!_clname) return Q_NULLPTR;
99 | if (!strcmp(_clname, qt_meta_stringdata_MyTestWindow.stringdata0))
100 | return static_cast(const_cast< MyTestWindow*>(this));
101 | return QMainWindow::qt_metacast(_clname);
102 | }
103 |
104 | int MyTestWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105 | {
106 | _id = QMainWindow::qt_metacall(_c, _id, _a);
107 | if (_id < 0)
108 | return _id;
109 | if (_c == QMetaObject::InvokeMetaMethod) {
110 | if (_id < 1)
111 | qt_static_metacall(this, _c, _id, _a);
112 | _id -= 1;
113 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
114 | if (_id < 1)
115 | *reinterpret_cast(_a[0]) = -1;
116 | _id -= 1;
117 | }
118 | return _id;
119 | }
120 |
121 | // SIGNAL 0
122 | void MyTestWindow::chooseBack()
123 | {
124 | QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
125 | }
126 | QT_END_MOC_NAMESPACE
127 |
--------------------------------------------------------------------------------
/debug/moc_mytestwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_mytestwindow.o
--------------------------------------------------------------------------------
/debug/moc_predefs.h:
--------------------------------------------------------------------------------
1 | #define _MSC_EXTENSIONS
2 | #define _INTEGRAL_MAX_BITS 64
3 | #define _MSC_VER 1916
4 | #define _MSC_FULL_VER 191627045
5 | #define _MSC_BUILD 0
6 | #define _M_AMD64 100
7 | #define _M_X64 100
8 | #define _WIN64
9 | #define _WIN32
10 | #define _CPPRTTI
11 | #define _DEBUG
12 | #define _MT
13 | #define _DLL
14 |
--------------------------------------------------------------------------------
/debug/moc_predefs.h.cbt:
--------------------------------------------------------------------------------
1 | This is a dummy file needed to create debug/moc_predefs.h
2 |
--------------------------------------------------------------------------------
/debug/moc_timelistwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'timelistwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../timelistwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'timelistwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_TimeListWindow_t {
24 | QByteArrayData data[1];
25 | char stringdata0[15];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_TimeListWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_TimeListWindow_t qt_meta_stringdata_TimeListWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 14) // "TimeListWindow"
35 |
36 | },
37 | "TimeListWindow"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_TimeListWindow[] = {
42 |
43 | // content:
44 | 8, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 0, 0, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 0, // signalCount
53 |
54 | 0 // eod
55 | };
56 |
57 | void TimeListWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 | {
59 | Q_UNUSED(_o);
60 | Q_UNUSED(_id);
61 | Q_UNUSED(_c);
62 | Q_UNUSED(_a);
63 | }
64 |
65 | QT_INIT_METAOBJECT const QMetaObject TimeListWindow::staticMetaObject = { {
66 | &QWidget::staticMetaObject,
67 | qt_meta_stringdata_TimeListWindow.data,
68 | qt_meta_data_TimeListWindow,
69 | qt_static_metacall,
70 | nullptr,
71 | nullptr
72 | } };
73 |
74 |
75 | const QMetaObject *TimeListWindow::metaObject() const
76 | {
77 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 | }
79 |
80 | void *TimeListWindow::qt_metacast(const char *_clname)
81 | {
82 | if (!_clname) return nullptr;
83 | if (!strcmp(_clname, qt_meta_stringdata_TimeListWindow.stringdata0))
84 | return static_cast(this);
85 | return QWidget::qt_metacast(_clname);
86 | }
87 |
88 | int TimeListWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 | {
90 | _id = QWidget::qt_metacall(_c, _id, _a);
91 | return _id;
92 | }
93 | QT_WARNING_POP
94 | QT_END_MOC_NAMESPACE
95 |
--------------------------------------------------------------------------------
/debug/moc_timelistwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_timelistwindow.o
--------------------------------------------------------------------------------
/debug/moc_timelistwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_timelistwindow.obj
--------------------------------------------------------------------------------
/debug/moc_userwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'userwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.10)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../userwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'userwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.10. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_UserWindow_t {
24 | QByteArrayData data[3];
25 | char stringdata0[29];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_UserWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_UserWindow_t qt_meta_stringdata_UserWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10), // "UserWindow"
35 | QT_MOC_LITERAL(1, 11, 16), // "ChooseBackSignal"
36 | QT_MOC_LITERAL(2, 28, 0) // ""
37 |
38 | },
39 | "UserWindow\0ChooseBackSignal\0"
40 | };
41 | #undef QT_MOC_LITERAL
42 |
43 | static const uint qt_meta_data_UserWindow[] = {
44 |
45 | // content:
46 | 8, // revision
47 | 0, // classname
48 | 0, 0, // classinfo
49 | 1, 14, // methods
50 | 0, 0, // properties
51 | 0, 0, // enums/sets
52 | 0, 0, // constructors
53 | 0, // flags
54 | 1, // signalCount
55 |
56 | // signals: name, argc, parameters, tag, flags
57 | 1, 0, 19, 2, 0x06 /* Public */,
58 |
59 | // signals: parameters
60 | QMetaType::Void,
61 |
62 | 0 // eod
63 | };
64 |
65 | void UserWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66 | {
67 | if (_c == QMetaObject::InvokeMetaMethod) {
68 | auto *_t = static_cast(_o);
69 | Q_UNUSED(_t)
70 | switch (_id) {
71 | case 0: _t->ChooseBackSignal(); break;
72 | default: ;
73 | }
74 | } else if (_c == QMetaObject::IndexOfMethod) {
75 | int *result = reinterpret_cast(_a[0]);
76 | {
77 | using _t = void (UserWindow::*)();
78 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UserWindow::ChooseBackSignal)) {
79 | *result = 0;
80 | return;
81 | }
82 | }
83 | }
84 | Q_UNUSED(_a);
85 | }
86 |
87 | QT_INIT_METAOBJECT const QMetaObject UserWindow::staticMetaObject = { {
88 | &QMainWindow::staticMetaObject,
89 | qt_meta_stringdata_UserWindow.data,
90 | qt_meta_data_UserWindow,
91 | qt_static_metacall,
92 | nullptr,
93 | nullptr
94 | } };
95 |
96 |
97 | const QMetaObject *UserWindow::metaObject() const
98 | {
99 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
100 | }
101 |
102 | void *UserWindow::qt_metacast(const char *_clname)
103 | {
104 | if (!_clname) return nullptr;
105 | if (!strcmp(_clname, qt_meta_stringdata_UserWindow.stringdata0))
106 | return static_cast(this);
107 | return QMainWindow::qt_metacast(_clname);
108 | }
109 |
110 | int UserWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
111 | {
112 | _id = QMainWindow::qt_metacall(_c, _id, _a);
113 | if (_id < 0)
114 | return _id;
115 | if (_c == QMetaObject::InvokeMetaMethod) {
116 | if (_id < 1)
117 | qt_static_metacall(this, _c, _id, _a);
118 | _id -= 1;
119 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
120 | if (_id < 1)
121 | *reinterpret_cast(_a[0]) = -1;
122 | _id -= 1;
123 | }
124 | return _id;
125 | }
126 |
127 | // SIGNAL 0
128 | void UserWindow::ChooseBackSignal()
129 | {
130 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
131 | }
132 | QT_WARNING_POP
133 | QT_END_MOC_NAMESPACE
134 |
--------------------------------------------------------------------------------
/debug/moc_userwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_userwindow.o
--------------------------------------------------------------------------------
/debug/moc_userwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/moc_userwindow.obj
--------------------------------------------------------------------------------
/debug/mylabel.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/mylabel.obj
--------------------------------------------------------------------------------
/debug/mytestwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/mytestwindow.o
--------------------------------------------------------------------------------
/debug/qrc_res.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/qrc_res.o
--------------------------------------------------------------------------------
/debug/qrc_res.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/qrc_res.obj
--------------------------------------------------------------------------------
/debug/qtDb0.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/qtDb0.db
--------------------------------------------------------------------------------
/debug/qtDb1.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/qtDb1.db
--------------------------------------------------------------------------------
/debug/qtDb2.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/qtDb2.db
--------------------------------------------------------------------------------
/debug/timelistwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/timelistwindow.o
--------------------------------------------------------------------------------
/debug/timelistwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/timelistwindow.obj
--------------------------------------------------------------------------------
/debug/userImgAdd.txt:
--------------------------------------------------------------------------------
1 | 1 :/images/IMG_12.png
2 | ZYunfei E:/FilesofPractice/QTpractice/SomeProjectsofMyself/MyDiary_vs/images/IMG_11.png
3 | NBY :/images/IMG_13.png
--------------------------------------------------------------------------------
/debug/userwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/userwindow.o
--------------------------------------------------------------------------------
/debug/userwindow.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/userwindow.obj
--------------------------------------------------------------------------------
/debug/vc141.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZYunfeii/QtDiary/c32cd8eb9f520277d4637d738bb78a27c58a22d7/debug/vc141.pdb
--------------------------------------------------------------------------------
/detailwindow.cpp:
--------------------------------------------------------------------------------
1 | #include "detailwindow.h"
2 | #include "ui_detailwindow.h"
3 |
4 | DetailWindow::DetailWindow(QString diary,QString time,QString pointSize,QString family,QWidget *parent) :
5 | QWidget(parent),
6 | ui(new Ui::DetailWindow)
7 | {
8 | ui->setupUi(this);
9 |
10 |
11 | QFont font;
12 | font.setFamily(family);
13 | font.setPointSize(pointSize.toInt());
14 | ui->textBrowser->setFont(font);
15 |
16 | ui->textBrowser->setText(diary);
17 | ui->timeEdit->setText(time);
18 |
19 |
20 | this->setWindowTitle(QString::fromLocal8Bit("Detail"));
21 | }
22 |
23 | DetailWindow::~DetailWindow()
24 | {
25 | delete ui;
26 | }
27 |
--------------------------------------------------------------------------------
/detailwindow.h:
--------------------------------------------------------------------------------
1 | #ifndef DETAILWINDOW_H
2 | #define DETAILWINDOW_H
3 |
4 | #include
5 |
6 | namespace Ui {
7 | class DetailWindow;
8 | }
9 |
10 | class DetailWindow : public QWidget
11 | {
12 | Q_OBJECT
13 |
14 | public:
15 | explicit DetailWindow(QString diary,QString time,QString pointSize,QString family,QWidget *parent = 0);
16 | ~DetailWindow();
17 |
18 | private:
19 | Ui::DetailWindow *ui;
20 | };
21 |
22 | #endif // DETAILWINDOW_H
23 |
--------------------------------------------------------------------------------
/detailwindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | DetailWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 411
10 | 330
11 |
12 |
13 |
14 |
15 | 411
16 | 330
17 |
18 |
19 |
20 |
21 | 411
22 | 330
23 |
24 |
25 |
26 | Form
27 |
28 |
29 |
30 |
31 | 10
32 | 40
33 | 391
34 | 281
35 |
36 |
37 |
38 | false
39 |
40 |
41 | background-image: url(:/images/IMG_15.jpg);
42 |
43 |
44 |
45 |
46 |
47 | 110
48 | 10
49 | 211
50 | 21
51 |
52 |
53 |
54 |
55 | 黑体
56 |
57 |
58 |
59 | Qt::AlignCenter
60 |
61 |
62 | true
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/diarylog.cpp:
--------------------------------------------------------------------------------
1 | #include "diarylog.h"
2 | #include "ui_diarylog.h"
3 | #include
4 | #include
5 |
6 | DiaryLog::DiaryLog(QString diary,QString time,QString pointSize,QString family,QString userName,
7 | mapm,QWidget *parent) :
8 | QWidget(parent),
9 | ui(new Ui::DiaryLog)
10 | {
11 | ui->setupUi(this);
12 | this->proLabel = ui->portraitLabel;
13 |
14 | //加载头像
15 | QPixmap tmpPix;
16 | tmpPix.load(QString::fromStdString(m[userName.toStdString()]));
17 | ui->portraitLabel->setScaledContents(true);
18 | ui->portraitLabel->setPixmap(tmpPix);
19 |
20 | //将editwindow的信息书写在diarylog上
21 | QFont font;
22 | font.setFamily(family);
23 | font.setPointSize(pointSize.toInt());
24 | ui->textBrowser->setFont(font);
25 | ui->timeLabel->setText(time);
26 | ui->textBrowser->setText(diary);
27 |
28 |
29 |
30 | //删除某一条diarylog
31 | connect(ui->deleteButton,&QPushButton::clicked,[=](){
32 | databaseInit(userName);
33 | QSqlQuery query(db);
34 | QString deleteString = QString("%1%2%3").arg("'").arg(time).arg("'"); //我思考这行代码思考了20分钟,数据库删除对比的信息如果是字符串要的是单引号!
35 | bool flag = query.exec(QString("DELETE FROM person WHERE time = %1").arg(deleteString));
36 | qDebug()<deleteSignal();
39 | delete this; //删除userwindow中的日记框
40 | });
41 |
42 |
43 | //进入一条日记的详情
44 | connect(ui->detailButton,&QPushButton::clicked,[=](){
45 | detailWindow = new DetailWindow(diary,time,pointSize,family);
46 | detailWindow->show();
47 | QPropertyAnimation *pPosAnimation3 = new QPropertyAnimation(detailWindow, "pos"); //添加动画
48 | pPosAnimation3->setDuration(550);
49 | pPosAnimation3->setStartValue(QPoint(parent->x(),parent->y()));
50 | pPosAnimation3->setEndValue(QPoint(parent->x()+parent->width(),parent->y()));
51 | pPosAnimation3->setEasingCurve(QEasingCurve::InOutQuad);
52 | pPosAnimation3->start();
53 | });
54 | }
55 | void DiaryLog::databaseInit(QString str)
56 | {
57 | int i;
58 | if(str == "ZYunfei") {i = 0;}
59 | if(str == "1") {i = 1;}
60 | if(str == "NBY") {i = 2;}
61 | db = QSqlDatabase::addDatabase("QSQLITE", QString("myDiary%1").arg(i));
62 | db.setDatabaseName(QString(".//qtDb%1.db").arg(i));
63 | if( !db.open()) //这个db.open相当关键啊!没这一步后面写数据可失败。
64 | {
65 | qDebug() << "无法建立数据库连接";
66 | }
67 | else
68 | {
69 | qDebug()<<"数据库连接成功";
70 | }
71 | }
72 |
73 | DiaryLog::~DiaryLog()
74 | {
75 | qDebug()<<"diarylog析构函数执行";
76 | delete ui;
77 | }
78 |
--------------------------------------------------------------------------------
/diarylog.h:
--------------------------------------------------------------------------------
1 | #ifndef DIARYLOG_H
2 | #define DIARYLOG_H
3 |
4 | #include
5 | #include
6 | #include
7 | #include
8 | #include "detailwindow.h"
9 | #include "userwindow.h"
10 | #include