├── Src ├── HotelManagesys.pro ├── HotelManagesys.pro.user ├── backupdatanasedialog.cpp ├── backupdatanasedialog.h ├── backupdatanasedialog.ui ├── checkcutomdialog.cpp ├── checkcutomdialog.h ├── checkcutomdialog.ui ├── checkoutdialog.cpp ├── checkoutdialog.h ├── checkoutdialog.ui ├── costomerregisterinfodialog.cpp ├── costomerregisterinfodialog.h ├── costomerregisterinfodialog.ui ├── customerwindget.cpp ├── customerwindget.h ├── customerwindget.ui ├── image.qrc ├── logblogdialog.cpp ├── logblogdialog.h ├── logblogdialog.ui ├── logindialog.cpp ├── logindialog.h ├── logindialog.ui ├── main.cpp ├── main.ico ├── main.rc ├── modiftroomprice.cpp ├── modiftroomprice.h ├── modiftroomprice.ui ├── modifypwddialog.cpp ├── modifypwddialog.h ├── modifypwddialog.ui ├── promanage.cpp ├── promanage.h ├── promanage.ui ├── registerdialog.cpp ├── registerdialog.h ├── registerdialog.ui ├── romminfo.cpp ├── romminfo.h ├── romminfo.ui ├── roompicdialog.cpp ├── roompicdialog.h ├── roompicdialog.ui ├── temple │ └── release │ │ ├── .qmake.stash │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── object_script.HotelManagesys.Debug │ │ └── object_script.HotelManagesys.Release ├── widget.cpp ├── widget.h └── widget.ui ├── app ├── Connection.h ├── frmmessagebox.cpp ├── frmmessagebox.h ├── frmmessagebox.ui ├── iconhelper.cpp ├── iconhelper.h ├── myapp.cpp ├── myapp.h ├── myhelper.cpp ├── myhelper.h ├── mysqlapi.cpp ├── mysqlapi.h ├── mythread.cpp └── mythread.h ├── doc └── hotel.sql ├── help └── help.CHM ├── image ├── Font Awesome Cheatsheet.png ├── add-line_horizontal.png ├── add-line_vertical.png ├── array_down.png ├── back.png ├── blue.css ├── checkbox_checked.png ├── checkbox_unchecked.png ├── database │ └── database.png ├── delete.png ├── error.png ├── excel.png ├── find.png ├── fontawesome-webfont.ttf ├── house │ ├── 1.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ └── 9.jpg ├── info.png ├── print.png ├── qt_zh_CN.qm ├── question.png ├── radio_normal.png ├── radio_selected.png ├── room │ ├── Deluxe Suite.jpg │ ├── back.jpg │ ├── double room.jpg │ └── single room.jpg ├── roomnum │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ ├── 9.png │ └── layout.png ├── roomtype │ ├── double.png │ ├── luxury.png │ ├── president.png │ └── signal.png ├── select.png ├── sub-line_horizontal.png ├── sub-line_vertical.png └── update.png ├── readme.md └── screen └── home.png /Src/HotelManagesys.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2014-12-21T13:21:57 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | QT +=sql 9 | 10 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 11 | 12 | TARGET = HotelManagesys 13 | TEMPLATE = app 14 | 15 | INCLUDEPATH +=$$PWD/../ 16 | 17 | SOURCES += main.cpp\ 18 | $$PWD/widget.cpp \ 19 | $$PWD/../app/iconhelper.cpp \ 20 | $$PWD/../app/frmmessagebox.cpp \ 21 | $$PWD/../app/mysqlapi.cpp \ 22 | $$PWD/../app/myapp.cpp \ 23 | $$PWD/../app/myhelper.cpp \ 24 | $$PWD/../app/mythread.cpp \ 25 | $$PWD/logindialog.cpp \ 26 | $$PWD/registerdialog.cpp \ 27 | $$PWD/promanage.cpp \ 28 | $$PWD/costomerregisterinfodialog.cpp \ 29 | $$PWD/customerwindget.cpp \ 30 | $$PWD/romminfo.cpp \ 31 | $$PWD/modiftroomprice.cpp \ 32 | $$PWD/checkcutomdialog.cpp \ 33 | $$PWD/logblogdialog.cpp \ 34 | $$PWD/modifypwddialog.cpp \ 35 | $$PWD/roompicdialog.cpp \ 36 | $$PWD/backupdatanasedialog.cpp \ 37 | $$PWD/checkoutdialog.cpp 38 | 39 | HEADERS += widget.h \ 40 | $$PWD/../app/iconhelper.h \ 41 | $$PWD/../app/frmmessagebox.h \ 42 | $$PWD/../app/myapp.h \ 43 | $$PWD/../app/myhelper.h \ 44 | $$PWD/../app/mythread.h \ 45 | $$PWD/../app/Connection.h \ 46 | $$PWD/../app/mysqlapi.h \ 47 | $$PWD/logindialog.h \ 48 | $$PWD/registerdialog.h \ 49 | $$PWD/promanage.h \ 50 | $$PWD/costomerregisterinfodialog.h \ 51 | $$PWD/customerwindget.h \ 52 | $$PWD/romminfo.h \ 53 | $$PWD/modiftroomprice.h \ 54 | $$PWD/checkcutomdialog.h \ 55 | $$PWD/logblogdialog.h \ 56 | $$PWD/modifypwddialog.h \ 57 | $$PWD/roompicdialog.h \ 58 | $$PWD/backupdatanasedialog.h \ 59 | $$PWD/checkoutdialog.h 60 | 61 | FORMS += widget.ui \ 62 | $$PWD/../app/frmmessagebox.ui \ 63 | $$PWD/logindialog.ui \ 64 | $$PWD/registerdialog.ui \ 65 | $$PWD/promanage.ui \ 66 | $$PWD/costomerregisterinfodialog.ui \ 67 | $$PWD/customerwindget.ui \ 68 | $$PWD/romminfo.ui \ 69 | $$PWD/modiftroomprice.ui \ 70 | $$PWD/checkcutomdialog.ui \ 71 | $$PWD/logblogdialog.ui \ 72 | $$PWD/modifypwddialog.ui \ 73 | $$PWD/roompicdialog.ui \ 74 | $$PWD/backupdatanasedialog.ui \ 75 | $$PWD/checkoutdialog.ui 76 | 77 | DES_FILE =$$PWD/../tempFiles 78 | MOC_DIR =$${DES_FILE}/moc 79 | RCC_DIR =$${DES_FILE}/rcc 80 | UI_DIR =$${DES_FILE}/ui 81 | OBJECTS_DIR =$${DES_FILE}/obj 82 | DESTDIR = $$PWD/../bin 83 | 84 | win32:RC_FILE=main.rc 85 | 86 | RESOURCES += \ 87 | image.qrc 88 | -------------------------------------------------------------------------------- /Src/backupdatanasedialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/backupdatanasedialog.cpp -------------------------------------------------------------------------------- /Src/backupdatanasedialog.h: -------------------------------------------------------------------------------- 1 | #ifndef BACKUPDATANASEDIALOG_H 2 | #define BACKUPDATANASEDIALOG_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class BackupDatanaseDialog; 8 | } 9 | 10 | class BackupDatanaseDialog : public QDialog 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit BackupDatanaseDialog(QWidget *parent = 0); 16 | ~BackupDatanaseDialog(); 17 | 18 | void InitForm(); 19 | 20 | private slots: 21 | 22 | void on_pbnOk_clicked(); 23 | 24 | void on_pbnSearch_clicked(); 25 | 26 | void on_lineEdit_textChanged(const QString &arg1); 27 | 28 | private: 29 | Ui::BackupDatanaseDialog *ui; 30 | }; 31 | 32 | #endif // BACKUPDATANASEDIALOG_H 33 | -------------------------------------------------------------------------------- /Src/backupdatanasedialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | BackupDatanaseDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 552 10 | 437 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 30 34 | 0 35 | 36 | 37 | 38 | image: url(:/image/database/database.png); 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 0 50 | 0 51 | 52 | 53 | 54 | 55 | 楷体 56 | 14 57 | 75 58 | true 59 | 60 | 61 | 62 | 【系统设置】--数据备份 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | Qt::Horizontal 72 | 73 | 74 | 75 | 40 76 | 20 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | Qt::Vertical 87 | 88 | 89 | QSizePolicy::Maximum 90 | 91 | 92 | 93 | 20 94 | 60 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | Qt::Horizontal 105 | 106 | 107 | 108 | 40 109 | 20 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | Qt::Horizontal 128 | 129 | 130 | 131 | 40 132 | 20 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 楷体 142 | 15 143 | 144 | 145 | 146 | 备份说明 147 | 148 | 149 | 150 | 151 | 152 | 153 | Qt::Horizontal 154 | 155 | 156 | 157 | 40 158 | 20 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | Qt::Horizontal 171 | 172 | 173 | 174 | 17 175 | 20 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | false 184 | 185 | 186 | 187 | 0 188 | 0 189 | 190 | 191 | 192 | 193 | 320 194 | 90 195 | 196 | 197 | 198 | 199 | 楷体 200 | 12 201 | 202 | 203 | 204 | Qt::LeftToRight 205 | 206 | 207 | 备份数据库时,首先选择要备份的目录,点击浏览按钮,可以转到你想要的盘符。 208 | 209 | 210 | 211 | 212 | 213 | 214 | Qt::Horizontal 215 | 216 | 217 | 218 | 17 219 | 20 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | Qt::Vertical 230 | 231 | 232 | QSizePolicy::Maximum 233 | 234 | 235 | 236 | 20 237 | 40 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 楷体 249 | 12 250 | 251 | 252 | 253 | 备份到: 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 230 262 | 0 263 | 264 | 265 | 266 | 267 | 0 268 | 0 269 | 270 | 271 | 272 | 273 | 楷体 274 | 12 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 90 284 | 30 285 | 286 | 287 | 288 | 289 | 楷体 290 | 12 291 | 292 | 293 | 294 | 浏览 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | Qt::Horizontal 306 | 307 | 308 | 309 | 40 310 | 20 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 90 320 | 30 321 | 322 | 323 | 324 | 确认备份 325 | 326 | 327 | 328 | 329 | 330 | 331 | Qt::Horizontal 332 | 333 | 334 | 335 | 40 336 | 20 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 楷体 348 | 12 349 | 350 | 351 | 352 | 正在备份…… 353 | 354 | 355 | 356 | 357 | 358 | 359 | 0 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | Qt::Horizontal 372 | 373 | 374 | 375 | 40 376 | 20 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | Qt::Vertical 385 | 386 | 387 | 388 | 20 389 | 40 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | -------------------------------------------------------------------------------- /Src/checkcutomdialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/checkcutomdialog.cpp -------------------------------------------------------------------------------- /Src/checkcutomdialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/checkcutomdialog.h -------------------------------------------------------------------------------- /Src/checkoutdialog.cpp: -------------------------------------------------------------------------------- 1 | #include "checkoutdialog.h" 2 | #include "ui_checkoutdialog.h" 3 | 4 | CheckOutDialog::CheckOutDialog(QWidget *parent) : 5 | QDialog(parent), 6 | ui(new Ui::CheckOutDialog) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | CheckOutDialog::~CheckOutDialog() 12 | { 13 | delete ui; 14 | } 15 | -------------------------------------------------------------------------------- /Src/checkoutdialog.h: -------------------------------------------------------------------------------- 1 | #ifndef CHECKOUTDIALOG_H 2 | #define CHECKOUTDIALOG_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class CheckOutDialog; 8 | } 9 | 10 | class CheckOutDialog : public QDialog 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit CheckOutDialog(QWidget *parent = 0); 16 | ~CheckOutDialog(); 17 | 18 | private: 19 | Ui::CheckOutDialog *ui; 20 | }; 21 | 22 | #endif // CHECKOUTDIALOG_H 23 | -------------------------------------------------------------------------------- /Src/checkoutdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CheckOutDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 557 10 | 435 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 0 26 | 0 27 | 28 | 29 | 30 | 31 | 楷体 32 | 14 33 | 75 34 | true 35 | 36 | 37 | 38 | 【业务管理】--顾客退房 39 | 40 | 41 | 42 | 43 | 44 | 45 | Qt::Horizontal 46 | 47 | 48 | 49 | 40 50 | 20 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | Qt::Horizontal 63 | 64 | 65 | QSizePolicy::Maximum 66 | 67 | 68 | 69 | 60 70 | 20 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 楷体 80 | 12 81 | 82 | 83 | 84 | 选择查询方式 85 | 86 | 87 | 88 | 20 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 身份证号: 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 0 122 | 0 123 | 124 | 125 | 126 | 127 | 190 128 | 26 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 0 138 | 0 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 房间号: 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 80 157 | 30 158 | 159 | 160 | 161 | 查找 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | Qt::Horizontal 176 | 177 | 178 | 179 | 40 180 | 20 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | Qt::Horizontal 193 | 194 | 195 | QSizePolicy::Maximum 196 | 197 | 198 | 199 | 60 200 | 20 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 500 210 | 300 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | Qt::Horizontal 227 | 228 | 229 | 230 | 40 231 | 20 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | Qt::Vertical 240 | 241 | 242 | 243 | 20 244 | 40 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | -------------------------------------------------------------------------------- /Src/costomerregisterinfodialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/costomerregisterinfodialog.cpp -------------------------------------------------------------------------------- /Src/costomerregisterinfodialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/costomerregisterinfodialog.h -------------------------------------------------------------------------------- /Src/costomerregisterinfodialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CostomerRegisterInfoDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 570 10 | 478 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 楷体 24 | 12 25 | 26 | 27 | 28 | 客户信息 29 | 30 | 31 | 32 | 20 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 楷体 55 | 12 56 | 57 | 58 | 59 | 编号:* 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 楷体 68 | 12 69 | 70 | 71 | 72 | 性别:* 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 楷体 81 | 12 82 | 83 | 84 | 85 | QLineEdit::Normal 86 | 87 | 88 | 请输入编号 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 楷体 97 | 12 98 | 99 | 100 | 101 | 昵称:* 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 楷体 110 | 12 111 | 112 | 113 | 114 | 密码:* 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 楷体 123 | 12 124 | 125 | 126 | 127 | QLineEdit::Normal 128 | 129 | 130 | 请输入昵称 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 楷体 139 | 12 140 | 141 | 142 | 143 | 备注: 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 楷体 152 | 12 153 | 154 | 155 | 156 | 地址: 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 楷体 165 | 12 166 | 167 | 168 | 169 | QLineEdit::Normal 170 | 171 | 172 | 请输入11位号码 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 楷体 181 | 12 182 | 183 | 184 | 185 | 电话: 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 楷体 194 | 12 195 | 196 | 197 | 198 | 入住时间: 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 楷体 207 | 12 208 | 209 | 210 | 211 | QLineEdit::Password 212 | 213 | 214 | 请输入密码 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 楷体 223 | 12 224 | 225 | 226 | 227 | 显示 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 楷体 236 | 12 237 | 238 | 239 | 240 | 自动生成 241 | 242 | 243 | 请输入入住时间 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 楷体 252 | 12 253 | 254 | 255 | 256 | QLineEdit::Normal 257 | 258 | 259 | 填写详细地址 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 楷体 268 | 12 269 | 270 | 271 | 272 | 可以不填 273 | 274 | 275 | 276 | 277 | 278 | 279 | Qt::Horizontal 280 | 281 | 282 | 283 | 40 284 | 20 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 楷体 294 | 12 295 | 296 | 297 | 298 | 请输入性别 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | Qt::Horizontal 311 | 312 | 313 | 314 | 40 315 | 20 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 0 331 | 0 332 | 333 | 334 | 335 | 336 | 80 337 | 0 338 | 339 | 340 | 341 | 342 | 楷体 343 | 12 344 | 345 | 346 | 347 | OpenHandCursor 348 | 349 | 350 | 添加 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 0 359 | 0 360 | 361 | 362 | 363 | 364 | 80 365 | 0 366 | 367 | 368 | 369 | 370 | 楷体 371 | 12 372 | 373 | 374 | 375 | OpenHandCursor 376 | 377 | 378 | 修改 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 0 387 | 0 388 | 389 | 390 | 391 | 392 | 80 393 | 0 394 | 395 | 396 | 397 | 398 | 楷体 399 | 12 400 | 401 | 402 | 403 | OpenHandCursor 404 | 405 | 406 | 保存 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 0 415 | 0 416 | 417 | 418 | 419 | 420 | 80 421 | 20 422 | 423 | 424 | 425 | 426 | 楷体 427 | 12 428 | 429 | 430 | 431 | OpenHandCursor 432 | 433 | 434 | 取消 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | Qt::Horizontal 444 | 445 | 446 | QSizePolicy::Expanding 447 | 448 | 449 | 450 | 200 451 | 20 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | -------------------------------------------------------------------------------- /Src/customerwindget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/customerwindget.cpp -------------------------------------------------------------------------------- /Src/customerwindget.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/customerwindget.h -------------------------------------------------------------------------------- /Src/image.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../image/add-line_horizontal.png 4 | ../image/add-line_vertical.png 5 | ../image/array_down.png 6 | ../image/back.png 7 | ../image/checkbox_checked.png 8 | ../image/checkbox_unchecked.png 9 | ../image/error.png 10 | ../image/Font Awesome Cheatsheet.png 11 | ../image/fontawesome-webfont.ttf 12 | ../image/info.png 13 | ../image/qt_zh_CN.qm 14 | ../image/question.png 15 | ../image/radio_normal.png 16 | ../image/radio_selected.png 17 | ../image/sub-line_horizontal.png 18 | ../image/sub-line_vertical.png 19 | ../image/delete.png 20 | ../image/update.png 21 | ../image/blue.css 22 | ../image/room/Deluxe Suite.jpg 23 | ../image/room/double room.jpg 24 | ../image/room/single room.jpg 25 | ../image/room/back.jpg 26 | ../image/find.png 27 | ../image/roomnum/1.png 28 | ../image/roomnum/2.png 29 | ../image/roomnum/3.png 30 | ../image/roomnum/4.png 31 | ../image/roomnum/5.png 32 | ../image/roomnum/6.png 33 | ../image/roomnum/7.png 34 | ../image/roomnum/8.png 35 | ../image/roomnum/9.png 36 | ../image/roomnum/layout.png 37 | ../image/roomtype/double.png 38 | ../image/roomtype/luxury.png 39 | ../image/roomtype/president.png 40 | ../image/roomtype/signal.png 41 | ../image/excel.png 42 | ../image/print.png 43 | ../image/select.png 44 | ../image/house/1.jpg 45 | ../image/house/2.jpg 46 | ../image/house/3.jpg 47 | ../image/house/4.jpg 48 | ../image/house/5.jpg 49 | ../image/house/6.jpg 50 | ../image/house/7.jpg 51 | ../image/house/8.jpg 52 | ../image/house/9.jpg 53 | ../image/house/10.jpg 54 | ../image/house/11.jpg 55 | ../image/database/database.png 56 | ../help/help.CHM 57 | 58 | 59 | -------------------------------------------------------------------------------- /Src/logblogdialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/logblogdialog.cpp -------------------------------------------------------------------------------- /Src/logblogdialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/logblogdialog.h -------------------------------------------------------------------------------- /Src/logblogdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | LogBlogDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 696 10 | 466 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 楷体 26 | 12 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 时间 41 | 42 | 43 | 44 | 45 | 46 | 47 | 开始时间 48 | 49 | 50 | 51 | 52 | 53 | 54 | true 55 | 56 | 57 | 58 | 楷体 59 | 12 60 | 75 61 | false 62 | true 63 | true 64 | 65 | 66 | 67 | Qt::WheelFocus 68 | 69 | 70 | Qt::DefaultContextMenu 71 | 72 | 73 | Qt::ImhPreferNumbers 74 | 75 | 76 | true 77 | 78 | 79 | false 80 | 81 | 82 | true 83 | 84 | 85 | yyyy年M月d日 86 | 87 | 88 | true 89 | 90 | 91 | 92 | 93 | 94 | 95 | 结束时间 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 楷体 104 | 12 105 | 75 106 | false 107 | true 108 | true 109 | 110 | 111 | 112 | yyyy年M月d日 113 | 114 | 115 | true 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 类型 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 75 135 | true 136 | 137 | 138 | 139 | 140 | 顾客 141 | 142 | 143 | 144 | 145 | 管理员 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 操作员 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 75 162 | true 163 | 164 | 165 | 166 | 167 | admin 168 | 169 | 170 | 171 | 172 | 管理员 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | OpenHandCursor 185 | 186 | 187 | 查询(&S) 188 | 189 | 190 | 191 | :/image/select.png:/image/select.png 192 | 193 | 194 | 195 | 20 196 | 20 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | OpenHandCursor 205 | 206 | 207 | 删除(&D) 208 | 209 | 210 | 211 | :/image/delete.png:/image/delete.png 212 | 213 | 214 | 215 | 20 216 | 20 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | OpenHandCursor 225 | 226 | 227 | 打印(&P) 228 | 229 | 230 | 231 | :/image/print.png:/image/print.png 232 | 233 | 234 | 235 | 20 236 | 20 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | OpenHandCursor 245 | 246 | 247 | 功能开发中 248 | 249 | 250 | 导出(&E) 251 | 252 | 253 | 254 | :/image/excel.png:/image/excel.png 255 | 256 | 257 | 258 | 20 259 | 20 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | Qt::Horizontal 275 | 276 | 277 | 278 | 40 279 | 20 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 楷体 291 | 12 292 | 293 | 294 | 295 | 操作日志 296 | 297 | 298 | 299 | 20 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | -------------------------------------------------------------------------------- /Src/logindialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/logindialog.cpp -------------------------------------------------------------------------------- /Src/logindialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/logindialog.h -------------------------------------------------------------------------------- /Src/logindialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | LoginDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 450 10 | 282 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 0 20 | 0 21 | 451 22 | 33 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 100 34 | 33 35 | 36 | 37 | 38 | false 39 | 40 | 41 | 42 | 4 43 | 44 | 45 | QLayout::SetNoConstraint 46 | 47 | 48 | 0 49 | 50 | 51 | 52 | 53 | 54 | 0 55 | 0 56 | 57 | 58 | 59 | 60 | 30 61 | 0 62 | 63 | 64 | 65 | 66 | 67 | 68 | Qt::AlignCenter 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 0 77 | 0 78 | 79 | 80 | 81 | 82 | 微软雅黑 83 | 10 84 | 50 85 | false 86 | false 87 | 88 | 89 | 90 | font: 10pt "微软雅黑"; 91 | 92 | 93 | 大众酒店管理系统 94 | 95 | 96 | Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 0 105 | 0 106 | 107 | 108 | 109 | 110 | 0 111 | 112 | 113 | 0 114 | 115 | 116 | 117 | 118 | 119 | 0 120 | 0 121 | 122 | 123 | 124 | 125 | 31 126 | 0 127 | 128 | 129 | 130 | ArrowCursor 131 | 132 | 133 | Qt::NoFocus 134 | 135 | 136 | 菜单 137 | 138 | 139 | 140 | 141 | 142 | true 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 0 151 | 0 152 | 153 | 154 | 155 | 156 | 31 157 | 0 158 | 159 | 160 | 161 | ArrowCursor 162 | 163 | 164 | Qt::NoFocus 165 | 166 | 167 | 最小化 168 | 169 | 170 | 171 | 172 | 173 | true 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 0 182 | 0 183 | 184 | 185 | 186 | 187 | 40 188 | 0 189 | 190 | 191 | 192 | ArrowCursor 193 | 194 | 195 | Qt::NoFocus 196 | 197 | 198 | 关闭 199 | 200 | 201 | 202 | 203 | 204 | true 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 10 217 | 70 218 | 421 219 | 181 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 20 229 | 20 230 | 71 231 | 31 232 | 233 | 234 | 235 | 236 | 楷体 237 | 12 238 | 75 239 | true 240 | 241 | 242 | 243 | 登录名: 244 | 245 | 246 | 247 | 248 | 249 | 20 250 | 60 251 | 71 252 | 31 253 | 254 | 255 | 256 | 257 | 楷体 258 | 12 259 | 75 260 | true 261 | 262 | 263 | 264 | 登录密码: 265 | 266 | 267 | 268 | 269 | 270 | 120 271 | 60 272 | 161 273 | 28 274 | 275 | 276 | 277 | 278 | 楷体 279 | 12 280 | 281 | 282 | 283 | 请输入密码 284 | 285 | 286 | 287 | 288 | 289 | QLineEdit::Password 290 | 291 | 292 | Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 293 | 294 | 295 | 请输入密码 296 | 297 | 298 | 299 | 300 | 301 | 300 302 | 20 303 | 101 304 | 28 305 | 306 | 307 | 308 | 309 | 楷体 310 | 12 311 | 75 312 | true 313 | 314 | 315 | 316 | OpenHandCursor 317 | 318 | 319 | 登录(&L) 320 | 321 | 322 | 323 | :/image/update.png:/image/update.png 324 | 325 | 326 | 327 | 20 328 | 20 329 | 330 | 331 | 332 | 333 | 334 | 335 | 300 336 | 60 337 | 101 338 | 28 339 | 340 | 341 | 342 | 343 | 楷体 344 | 12 345 | 75 346 | true 347 | 348 | 349 | 350 | OpenHandCursor 351 | 352 | 353 | <html><head/><body><p><br/></p></body></html> 354 | 355 | 356 | <html><head/><body><p><br/></p></body></html> 357 | 358 | 359 | 注册(&R) 360 | 361 | 362 | 363 | :/image/delete.png:/image/delete.png 364 | 365 | 366 | 367 | 20 368 | 20 369 | 370 | 371 | 372 | 373 | 374 | 375 | 20 376 | 133 377 | 381 378 | 31 379 | 380 | 381 | 382 | 383 | 楷体 384 | 12 385 | 75 386 | true 387 | 388 | 389 | 390 | 技术支持: 391 | 392 | 393 | 394 | 395 | 396 | 130 397 | 110 398 | 89 399 | 16 400 | 401 | 402 | 403 | 404 | 楷体 405 | 12 406 | 407 | 408 | 409 | 顾客 410 | 411 | 412 | 413 | 414 | 415 | 234 416 | 110 417 | 89 418 | 16 419 | 420 | 421 | 422 | 423 | 楷体 424 | 12 425 | 426 | 427 | 428 | 管理员 429 | 430 | 431 | 432 | 433 | 434 | 120 435 | 19 436 | 161 437 | 28 438 | 439 | 440 | 441 | 442 | 楷体 443 | 12 444 | 75 445 | true 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | -------------------------------------------------------------------------------- /Src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/main.cpp -------------------------------------------------------------------------------- /Src/main.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/main.ico -------------------------------------------------------------------------------- /Src/main.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | 3 | IDI_ICON1 ICON "main.ico" 4 | 5 | VS_VERSION_INFO VERSIONINFO 6 | FILEVERSION 1,0,0,0 7 | PRODUCTVERSION 1,0,0,0 8 | FILEFLAGS 0x0L 9 | FILEFLAGSMASK 0x3fL 10 | FILEOS VOS_NT_WINDOWS32 11 | FILETYPE VFT_APP 12 | FILESUBTYPE VFT2_UNKNOWN 13 | BEGIN 14 | BLOCK "StringFileInfo" 15 | BEGIN 16 | BLOCK "000004b0" 17 | BEGIN 18 | VALUE "CompanyName", "feiyangqingyun@163.com QQ:517216493" 19 | VALUE "FileDescription", "QUI" 20 | VALUE "FileVersion", "1.0.0.0" 21 | VALUE "LegalCopyright", "feiyangqingyun@163.com QQ:517216493" 22 | VALUE "InternalName", "QUI" 23 | VALUE "OriginalFilename", "QUI" 24 | VALUE "ProductName", "QUI" 25 | VALUE "ProductVersion", "1.0.0.0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0, 1200 31 | END 32 | END -------------------------------------------------------------------------------- /Src/modiftroomprice.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/modiftroomprice.cpp -------------------------------------------------------------------------------- /Src/modiftroomprice.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/modiftroomprice.h -------------------------------------------------------------------------------- /Src/modiftroomprice.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | ModiftRoomPrice 4 | 5 | 6 | 7 | 0 8 | 0 9 | 490 10 | 409 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 楷体 26 | 12 27 | 28 | 29 | 30 | 房间信息 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 0 44 | 0 45 | 46 | 47 | 48 | image: url(:/image/house/1.jpg); 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 0 74 | 0 75 | 76 | 77 | 78 | 请输入名称 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 楷体 87 | 11 88 | 89 | 90 | 91 | 价格: 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 0 100 | 0 101 | 102 | 103 | 104 | 请输入价格 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 楷体 113 | 11 114 | 115 | 116 | 117 | 房间类型编号: 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 0 126 | 0 127 | 128 | 129 | 130 | 131 | 40 132 | 26 133 | 134 | 135 | 136 | 请输入类型编号 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 楷体 145 | 11 146 | 147 | 148 | 149 | 名称: 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 楷体 158 | 12 159 | 160 | 161 | 162 | 类型编号从 1 开始 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 楷体 171 | 12 172 | 173 | 174 | 175 | 房间价格单位:元 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | Qt::Horizontal 190 | 191 | 192 | 193 | 40 194 | 20 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 0 210 | 0 211 | 212 | 213 | 214 | 215 | 80 216 | 0 217 | 218 | 219 | 220 | 221 | 楷体 222 | 12 223 | 224 | 225 | 226 | OpenHandCursor 227 | 228 | 229 | 添加 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 0 238 | 0 239 | 240 | 241 | 242 | 243 | 80 244 | 0 245 | 246 | 247 | 248 | 249 | 楷体 250 | 12 251 | 252 | 253 | 254 | OpenHandCursor 255 | 256 | 257 | 修改 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 0 266 | 0 267 | 268 | 269 | 270 | 271 | 80 272 | 0 273 | 274 | 275 | 276 | 277 | 楷体 278 | 12 279 | 280 | 281 | 282 | OpenHandCursor 283 | 284 | 285 | 保存 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 0 294 | 0 295 | 296 | 297 | 298 | 299 | 80 300 | 23 301 | 302 | 303 | 304 | 305 | 楷体 306 | 12 307 | 308 | 309 | 310 | OpenHandCursor 311 | 312 | 313 | 取消 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | Qt::Horizontal 323 | 324 | 325 | 326 | 40 327 | 20 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | -------------------------------------------------------------------------------- /Src/modifypwddialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/modifypwddialog.cpp -------------------------------------------------------------------------------- /Src/modifypwddialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/modifypwddialog.h -------------------------------------------------------------------------------- /Src/modifypwddialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | ModifyPwdDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 628 10 | 443 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 0 26 | 0 27 | 28 | 29 | 30 | 31 | 楷体 32 | 14 33 | 75 34 | true 35 | 36 | 37 | 38 | 【个人中心】--修改密码 39 | 40 | 41 | 42 | 43 | 44 | 45 | Qt::Horizontal 46 | 47 | 48 | 49 | 40 50 | 20 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 0 64 | 0 65 | 66 | 67 | 68 | 69 | 楷体 70 | 12 71 | 72 | 73 | 74 | 您当前的登录名: 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 0 83 | 0 84 | 85 | 86 | 87 | 88 | 楷体 89 | 12 90 | 91 | 92 | 93 | 您的登录名 94 | 95 | 96 | 当前用户名 97 | 98 | 99 | 100 | 101 | 102 | 103 | 类型 104 | 105 | 106 | 107 | 108 | 109 | 110 | Qt::Horizontal 111 | 112 | 113 | 114 | 40 115 | 20 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | Qt::Vertical 126 | 127 | 128 | 129 | 20 130 | 40 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | Qt::Horizontal 141 | 142 | 143 | 144 | 40 145 | 20 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 0 155 | 0 156 | 157 | 158 | 159 | 160 | 440 161 | 240 162 | 163 | 164 | 165 | 166 | 楷体 167 | 12 168 | 169 | 170 | 171 | 修改密码 172 | 173 | 174 | 175 | 20 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 再次输入新密码: 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 0 193 | 30 194 | 195 | 196 | 197 | QLineEdit::Password 198 | 199 | 200 | 请再次输入新密码 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 0 209 | 0 210 | 211 | 212 | 213 | (密码可以是6~16位数字、字母,不能包含下划线等特殊字符) 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 0 222 | 30 223 | 224 | 225 | 226 | QLineEdit::Password 227 | 228 | 229 | 输入新密码 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 0 238 | 30 239 | 240 | 241 | 242 | QLineEdit::Password 243 | 244 | 245 | 请输入旧密码 246 | 247 | 248 | 249 | 250 | 251 | 252 | 旧密码 : 253 | 254 | 255 | 256 | 257 | 258 | 259 | 新密码: 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | Qt::Horizontal 271 | 272 | 273 | 274 | 40 275 | 20 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 100 285 | 0 286 | 287 | 288 | 289 | OpenHandCursor 290 | 291 | 292 | 确认修改 293 | 294 | 295 | 修改密码 296 | 297 | 298 | 299 | 300 | 301 | 302 | Qt::Horizontal 303 | 304 | 305 | QSizePolicy::Maximum 306 | 307 | 308 | 309 | 120 310 | 20 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 100 320 | 30 321 | 322 | 323 | 324 | OpenHandCursor 325 | 326 | 327 | 取消 328 | 329 | 330 | 取消 331 | 332 | 333 | 334 | 335 | 336 | 337 | Qt::Horizontal 338 | 339 | 340 | 341 | 40 342 | 20 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | Qt::Horizontal 358 | 359 | 360 | 361 | 40 362 | 20 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | Qt::Vertical 375 | 376 | 377 | 378 | 20 379 | 40 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | -------------------------------------------------------------------------------- /Src/promanage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/promanage.cpp -------------------------------------------------------------------------------- /Src/promanage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/promanage.h -------------------------------------------------------------------------------- /Src/promanage.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | ProManage 4 | 5 | 6 | 7 | 0 8 | 0 9 | 676 10 | 426 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 楷体 26 | 12 27 | 28 | 29 | 30 | 房间状态态图 31 | 32 | 33 | 34 | 7 35 | 36 | 37 | 18 38 | 39 | 40 | 41 | 42 | 30 43 | 44 | 45 | 20 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 130 59 | 0 60 | 61 | 62 | 63 | 64 | 楷体 65 | 12 66 | 67 | 68 | 69 | 说明 70 | 71 | 72 | 73 | 20 74 | 75 | 76 | 12 77 | 78 | 79 | 80 | 81 | 82 | 11 83 | 75 84 | true 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 0 101 | 0 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 120 114 | 35 115 | 116 | 117 | 118 | 119 | 75 120 | true 121 | 122 | 123 | 124 | OpenHandCursor 125 | 126 | 127 | 128 | 不限房态 129 | 130 | 131 | 132 | 133 | 限空房 134 | 135 | 136 | 137 | 138 | 限住客房 139 | 140 | 141 | 142 | 143 | 限维修房 144 | 145 | 146 | 147 | 148 | 限保留房 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 0 162 | 0 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 120 175 | 35 176 | 177 | 178 | 179 | 180 | 75 181 | true 182 | 183 | 184 | 185 | OpenHandCursor 186 | 187 | 188 | 189 | 所有楼层 190 | 191 | 192 | 193 | 194 | 1层 195 | 196 | 197 | 198 | :/image/roomnum/1.png:/image/roomnum/1.png 199 | 200 | 201 | 202 | 203 | 2层 204 | 205 | 206 | 207 | :/image/roomnum/2.png:/image/roomnum/2.png 208 | 209 | 210 | 211 | 212 | 3层 213 | 214 | 215 | 216 | :/image/roomnum/3.png:/image/roomnum/3.png 217 | 218 | 219 | 220 | 221 | 4层 222 | 223 | 224 | 225 | :/image/roomnum/4.png:/image/roomnum/4.png 226 | 227 | 228 | 229 | 230 | 5层 231 | 232 | 233 | 234 | :/image/roomnum/5.png:/image/roomnum/5.png 235 | 236 | 237 | 238 | 239 | 6层 240 | 241 | 242 | 243 | :/image/roomnum/6.png:/image/roomnum/6.png 244 | 245 | 246 | 247 | 248 | 7层 249 | 250 | 251 | 252 | :/image/roomnum/7.png:/image/roomnum/7.png 253 | 254 | 255 | 256 | 257 | 8层 258 | 259 | 260 | 261 | :/image/roomnum/8.png:/image/roomnum/8.png 262 | 263 | 264 | 265 | 266 | 9层 267 | 268 | 269 | 270 | :/image/roomnum/9.png:/image/roomnum/9.png 271 | 272 | 273 | 274 | 275 | 10层 276 | 277 | 278 | 279 | :/image/roomnum/layout.png:/image/roomnum/layout.png 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 0 293 | 0 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 120 306 | 35 307 | 308 | 309 | 310 | 311 | 75 312 | true 313 | 314 | 315 | 316 | OpenHandCursor 317 | 318 | 319 | 320 | 所有房型 321 | 322 | 323 | 324 | 325 | 单人间 326 | 327 | 328 | 329 | :/image/roomtype/signal.png:/image/roomtype/signal.png 330 | 331 | 332 | 333 | 334 | 双人间 335 | 336 | 337 | 338 | :/image/roomtype/double.png:/image/roomtype/double.png 339 | 340 | 341 | 342 | 343 | 豪华套间 344 | 345 | 346 | 347 | :/image/roomtype/luxury.png:/image/roomtype/luxury.png 348 | 349 | 350 | 351 | 352 | 总统套房 353 | 354 | 355 | 356 | :/image/roomtype/president.png:/image/roomtype/president.png 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 12 368 | 75 369 | true 370 | 371 | 372 | 373 | 374 | 375 | 376 | Qt::AlignCenter 377 | 378 | 379 | 380 | 381 | 382 | 383 | Qt::Vertical 384 | 385 | 386 | 387 | 20 388 | 40 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | -------------------------------------------------------------------------------- /Src/registerdialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/registerdialog.cpp -------------------------------------------------------------------------------- /Src/registerdialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/registerdialog.h -------------------------------------------------------------------------------- /Src/registerdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RegisterDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 547 10 | 444 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 0 20 | 0 21 | 548 22 | 34 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 100 34 | 33 35 | 36 | 37 | 38 | false 39 | 40 | 41 | 42 | 4 43 | 44 | 45 | QLayout::SetNoConstraint 46 | 47 | 48 | 0 49 | 50 | 51 | 52 | 53 | 54 | 0 55 | 0 56 | 57 | 58 | 59 | 60 | 30 61 | 0 62 | 63 | 64 | 65 | 66 | 67 | 68 | Qt::AlignCenter 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 0 77 | 0 78 | 79 | 80 | 81 | 82 | 微软雅黑 83 | 10 84 | 50 85 | false 86 | false 87 | 88 | 89 | 90 | font: 10pt "微软雅黑"; 91 | 92 | 93 | 大众酒店管理系统 94 | 95 | 96 | Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 0 105 | 0 106 | 107 | 108 | 109 | 110 | 0 111 | 112 | 113 | 0 114 | 115 | 116 | 117 | 118 | 119 | 0 120 | 0 121 | 122 | 123 | 124 | 125 | 40 126 | 0 127 | 128 | 129 | 130 | ArrowCursor 131 | 132 | 133 | Qt::NoFocus 134 | 135 | 136 | 关闭 137 | 138 | 139 | 140 | 141 | 142 | true 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 16 155 | 90 156 | 515 157 | 285 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 12 167 | 23 168 | 54 169 | 30 170 | 171 | 172 | 173 | 174 | 楷体 175 | 12 176 | 177 | 178 | 179 | 用户名:* 180 | 181 | 182 | 183 | 184 | 185 | 12 186 | 63 187 | 51 188 | 31 189 | 190 | 191 | 192 | 193 | 楷体 194 | 12 195 | 196 | 197 | 198 | 密码:* 199 | 200 | 201 | 202 | 203 | 204 | 69 205 | 63 206 | 161 207 | 28 208 | 209 | 210 | 211 | 212 | 楷体 213 | 12 214 | 215 | 216 | 217 | QLineEdit::Password 218 | 219 | 220 | 请输入密码 221 | 222 | 223 | 224 | 225 | 226 | 70 227 | 23 228 | 161 229 | 28 230 | 231 | 232 | 233 | 234 | 楷体 235 | 12 236 | 237 | 238 | 239 | QLineEdit::Normal 240 | 241 | 242 | 请输入用户名 243 | 244 | 245 | 246 | 247 | 248 | 324 249 | 63 250 | 161 251 | 28 252 | 253 | 254 | 255 | 256 | 楷体 257 | 12 258 | 259 | 260 | 261 | QLineEdit::Password 262 | 263 | 264 | 请再次输入密码 265 | 266 | 267 | 268 | 269 | 270 | 256 271 | 22 272 | 51 273 | 31 274 | 275 | 276 | 277 | 278 | 楷体 279 | 12 280 | 281 | 282 | 283 | 性别:* 284 | 285 | 286 | 287 | 288 | 289 | 256 290 | 63 291 | 67 292 | 30 293 | 294 | 295 | 296 | 297 | 楷体 298 | 12 299 | 300 | 301 | 302 | 确认密码:* 303 | 304 | 305 | 306 | 307 | 308 | 324 309 | 23 310 | 71 311 | 22 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 69 329 | 152 330 | 391 331 | 28 332 | 333 | 334 | 335 | 336 | 楷体 337 | 12 338 | 339 | 340 | 341 | QLineEdit::Normal 342 | 343 | 344 | 请输入详细地址 345 | 346 | 347 | 348 | 349 | 350 | 67 351 | 113 352 | 161 353 | 28 354 | 355 | 356 | 357 | 358 | 楷体 359 | 12 360 | 361 | 362 | 363 | QLineEdit::Normal 364 | 365 | 366 | 请输入电话 367 | 368 | 369 | 370 | 371 | 372 | 11 373 | 150 374 | 41 375 | 31 376 | 377 | 378 | 379 | 380 | 楷体 381 | 12 382 | 383 | 384 | 385 | 地址: 386 | 387 | 388 | 389 | 390 | 391 | 12 392 | 113 393 | 51 394 | 31 395 | 396 | 397 | 398 | 399 | 楷体 400 | 12 401 | 402 | 403 | 404 | 电话: 405 | 406 | 407 | 408 | 409 | 410 | 12 411 | 193 412 | 41 413 | 31 414 | 415 | 416 | 417 | 418 | 楷体 419 | 12 420 | 421 | 422 | 423 | 备注: 424 | 425 | 426 | 427 | 428 | 429 | 324 430 | 112 431 | 121 432 | 22 433 | 434 | 435 | 436 | 437 | 120 438 | 0 439 | 440 | 441 | 442 | 443 | 楷体 444 | 12 445 | 446 | 447 | 448 | QDateTimeEdit::DaySection 449 | 450 | 451 | true 452 | 453 | 454 | 455 | 456 | 457 | 256 458 | 110 459 | 61 460 | 31 461 | 462 | 463 | 464 | 465 | 楷体 466 | 12 467 | 468 | 469 | 470 | 入住时间: 471 | 472 | 473 | 474 | 475 | 476 | 65 477 | 200 478 | 411 479 | 51 480 | 481 | 482 | 483 | 484 | 楷体 485 | 12 486 | 487 | 488 | 489 | 可不填写 490 | 491 | 492 | 493 | 494 | 495 | 496 | 110 497 | 390 498 | 101 499 | 28 500 | 501 | 502 | 503 | 504 | 楷体 505 | 12 506 | 507 | 508 | 509 | OpenHandCursor 510 | 511 | 512 | 确认注册 513 | 514 | 515 | 确认(&L) 516 | 517 | 518 | 519 | :/image/update.png:/image/update.png 520 | 521 | 522 | 523 | 20 524 | 20 525 | 526 | 527 | 528 | 529 | 530 | 531 | 270 532 | 390 533 | 101 534 | 28 535 | 536 | 537 | 538 | 539 | 楷体 540 | 12 541 | 542 | 543 | 544 | OpenHandCursor 545 | 546 | 547 | <html><head/><body><p><br/></p></body></html> 548 | 549 | 550 | <html><head/><body><p><br/></p></body></html> 551 | 552 | 553 | 取消(&C) 554 | 555 | 556 | 557 | :/image/delete.png:/image/delete.png 558 | 559 | 560 | 561 | 20 562 | 20 563 | 564 | 565 | 566 | 567 | 568 | 569 | 90 570 | 50 571 | 323 572 | 30 573 | 574 | 575 | 576 | 577 | 楷体 578 | 20 579 | 580 | 581 | 582 | 客户注册 583 | 584 | 585 | Qt::AlignCenter 586 | 587 | 588 | 589 | 590 | CustomerName 591 | comboBoxSex 592 | CustomerPwd 593 | CustomerRePwd 594 | CustomerPhone 595 | CustomerDateTime 596 | CustomerAddress 597 | CustomerRemark 598 | btnOk 599 | btnCancel 600 | 601 | 602 | 603 | 604 | 605 | 606 | -------------------------------------------------------------------------------- /Src/romminfo.cpp: -------------------------------------------------------------------------------- 1 | #include "romminfo.h" 2 | #include "ui_romminfo.h" 3 | 4 | RommInfo::RommInfo(QWidget *parent) : 5 | QWidget(parent), 6 | ui(new Ui::RommInfo) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | RommInfo::~RommInfo() 12 | { 13 | delete ui; 14 | } 15 | -------------------------------------------------------------------------------- /Src/romminfo.h: -------------------------------------------------------------------------------- 1 | #ifndef ROMMINFO_H 2 | #define ROMMINFO_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class RommInfo; 8 | } 9 | 10 | class RommInfo : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit RommInfo(QWidget *parent = 0); 16 | ~RommInfo(); 17 | 18 | private: 19 | Ui::RommInfo *ui; 20 | }; 21 | 22 | #endif // ROMMINFO_H 23 | -------------------------------------------------------------------------------- /Src/romminfo.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RommInfo 4 | 5 | 6 | 7 | 0 8 | 0 9 | 628 10 | 506 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 楷体 24 | 12 25 | 26 | 27 | 28 | 单人间 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 0 38 | 0 39 | 40 | 41 | 42 | 43 | 180 44 | 120 45 | 46 | 47 | 48 | 49 | 180 50 | 120 51 | 52 | 53 | 54 | border-image: url(:/image/room/single room.jpg); 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 楷体 66 | 12 67 | 50 68 | false 69 | 70 | 71 | 72 | 单人间: 高级大床 空调电视 无线上网, 73 | 独立卫浴 74 | 75 | 76 | 77 | 78 | 79 | 80 | Qt::Horizontal 81 | 82 | 83 | 84 | 48 85 | 28 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 楷体 100 | 12 101 | 102 | 103 | 104 | 双人间 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 0 114 | 0 115 | 116 | 117 | 118 | 119 | 180 120 | 120 121 | 122 | 123 | 124 | 125 | 180 126 | 120 127 | 128 | 129 | 130 | border-image: url(:/image/room/double room.jpg); 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 楷体 142 | 12 143 | 50 144 | false 145 | 146 | 147 | 148 | 双人间: 舒适套床 无线上网 独立卫浴 149 | 空调电视 免费早餐 150 | 151 | 152 | 153 | 154 | 155 | 156 | Qt::Horizontal 157 | 158 | 159 | 160 | 40 161 | 20 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 楷体 176 | 12 177 | 178 | 179 | 180 | 豪华套间 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 0 190 | 0 191 | 192 | 193 | 194 | 195 | 180 196 | 120 197 | 198 | 199 | 200 | 201 | 180 202 | 120 203 | 204 | 205 | 206 | border-image: url(:/image/room/Deluxe Suite.jpg); 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 楷体 218 | 12 219 | 50 220 | false 221 | 222 | 223 | 224 | 豪华套间: 豪华设施 空调电视 无线上网 独立卫浴 225 | 健身设施 特殊服务 226 | 227 | 228 | 229 | 230 | 231 | 232 | Qt::Horizontal 233 | 234 | 235 | 236 | 78 237 | 48 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | -------------------------------------------------------------------------------- /Src/roompicdialog.cpp: -------------------------------------------------------------------------------- 1 | #include "roompicdialog.h" 2 | #include "ui_roompicdialog.h" 3 | 4 | RoomPicDialog::RoomPicDialog(QWidget *parent) : 5 | QDialog(parent), 6 | ui(new Ui::RoomPicDialog) 7 | { 8 | ui->setupUi(this); 9 | } 10 | 11 | RoomPicDialog::~RoomPicDialog() 12 | { 13 | delete ui; 14 | } 15 | -------------------------------------------------------------------------------- /Src/roompicdialog.h: -------------------------------------------------------------------------------- 1 | #ifndef ROOMPICDIALOG_H 2 | #define ROOMPICDIALOG_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class RoomPicDialog; 8 | } 9 | 10 | class RoomPicDialog : public QDialog 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit RoomPicDialog(QWidget *parent = 0); 16 | ~RoomPicDialog(); 17 | 18 | private: 19 | Ui::RoomPicDialog *ui; 20 | }; 21 | 22 | #endif // ROOMPICDIALOG_H 23 | -------------------------------------------------------------------------------- /Src/roompicdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RoomPicDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 642 10 | 417 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 楷体 24 | 12 25 | 26 | 27 | 28 | 房间照片浏览1 29 | 30 | 31 | 32 | 15 33 | 34 | 35 | 36 | 37 | 38 | 39 | image: url(:/image/house/10.jpg); 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | image: url(:/image/house/3.jpg); 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | image: url(:/image/house/4.jpg); 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 楷体 76 | 12 77 | 78 | 79 | 80 | 房间照片浏览2 81 | 82 | 83 | 84 | 15 85 | 86 | 87 | 88 | 89 | 90 | 91 | image: url(:/image/house/5.jpg); 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | image: url(:/image/house/6.jpg); 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | image: url(:/image/house/7.jpg); 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 楷体 128 | 12 129 | 130 | 131 | 132 | 房间照片浏览3 133 | 134 | 135 | 136 | 15 137 | 138 | 139 | 140 | 141 | 142 | 143 | image: url(:/image/house/8.jpg); 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 0 155 | 96 156 | 157 | 158 | 159 | image: url(:/image/house/9.jpg); 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | image: url(:/image/house/10.jpg); 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | -------------------------------------------------------------------------------- /Src/temple/release/.qmake.stash: -------------------------------------------------------------------------------- 1 | QMAKE_CXX.QT_COMPILER_STDCXX = 201402L 2 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7 3 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 4 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 5 | QMAKE_CXX.COMPILER_MACROS = \ 6 | QT_COMPILER_STDCXX \ 7 | QMAKE_GCC_MAJOR_VERSION \ 8 | QMAKE_GCC_MINOR_VERSION \ 9 | QMAKE_GCC_PATCH_VERSION 10 | QMAKE_CXX.INCDIRS = \ 11 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++ \ 12 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/i686-w64-mingw32 \ 13 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/backward \ 14 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include \ 15 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include-fixed \ 16 | C:/Qt/Qt5.13.2/Tools/mingw730_32/i686-w64-mingw32/include 17 | QMAKE_CXX.LIBDIRS = \ 18 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0 \ 19 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib/gcc \ 20 | C:/Qt/Qt5.13.2/Tools/mingw730_32/i686-w64-mingw32/lib \ 21 | C:/Qt/Qt5.13.2/Tools/mingw730_32/lib 22 | -------------------------------------------------------------------------------- /Src/temple/release/object_script.HotelManagesys.Debug: -------------------------------------------------------------------------------- 1 | ../../../tempFiles/obj/main.o 2 | ../../../tempFiles/obj/widget.o 3 | ../../../tempFiles/obj/iconhelper.o 4 | ../../../tempFiles/obj/frmmessagebox.o 5 | ../../../tempFiles/obj/mysqlapi.o 6 | ../../../tempFiles/obj/myapp.o 7 | ../../../tempFiles/obj/myhelper.o 8 | ../../../tempFiles/obj/mythread.o 9 | ../../../tempFiles/obj/logindialog.o 10 | ../../../tempFiles/obj/registerdialog.o 11 | ../../../tempFiles/obj/promanage.o 12 | ../../../tempFiles/obj/costomerregisterinfodialog.o 13 | ../../../tempFiles/obj/customerwindget.o 14 | ../../../tempFiles/obj/romminfo.o 15 | ../../../tempFiles/obj/modiftroomprice.o 16 | ../../../tempFiles/obj/checkcutomdialog.o 17 | ../../../tempFiles/obj/logblogdialog.o 18 | ../../../tempFiles/obj/modifypwddialog.o 19 | ../../../tempFiles/obj/roompicdialog.o 20 | ../../../tempFiles/obj/backupdatanasedialog.o 21 | ../../../tempFiles/obj/checkoutdialog.o 22 | ../../../tempFiles/obj/qrc_image.o 23 | ../../../tempFiles/obj/moc_widget.o 24 | ../../../tempFiles/obj/moc_frmmessagebox.o 25 | ../../../tempFiles/obj/moc_myhelper.o 26 | ../../../tempFiles/obj/moc_mythread.o 27 | ../../../tempFiles/obj/moc_mysqlapi.o 28 | ../../../tempFiles/obj/moc_logindialog.o 29 | ../../../tempFiles/obj/moc_registerdialog.o 30 | ../../../tempFiles/obj/moc_promanage.o 31 | ../../../tempFiles/obj/moc_costomerregisterinfodialog.o 32 | ../../../tempFiles/obj/moc_customerwindget.o 33 | ../../../tempFiles/obj/moc_romminfo.o 34 | ../../../tempFiles/obj/moc_modiftroomprice.o 35 | ../../../tempFiles/obj/moc_checkcutomdialog.o 36 | ../../../tempFiles/obj/moc_logblogdialog.o 37 | ../../../tempFiles/obj/moc_modifypwddialog.o 38 | ../../../tempFiles/obj/moc_roompicdialog.o 39 | ../../../tempFiles/obj/moc_backupdatanasedialog.o 40 | ../../../tempFiles/obj/moc_checkoutdialog.o 41 | -------------------------------------------------------------------------------- /Src/temple/release/object_script.HotelManagesys.Release: -------------------------------------------------------------------------------- 1 | ../../../tempFiles/obj/main.o 2 | ../../../tempFiles/obj/widget.o 3 | ../../../tempFiles/obj/iconhelper.o 4 | ../../../tempFiles/obj/frmmessagebox.o 5 | ../../../tempFiles/obj/mysqlapi.o 6 | ../../../tempFiles/obj/myapp.o 7 | ../../../tempFiles/obj/myhelper.o 8 | ../../../tempFiles/obj/mythread.o 9 | ../../../tempFiles/obj/logindialog.o 10 | ../../../tempFiles/obj/registerdialog.o 11 | ../../../tempFiles/obj/promanage.o 12 | ../../../tempFiles/obj/costomerregisterinfodialog.o 13 | ../../../tempFiles/obj/customerwindget.o 14 | ../../../tempFiles/obj/romminfo.o 15 | ../../../tempFiles/obj/modiftroomprice.o 16 | ../../../tempFiles/obj/checkcutomdialog.o 17 | ../../../tempFiles/obj/logblogdialog.o 18 | ../../../tempFiles/obj/modifypwddialog.o 19 | ../../../tempFiles/obj/roompicdialog.o 20 | ../../../tempFiles/obj/backupdatanasedialog.o 21 | ../../../tempFiles/obj/checkoutdialog.o 22 | ../../../tempFiles/obj/qrc_image.o 23 | ../../../tempFiles/obj/moc_widget.o 24 | ../../../tempFiles/obj/moc_frmmessagebox.o 25 | ../../../tempFiles/obj/moc_myhelper.o 26 | ../../../tempFiles/obj/moc_mythread.o 27 | ../../../tempFiles/obj/moc_mysqlapi.o 28 | ../../../tempFiles/obj/moc_logindialog.o 29 | ../../../tempFiles/obj/moc_registerdialog.o 30 | ../../../tempFiles/obj/moc_promanage.o 31 | ../../../tempFiles/obj/moc_costomerregisterinfodialog.o 32 | ../../../tempFiles/obj/moc_customerwindget.o 33 | ../../../tempFiles/obj/moc_romminfo.o 34 | ../../../tempFiles/obj/moc_modiftroomprice.o 35 | ../../../tempFiles/obj/moc_checkcutomdialog.o 36 | ../../../tempFiles/obj/moc_logblogdialog.o 37 | ../../../tempFiles/obj/moc_modifypwddialog.o 38 | ../../../tempFiles/obj/moc_roompicdialog.o 39 | ../../../tempFiles/obj/moc_backupdatanasedialog.o 40 | ../../../tempFiles/obj/moc_checkoutdialog.o 41 | -------------------------------------------------------------------------------- /Src/widget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/widget.cpp -------------------------------------------------------------------------------- /Src/widget.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/Src/widget.h -------------------------------------------------------------------------------- /app/Connection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/Connection.h -------------------------------------------------------------------------------- /app/frmmessagebox.cpp: -------------------------------------------------------------------------------- 1 | #include "frmmessagebox.h" 2 | #include "ui_frmmessagebox.h" 3 | #include "iconhelper.h" 4 | #include "myhelper.h" 5 | 6 | frmMessageBox::frmMessageBox(QWidget *parent) : 7 | QDialog(parent), 8 | ui(new Ui::frmMessageBox) 9 | { 10 | ui->setupUi(this); 11 | 12 | this->mousePressed = false; 13 | //设置窗体标题栏隐藏 14 | this->setWindowFlags(Qt::FramelessWindowHint); 15 | //设置窗体关闭时自动释放内存 16 | this->setAttribute(Qt::WA_DeleteOnClose); 17 | //设置图形字体 18 | IconHelper::Instance()->SetIcon(ui->lab_Ico, QChar(0xf015), 12); 19 | IconHelper::Instance()->SetIcon(ui->btnMenu_Close, QChar(0xf00d), 10); 20 | //关联关闭按钮 21 | connect(ui->btnMenu_Close, SIGNAL(clicked()), this, SLOT(close())); 22 | connect(ui->btnCancel, SIGNAL(clicked()), this, SLOT(close())); 23 | //窗体居中显示 24 | 25 | } 26 | 27 | frmMessageBox::~frmMessageBox() 28 | { 29 | delete ui; 30 | } 31 | 32 | void frmMessageBox::SetMessage(const QString &msg, int type) 33 | { 34 | //提示消息框 35 | if (type == 0) 36 | { 37 | ui->labIcoMain->setStyleSheet("border-image: url(:/image/info.png);"); 38 | ui->btnCancel->setVisible(false); //取消按钮不可见 39 | ui->lab_Title->setText(tr("提示")); 40 | } 41 | //询问消息框 42 | else if (type == 1) 43 | { 44 | ui->labIcoMain->setStyleSheet("border-image: url(:/image/question.png);"); 45 | ui->lab_Title->setText(tr("询问")); 46 | } 47 | //错误消息框 48 | else if (type == 2) 49 | { 50 | ui->labIcoMain->setStyleSheet("border-image: url(:/image/error.png);"); 51 | ui->btnCancel->setVisible(false); 52 | ui->lab_Title->setText(tr("错误")); 53 | } 54 | 55 | ui->labInfo->setText(msg); 56 | } 57 | 58 | void frmMessageBox::on_btnOk_clicked() 59 | { 60 | done(1); 61 | this->close(); 62 | } 63 | 64 | void frmMessageBox::mouseMoveEvent(QMouseEvent *e) 65 | { 66 | if (mousePressed && (e->buttons() && Qt::LeftButton)) { 67 | this->move(e->globalPos() - mousePoint); 68 | e->accept(); 69 | } 70 | } 71 | 72 | void frmMessageBox::mousePressEvent(QMouseEvent *e) 73 | { 74 | if (e->button() == Qt::LeftButton) { 75 | mousePressed = true; 76 | mousePoint = e->globalPos() - this->pos(); 77 | e->accept(); 78 | } 79 | } 80 | 81 | void frmMessageBox::mouseReleaseEvent(QMouseEvent *) 82 | { 83 | mousePressed = false; 84 | } 85 | -------------------------------------------------------------------------------- /app/frmmessagebox.h: -------------------------------------------------------------------------------- 1 | #ifndef FRMMESSAGEBOX_H 2 | #define FRMMESSAGEBOX_H 3 | 4 | #include 5 | #include 6 | 7 | namespace Ui { 8 | class frmMessageBox; 9 | } 10 | 11 | class frmMessageBox : public QDialog 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit frmMessageBox(QWidget *parent = 0); 17 | ~frmMessageBox(); 18 | 19 | void SetMessage(const QString &msg, int type); 20 | 21 | protected: 22 | void mouseMoveEvent(QMouseEvent *e); 23 | void mousePressEvent(QMouseEvent *e); 24 | void mouseReleaseEvent(QMouseEvent *); 25 | 26 | private slots: 27 | void on_btnOk_clicked(); 28 | 29 | private: 30 | Ui::frmMessageBox *ui; 31 | 32 | QPoint mousePoint; //鼠标拖动自定义标题栏时的坐标 33 | bool mousePressed; //鼠标是否按下 34 | }; 35 | 36 | #endif // FRMMESSAGEBOX_H 37 | -------------------------------------------------------------------------------- /app/frmmessagebox.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | frmMessageBox 4 | 5 | 6 | 7 | 0 8 | 0 9 | 309 10 | 171 11 | 12 | 13 | 14 | 提示 15 | 16 | 17 | 18 | 0 19 | 20 | 21 | 0 22 | 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 100 34 | 28 35 | 36 | 37 | 38 | 39 | 0 40 | 41 | 42 | 0 43 | 44 | 45 | 46 | 47 | 48 | 0 49 | 0 50 | 51 | 52 | 53 | 54 | 31 55 | 0 56 | 57 | 58 | 59 | 60 | 61 | 62 | Qt::AlignCenter 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 0 71 | 0 72 | 73 | 74 | 75 | font: 10pt "微软雅黑"; 76 | 77 | 78 | 提示 79 | 80 | 81 | Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 0 90 | 0 91 | 92 | 93 | 94 | 95 | 0 96 | 97 | 98 | 0 99 | 100 | 101 | 102 | 103 | 104 | 0 105 | 0 106 | 107 | 108 | 109 | 110 | 40 111 | 0 112 | 113 | 114 | 115 | ArrowCursor 116 | 117 | 118 | Qt::NoFocus 119 | 120 | 121 | 关闭 122 | 123 | 124 | 125 | 126 | 127 | true 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | font: 11pt "微软雅黑"; 141 | 142 | 143 | 144 | 145 | 10 146 | 10 147 | 291 148 | 81 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 10 158 | 10 159 | 45 160 | 45 161 | 162 | 163 | 164 | border-image: url(:/image/info.png); 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 70 174 | 10 175 | 211 176 | 51 177 | 178 | 179 | 180 | 确定要删除吗? 181 | 182 | 183 | false 184 | 185 | 186 | true 187 | 188 | 189 | 190 | 191 | 192 | 193 | 20 194 | 100 195 | 271 196 | 34 197 | 198 | 199 | 200 | 201 | 4 202 | 203 | 204 | 205 | 206 | Qt::Horizontal 207 | 208 | 209 | 210 | 40 211 | 20 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 0 221 | 0 222 | 223 | 224 | 225 | PointingHandCursor 226 | 227 | 228 | Qt::StrongFocus 229 | 230 | 231 | 232 | 233 | 234 | 确定(&O) 235 | 236 | 237 | 238 | :/image/update.png:/image/update.png 239 | 240 | 241 | 242 | 20 243 | 20 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 0 253 | 0 254 | 255 | 256 | 257 | PointingHandCursor 258 | 259 | 260 | Qt::StrongFocus 261 | 262 | 263 | 264 | 265 | 266 | 取消(&C) 267 | 268 | 269 | 270 | :/image/delete.png:/image/delete.png 271 | 272 | 273 | 274 | 20 275 | 20 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | -------------------------------------------------------------------------------- /app/iconhelper.cpp: -------------------------------------------------------------------------------- 1 | #include "iconhelper.h" 2 | 3 | IconHelper* IconHelper::_instance = 0; 4 | IconHelper::IconHelper(QObject*): 5 | QObject(qApp) 6 | { 7 | int fontId = QFontDatabase::addApplicationFont(":/image/fontawesome-webfont.ttf"); 8 | QString fontName = QFontDatabase::applicationFontFamilies(fontId).at(0); 9 | iconFont = QFont(fontName); 10 | } 11 | 12 | void IconHelper::SetIcon(QLabel* lab, QChar c, int size) 13 | { 14 | iconFont.setPointSize(size); 15 | lab->setFont(iconFont); 16 | lab->setText(c); 17 | } 18 | 19 | void IconHelper::SetIcon(QPushButton* btn, QChar c, int size) 20 | { 21 | iconFont.setPointSize(size); 22 | btn->setFont(iconFont); 23 | btn->setText(c); 24 | } 25 | -------------------------------------------------------------------------------- /app/iconhelper.h: -------------------------------------------------------------------------------- 1 | #ifndef ICONHELPER_H 2 | #define ICONHELPER_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | class IconHelper : public QObject 13 | { 14 | private: 15 | explicit IconHelper(QObject *parent = 0); 16 | QFont iconFont; 17 | static IconHelper* _instance; 18 | 19 | public: 20 | static IconHelper* Instance() 21 | { 22 | static QMutex mutex; 23 | if (!_instance) { 24 | QMutexLocker locker(&mutex); 25 | if (!_instance) { 26 | _instance = new IconHelper; 27 | } 28 | } 29 | return _instance; 30 | } 31 | 32 | void SetIcon(QLabel* lab, QChar c, int size = 10); 33 | void SetIcon(QPushButton* btn, QChar c, int size = 10); 34 | 35 | }; 36 | 37 | #endif // ICONHELPER_H 38 | -------------------------------------------------------------------------------- /app/myapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/myapp.cpp -------------------------------------------------------------------------------- /app/myapp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/myapp.h -------------------------------------------------------------------------------- /app/myhelper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/myhelper.cpp -------------------------------------------------------------------------------- /app/myhelper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/myhelper.h -------------------------------------------------------------------------------- /app/mysqlapi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/mysqlapi.cpp -------------------------------------------------------------------------------- /app/mysqlapi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/mysqlapi.h -------------------------------------------------------------------------------- /app/mythread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/app/mythread.cpp -------------------------------------------------------------------------------- /app/mythread.h: -------------------------------------------------------------------------------- 1 | #ifndef MYTHREAD_H 2 | #define MYTHREAD_H 3 | #include 4 | #include 5 | #include 6 | 7 | class Mythread : public QThread 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit Mythread(QObject *parent = 0); 12 | 13 | void SetCurrentTime(QLabel*label); 14 | public slots: 15 | void showTimesslot(); 16 | 17 | protected: 18 | void run(); 19 | private: 20 | QTimer *timer; 21 | QLabel *curlabel; 22 | 23 | }; 24 | 25 | #endif // MYTHREAD_H 26 | -------------------------------------------------------------------------------- /doc/hotel.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.13 Distrib 5.6.21, for Win64 (x86_64) 2 | -- 3 | -- Host: localhost Database: hotel 4 | -- ------------------------------------------------------ 5 | -- Server version 5.6.21-log 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `book` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `book`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `book` ( 26 | `Id` varchar(20) NOT NULL, 27 | `roomno` varchar(10) DEFAULT NULL, 28 | `BookName` varchar(20) DEFAULT NULL, 29 | `roomtypeid` int(11) DEFAULT NULL, 30 | `BookTimeFrom` varchar(20) DEFAULT NULL, 31 | `booktimeto` varchar(20) DEFAULT NULL, 32 | `BookRemark` varchar(100) DEFAULT NULL, 33 | PRIMARY KEY (`Id`), 34 | KEY `RoomTypeId` (`roomtypeid`), 35 | CONSTRAINT `book_ibfk_1` FOREIGN KEY (`roomtypeid`) REFERENCES `roomtype` (`RoomTypeId`) 36 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 37 | /*!40101 SET character_set_client = @saved_cs_client */; 38 | 39 | -- 40 | -- Dumping data for table `book` 41 | -- 42 | 43 | LOCK TABLES `book` WRITE; 44 | /*!40000 ALTER TABLE `book` DISABLE KEYS */; 45 | INSERT INTO `book` VALUES ('201420141225190344','104','2014',1,'2014-12-25','2014-12-25',' '); 46 | /*!40000 ALTER TABLE `book` ENABLE KEYS */; 47 | UNLOCK TABLES; 48 | 49 | -- 50 | -- Table structure for table `currentuser` 51 | -- 52 | 53 | DROP TABLE IF EXISTS `currentuser`; 54 | /*!40101 SET @saved_cs_client = @@character_set_client */; 55 | /*!40101 SET character_set_client = utf8 */; 56 | CREATE TABLE `currentuser` ( 57 | `UserName` varchar(30) NOT NULL, 58 | `UserType` varchar(30) NOT NULL, 59 | `UserPwd` varchar(30) NOT NULL, 60 | PRIMARY KEY (`UserName`) 61 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 62 | /*!40101 SET character_set_client = @saved_cs_client */; 63 | 64 | -- 65 | -- Dumping data for table `currentuser` 66 | -- 67 | 68 | LOCK TABLES `currentuser` WRITE; 69 | /*!40000 ALTER TABLE `currentuser` DISABLE KEYS */; 70 | /*!40000 ALTER TABLE `currentuser` ENABLE KEYS */; 71 | UNLOCK TABLES; 72 | 73 | -- 74 | -- Table structure for table `customelogblog` 75 | -- 76 | 77 | DROP TABLE IF EXISTS `customelogblog`; 78 | /*!40101 SET @saved_cs_client = @@character_set_client */; 79 | /*!40101 SET character_set_client = utf8 */; 80 | CREATE TABLE `customelogblog` ( 81 | `CustomeName` varchar(20) NOT NULL, 82 | `custometype` varchar(20) DEFAULT NULL, 83 | `CustomePwd` varchar(20) NOT NULL, 84 | PRIMARY KEY (`CustomeName`) 85 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 86 | /*!40101 SET character_set_client = @saved_cs_client */; 87 | 88 | -- 89 | -- Dumping data for table `customelogblog` 90 | -- 91 | 92 | LOCK TABLES `customelogblog` WRITE; 93 | /*!40000 ALTER TABLE `customelogblog` DISABLE KEYS */; 94 | INSERT INTO `customelogblog` VALUES ('2014','一般顾客','123456'); 95 | /*!40000 ALTER TABLE `customelogblog` ENABLE KEYS */; 96 | UNLOCK TABLES; 97 | 98 | -- 99 | -- Table structure for table `customer` 100 | -- 101 | 102 | DROP TABLE IF EXISTS `customer`; 103 | /*!40101 SET @saved_cs_client = @@character_set_client */; 104 | /*!40101 SET character_set_client = utf8 */; 105 | CREATE TABLE `customer` ( 106 | `Id` int(11) NOT NULL AUTO_INCREMENT, 107 | `CustomerName` varchar(100) DEFAULT NULL, 108 | `CustomerSex` varchar(4) DEFAULT NULL, 109 | `CustomerPassword` varchar(100) DEFAULT NULL, 110 | `CustomerPhone` varchar(20) DEFAULT NULL, 111 | `CustomerAddress` varchar(50) DEFAULT NULL, 112 | `CustomerData` datetime DEFAULT NULL, 113 | `CustomerRemark` varchar(100) DEFAULT NULL, 114 | PRIMARY KEY (`Id`) 115 | ) ENGINE=InnoDB AUTO_INCREMENT=2021 DEFAULT CHARSET=utf8; 116 | /*!40101 SET character_set_client = @saved_cs_client */; 117 | 118 | -- 119 | -- Dumping data for table `customer` 120 | -- 121 | 122 | LOCK TABLES `customer` WRITE; 123 | /*!40000 ALTER TABLE `customer` DISABLE KEYS */; 124 | INSERT INTO `customer` VALUES (2014,'张超','男','123456','15383465606','山西省阳泉市','2000-01-01 00:00:00','张老板'),(2015,'曹东山','男','123456','15383465640','山西省太原市太原工业学院','2014-12-22 00:00:00',''),(2016,'张益达','男','123456','15388456741','山西省太原市小店','2014-12-22 00:00:00',''),(2017,'莉莉','女','123456','13245365678','北京市海定区','2014-12-23 00:00:00',''),(2018,'冯晨成','男','123456','12378945678','太原工业学院','2014-12-23 00:00:00',''),(2019,'贺景新','女','123456','17484849595','山西省、太原市、太原工业学院22#309','2014-12-24 00:00:00',''),(2020,'张俪','女','123456','18293949343','天津市津霸路口','2014-12-25 00:00:00',''); 125 | /*!40000 ALTER TABLE `customer` ENABLE KEYS */; 126 | UNLOCK TABLES; 127 | 128 | -- 129 | -- Table structure for table `inroom` 130 | -- 131 | 132 | DROP TABLE IF EXISTS `inroom`; 133 | /*!40101 SET @saved_cs_client = @@character_set_client */; 134 | /*!40101 SET character_set_client = utf8 */; 135 | CREATE TABLE `inroom` ( 136 | `RoomNo` varchar(20) DEFAULT NULL, 137 | `RoomTypeId` int(11) DEFAULT NULL, 138 | `InRoomTime` varchar(20) DEFAULT NULL, 139 | `InRoomName` varchar(20) DEFAULT NULL, 140 | `InRoomIdCard` varchar(18) DEFAULT NULL, 141 | `InRoomGender` varchar(4) DEFAULT NULL, 142 | `InRoomPhone` varchar(20) DEFAULT NULL, 143 | `InRoomCash` varchar(20) DEFAULT NULL, 144 | `InRoomOrder` varchar(50) NOT NULL, 145 | `InRoomRemark` varchar(100) DEFAULT NULL, 146 | PRIMARY KEY (`InRoomOrder`), 147 | KEY `RoomTypeId` (`RoomTypeId`), 148 | KEY `RoomNo` (`RoomNo`), 149 | CONSTRAINT `inroom_ibfk_1` FOREIGN KEY (`RoomTypeId`) REFERENCES `roomtype` (`RoomTypeId`), 150 | CONSTRAINT `inroom_ibfk_2` FOREIGN KEY (`RoomNo`) REFERENCES `room` (`RoomNo`) 151 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 152 | /*!40101 SET character_set_client = @saved_cs_client */; 153 | 154 | -- 155 | -- Dumping data for table `inroom` 156 | -- 157 | 158 | LOCK TABLES `inroom` WRITE; 159 | /*!40000 ALTER TABLE `inroom` DISABLE KEYS */; 160 | INSERT INTO `inroom` VALUES ('101',1,'2014-12-25','张超','622723199011222121','男','13809007893','1000','',''); 161 | /*!40000 ALTER TABLE `inroom` ENABLE KEYS */; 162 | UNLOCK TABLES; 163 | 164 | -- 165 | -- Table structure for table `logblog` 166 | -- 167 | 168 | DROP TABLE IF EXISTS `logblog`; 169 | /*!40101 SET @saved_cs_client = @@character_set_client */; 170 | /*!40101 SET character_set_client = utf8 */; 171 | CREATE TABLE `logblog` ( 172 | `TriggerTimer` varchar(50) NOT NULL, 173 | `Trigger` varchar(20) NOT NULL, 174 | `TriggerContent` varchar(45) NOT NULL, 175 | `TriggerUser` varchar(45) NOT NULL, 176 | PRIMARY KEY (`TriggerTimer`) 177 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 178 | /*!40101 SET character_set_client = @saved_cs_client */; 179 | 180 | -- 181 | -- Dumping data for table `logblog` 182 | -- 183 | 184 | LOCK TABLES `logblog` WRITE; 185 | /*!40000 ALTER TABLE `logblog` DISABLE KEYS */; 186 | INSERT INTO `logblog` VALUES ('2014-12-24 18:29:39 周三','登录','登录系统','管理员'),('2014-12-24 18:48:03 周三','登录','登录系统','管理员'),('2014-12-24 18:48:54 周三','登录','登录系统','管理员'),('2014-12-24 18:50:03 周三','登录','登录系统','管理员'),('2014-12-24 18:50:56 周三','登录','登录系统','管理员'),('2014-12-24 18:52:45 周三','登录','登录系统','管理员'),('2014-12-24 18:56:31 周三','登录','登录系统','管理员'),('2014-12-24 19:10:50 周三','登录','登录系统','管理员'),('2014-12-24 19:20:29 周三','登录','登录系统','管理员'),('2014-12-24 19:22:03 周三','登录','登录系统','管理员'),('2014-12-24 19:22:19 周三','登录','登录系统','管理员'),('2014-12-24 19:22:52 周三','登录','登录系统','管理员'),('2014-12-24 19:23:31 周三','登录','登录系统','管理员'),('2014-12-24 19:24:04 周三','登录','登录系统','管理员'),('2014-12-24 19:30:51 周三','登录','登录系统','管理员'),('2014-12-24 19:31:31 周三','登录','登录系统','管理员'),('2014-12-24 19:44:18 周三','登录','登录系统','管理员'),('2014-12-24 19:53:18 周三','登录','登录系统','管理员'),('2014-12-24 21:24:14 周三','登录','登录系统','管理员'),('2014-12-24 22:09:43 周三','登录','登录系统','管理员'),('2014-12-24 22:11:49 周三','登录','登录系统','管理员'),('2014-12-24 22:12:20 周三','登录','登录系统','管理员'),('2014-12-24 22:13:13 周三','登录','登录系统','管理员'),('2014-12-24 22:14:11 周三','登录','登录系统','管理员'),('2014-12-24 22:15:14 周三','登录','登录系统','管理员'),('2014-12-24 22:15:47 周三','登录','登录系统','管理员'),('2014-12-24 22:16:32 周三','登录','登录系统','管理员'),('2014-12-24 22:17:33 周三','登录','登录系统','管理员'),('2014-12-24 22:19:05 周三','登录','登录系统','管理员'),('2014-12-24 22:19:41 周三','登录','登录系统','管理员'),('2014-12-24 22:20:29 周三','登录','登录系统','管理员'),('2014-12-24 22:22:41 周三','登录','登录系统','管理员'),('2014-12-24 22:27:08 周三','登录','登录系统','管理员'),('2014-12-24 22:28:52 周三','登录','登录系统','管理员'),('2014-12-24 22:38:17 周三','登录','登录系统','管理员'),('2014-12-24 23:00:02 周三','登录','登录系统','管理员'),('2014-12-24 23:03:11 周三','登录','登录系统','管理员'),('2014-12-24 23:05:21 周三','登录','登录系统','管理员'),('2014-12-24 23:07:21 周三','登录','登录系统','管理员'),('2014-12-24 23:09:03 周三','登录','登录系统','管理员'),('2014-12-24 23:10:30 周三','登录','登录系统','管理员'),('2014-12-24 23:21:04 周三','登录','登录系统','管理员'),('2014-12-24 23:24:28 周三','登录','登录系统','管理员'),('2014-12-24 23:28:29 周三','登录','登录系统','管理员'),('2014-12-24 23:29:39 周三','登录','登录系统','管理员'),('2014-12-24 23:30:41 周三','来客登记','新客人入住','管理员'),('2014-12-24 23:35:04 周三','登录','登录系统','管理员'),('2014-12-24 23:40:08 周三','登录','登录系统','管理员'),('2014-12-24 23:46:35 周三','登录','登录系统','管理员'),('2014-12-24 23:48:46 周三','登录','登录系统','管理员'),('2014-12-24 23:50:52 周三','登录','登录系统','管理员'),('2014-12-24 23:52:21 周三','登录','登录系统','管理员'),('2014-12-24 23:58:42 周三','登录','登录系统','管理员'),('2014-12-24 23:59:50 周三','登录','登录系统','管理员'),('2014-12-25 00:01:01 周四','登录','登录系统','管理员'),('2014-12-25 00:02:56 周四','登录','登录系统','管理员'),('2014-12-25 00:08:27 周四','登录','登录系统','管理员'),('2014-12-25 00:10:13 周四','登录','登录系统','管理员'),('2014-12-25 00:11:14 周四','登录','登录系统','管理员'),('2014-12-25 00:12:44 周四','登录','登录系统','管理员'),('2014-12-25 00:14:13 周四','登录','登录系统','管理员'),('2014-12-25 00:16:38 周四','登录','登录系统','管理员'),('2014-12-25 00:17:43 周四','登录','登录系统','管理员'),('2014-12-25 00:23:18 周四','登录','登录系统','管理员'),('2014-12-25 00:24:25 周四','登录','登录系统','管理员'),('2014-12-25 00:25:23 周四','登录','登录系统','管理员'),('2014-12-25 00:26:45 周四','登录','登录系统','管理员'),('2014-12-25 00:29:31 周四','登录','登录系统','管理员'),('2014-12-25 00:30:32 周四','登录','登录系统','管理员'),('2014-12-25 00:31:37 周四','登录','登录系统','管理员'),('2014-12-25 00:32:50 周四','登录','登录系统','管理员'),('2014-12-25 00:33:20 周四','登录','登录系统','管理员'),('2014-12-25 00:34:12 周四','登录','登录系统','管理员'),('2014-12-25 00:35:18 周四','登录','登录系统','管理员'),('2014-12-25 00:36:47 周四','登录','登录系统','管理员'),('2014-12-25 00:37:56 周四','登录','登录系统','管理员'),('2014-12-25 00:42:44 周四','登录','登录系统','管理员'),('2014-12-25 00:44:56 周四','登录','登录系统','管理员'),('2014-12-25 00:50:45 周四','登录','登录系统','管理员'),('2014-12-25 01:06:39 周四','登录','登录系统','管理员'),('2014-12-25 01:07:32 周四','登录','登录系统','管理员'),('2014-12-25 01:09:01 周四','登录','登录系统','管理员'),('2014-12-25 01:10:18 周四','登录','登录系统','管理员'),('2014-12-25 01:12:36 周四','登录','登录系统','管理员'),('2014-12-25 01:13:06 周四','登录','登录系统','管理员'),('2014-12-25 09:01:03 周四','登录','登录系统','管理员'),('2014-12-25 09:07:14 周四','登录','登录系统','管理员'),('2014-12-25 09:14:33 周四','登录','登录系统','管理员'),('2014-12-25 09:16:01 周四','登录','登录系统','管理员'),('2014-12-25 09:17:26 周四','登录','登录系统','管理员'),('2014-12-25 09:27:05 周四','登录','登录系统','管理员'),('2014-12-25 09:38:03 周四','登录','登录系统','管理员'),('2014-12-25 09:39:40 周四','登录','登录系统','管理员'),('2014-12-25 09:41:20 周四','登录','登录系统','管理员'),('2014-12-25 09:42:33 周四','登录','登录系统','管理员'),('2014-12-25 09:47:10 周四','登录','登录系统','管理员'),('2014-12-25 09:50:55 周四','登录','登录系统','管理员'),('2014-12-25 10:14:37 周四','登录','登录系统','管理员'),('2014-12-25 10:19:42 周四','登录','登录系统','管理员'),('2014-12-25 10:21:25 周四','登录','登录系统','管理员'),('2014-12-25 10:23:14 周四','登录','登录系统','管理员'),('2014-12-25 10:25:35 周四','登录','登录系统','管理员'),('2014-12-25 10:41:57 周四','登录','登录系统','管理员'),('2014-12-25 10:48:25 周四','登录','登录系统','管理员'),('2014-12-25 10:59:04 周四','登录','登录系统','管理员'),('2014-12-25 11:00:34 周四','登录','登录系统','管理员'),('2014-12-25 11:01:05 周四','登录','登录系统','管理员'),('2014-12-25 11:02:59 周四','登录','登录系统','管理员'),('2014-12-25 11:05:20 周四','登录','登录系统','管理员'),('2014-12-25 11:07:35 周四','登录','登录系统','管理员'),('2014-12-25 11:08:54 周四','登录','登录系统','管理员'),('2014-12-25 11:10:05 周四','登录','登录系统','管理员'),('2014-12-25 11:13:08 周四','登录','登录系统','管理员'),('2014-12-25 11:14:59 周四','登录','登录系统','管理员'),('2014-12-25 11:25:41 周四','登录','登录系统','管理员'),('2014-12-25 11:26:32 周四','登录','登录系统','管理员'),('2014-12-25 11:57:36 周四','登录','登录系统','管理员'),('2014-12-25 11:58:36 周四','来客登记','新客人入住','管理员'),('2014-12-25 12:01:57 周四','登录','登录系统','管理员'),('2014-12-25 12:03:14 周四','登录','登录系统','管理员'),('2014-12-25 12:05:38 周四','登录','登录系统','管理员'),('2014-12-25 13:30:28 周四','登录','登录系统','管理员'),('2014-12-25 13:35:42 周四','登录','登录系统','管理员'),('2014-12-25 13:47:20 周四','登录','登录系统','管理员'),('2014-12-25 14:16:33 周四','登录','登录系统','管理员'),('2014-12-25 14:17:21 周四','登录','登录系统','管理员'),('2014-12-25 14:18:05 周四','登录','登录系统','管理员'),('2014-12-25 14:19:27 周四','登录','登录系统','管理员'),('2014-12-25 14:20:15 周四','登录','登录系统','管理员'),('2014-12-25 14:55:23 周四','登录','登录系统','管理员'),('2014-12-25 15:41:10 周四','登录','登录系统','管理员'),('2014-12-25 16:40:48 周四','登录','登录系统','管理员'),('2014-12-25 16:49:33 周四','登录','登录系统','管理员'),('2014-12-25 16:51:26 周四','登录','登录系统','管理员'),('2014-12-25 16:53:29 周四','登录','登录系统','管理员'),('2014-12-25 16:54:31 周四','登录','登录系统','管理员'),('2014-12-25 16:56:06 周四','登录','登录系统','管理员'),('2014-12-25 16:56:35 周四','登录','登录系统','管理员'),('2014-12-25 16:57:12 周四','登录','登录系统','管理员'),('2014-12-25 16:58:09 周四','登录','登录系统','管理员'),('2014-12-25 16:59:13 周四','登录','登录系统','管理员'),('2014-12-25 17:08:42 周四','登录','登录系统','管理员'),('2014-12-25 17:15:41 周四','登录','登录系统','管理员'),('2014-12-25 17:17:50 周四','登录','登录系统','管理员'),('2014-12-25 17:18:27 周四','登录','登录系统','管理员'),('2014-12-25 17:18:53 周四','登录','登录系统','管理员'),('2014-12-25 20:50:37 周四','登录','登录系统','管理员'),('2014-12-25 21:39:22 周四','登录','登录系统','管理员'),('2014-12-25 22:37:24 周四','登录','登录系统','管理员'),('2014-12-25 22:42:25 周四','登录','登录系统','管理员'),('2014-12-25 22:47:46 周四','登录','登录系统','管理员'),('2014-12-25 22:52:09 周四','登录','登录系统','管理员'),('2014-12-26 17:40:52 周五','登录','登录系统','管理员'),('2014-12-26 18:25:09 周五','登录','登录系统','管理员'),('2014-12-27 12:20:18 周六','登录','登录系统','管理员'),('2014-12-27 12:23:34 周六','登录','登录系统','管理员'),('2014-12-27 12:24:07 周六','登录','登录系统','管理员'),('2014-12-27 12:29:09 周六','登录','登录系统','管理员'),('2014-12-27 12:29:30 周六','修改密码','修改管理员的密码','管理员'),('2014-12-27 12:29:35 周六','修改密码','修改管理员的密码','管理员'),('2014-12-27 12:31:19 周六','登录','登录系统','管理员'),('2014-12-27 12:32:59 周六','登录','登录系统','管理员'),('2014-12-27 12:33:58 周六','登录','登录系统','管理员'),('2014-12-27 12:35:48 周六','登录','登录系统','管理员'),('2014-12-27 12:36:08 周六','修改密码','修改管理员的密码','管理员'),('2014-12-27 13:04:36 周六','登录','登录系统','管理员'),('2014-12-27 13:05:42 周六','登录','登录系统','管理员'),('2014-12-27 13:06:37 周六','登录','登录系统','管理员'),('2014-12-27 13:07:53 周六','登录','登录系统','管理员'),('2014-12-27 13:08:39 周六','登录','登录系统','管理员'),('2014-12-27 13:10:08 周六','登录','登录系统','管理员'),('2014-12-27 13:11:03 周六','登录','登录系统','管理员'),('2014-12-27 13:11:40 周六','登录','登录系统','管理员'),('2014-12-27 13:12:47 周六','登录','登录系统','管理员'),('2014-12-27 13:16:45 周六','登录','登录系统','管理员'),('2014-12-27 13:22:40 周六','登录','登录系统','管理员'),('2014-12-27 13:26:00 周六','登录系统','顾客','2014'),('2014-12-27 13:28:40 周六','登录','登录系统','管理员'),('2014-12-27 13:48:36 周六','登录','登录系统','管理员'),('2014-12-27 13:51:31 周六','登录','登录系统','管理员'),('2014-12-27 13:58:49 周六','登录','登录系统','管理员'),('2014-12-27 14:01:00 周六','登录','登录系统','管理员'),('2014-12-27 14:02:50 周六','登录','登录系统','管理员'),('2014-12-27 14:07:09 周六','登录','登录系统','管理员'),('2014-12-27 14:07:59 周六','登录','登录系统','管理员'),('2014-12-27 14:12:37 周六','登录','登录系统','管理员'),('2014-12-27 14:36:00 周六','登录系统','顾客','2014'),('2014-12-27 14:42:24 周六','登录','登录系统','管理员'),('2014-12-27 14:46:30 周六','登录','登录系统','管理员'),('2014-12-27 14:47:13 周六','登录','登录系统','管理员'),('2014-12-27 14:48:26 周六','登录','登录系统','管理员'),('2014-12-27 15:32:48 周六','登录','登录系统','管理员'),('2014-12-27 15:33:25 周六','登录','登录系统','管理员'),('2014-12-27 15:37:11 周六','登录','登录系统','管理员'),('2014-12-27 15:42:50 周六','登录','登录系统','管理员'); 187 | /*!40000 ALTER TABLE `logblog` ENABLE KEYS */; 188 | UNLOCK TABLES; 189 | 190 | -- 191 | -- Table structure for table `outroom` 192 | -- 193 | 194 | DROP TABLE IF EXISTS `outroom`; 195 | /*!40101 SET @saved_cs_client = @@character_set_client */; 196 | /*!40101 SET character_set_client = utf8 */; 197 | CREATE TABLE `outroom` ( 198 | `Id` int(11) NOT NULL AUTO_INCREMENT, 199 | `InRoomOrder` varchar(20) DEFAULT NULL, 200 | `OutRoomTime` datetime DEFAULT NULL, 201 | `OutRoomPrice` int(11) DEFAULT NULL, 202 | `OutRoomRemark` varchar(100) DEFAULT NULL, 203 | PRIMARY KEY (`Id`), 204 | KEY `InRoomOrder` (`InRoomOrder`), 205 | CONSTRAINT `outroom_ibfk_1` FOREIGN KEY (`InRoomOrder`) REFERENCES `inroom` (`InRoomOrder`) 206 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 207 | /*!40101 SET character_set_client = @saved_cs_client */; 208 | 209 | -- 210 | -- Dumping data for table `outroom` 211 | -- 212 | 213 | LOCK TABLES `outroom` WRITE; 214 | /*!40000 ALTER TABLE `outroom` DISABLE KEYS */; 215 | /*!40000 ALTER TABLE `outroom` ENABLE KEYS */; 216 | UNLOCK TABLES; 217 | 218 | -- 219 | -- Table structure for table `room` 220 | -- 221 | 222 | DROP TABLE IF EXISTS `room`; 223 | /*!40101 SET @saved_cs_client = @@character_set_client */; 224 | /*!40101 SET character_set_client = utf8 */; 225 | CREATE TABLE `room` ( 226 | `RoomNo` varchar(20) NOT NULL, 227 | `RoomTypeId` int(11) DEFAULT NULL, 228 | `RoomState` varchar(50) DEFAULT NULL, 229 | `RoomRemark` varchar(100) DEFAULT NULL, 230 | PRIMARY KEY (`RoomNo`), 231 | KEY `RoomTypeId` (`RoomTypeId`), 232 | CONSTRAINT `room_ibfk_1` FOREIGN KEY (`RoomTypeId`) REFERENCES `roomtype` (`RoomTypeId`) 233 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 234 | /*!40101 SET character_set_client = @saved_cs_client */; 235 | 236 | -- 237 | -- Dumping data for table `room` 238 | -- 239 | 240 | LOCK TABLES `room` WRITE; 241 | /*!40000 ALTER TABLE `room` DISABLE KEYS */; 242 | INSERT INTO `room` VALUES ('1001',4,'空',NULL),('1002',4,'空',NULL),('1003',4,'空',NULL),('1004',4,'空',NULL),('1005',4,'空',NULL),('101',1,'满',NULL),('102',1,'空',NULL),('103',1,'空',NULL),('104',1,'空',NULL),('105',2,'空',NULL),('106',2,'空',NULL),('107',2,'空',NULL),('108',2,'空',NULL),('109',2,'空',NULL),('201',1,'空',NULL),('202',1,'空',NULL),('203',1,'空',NULL),('204',1,'空',NULL),('205',2,'空',NULL),('206',2,'空',NULL),('207',2,'空',NULL),('208',2,'空',NULL),('209',2,'空',NULL),('301',1,'空',NULL),('302',1,'空',NULL),('303',1,'空',NULL),('304',1,'空',NULL),('305',2,'空',NULL),('306',2,'维修',NULL),('307',2,'空',NULL),('308',2,'空',NULL),('309',2,'空',NULL),('401',1,'空',NULL),('402',1,'空',NULL),('403',1,'空',NULL),('404',1,'空',NULL),('405',2,'空',NULL),('406',2,'空',NULL),('407',2,'空',NULL),('408',2,'空',NULL),('409',2,'空',NULL),('501',1,'保留',NULL),('502',1,'保留',NULL),('503',1,'保留',NULL),('504',1,'空',NULL),('505',1,'空',NULL),('506',2,'空',NULL),('507',2,'空',NULL),('508',2,'空',NULL),('509',2,'空',NULL),('601',3,'保留',NULL),('602',3,'保留',NULL),('603',3,'保留',NULL),('604',3,'空',NULL),('605',3,'空',NULL),('606',3,'空',NULL),('607',3,'空',NULL),('608',3,'保留',NULL),('609',3,'保留',NULL),('701',2,'空',NULL),('702',2,'空',NULL),('703',2,'保留',NULL),('704',2,'保留',NULL),('705',2,'空',NULL),('706',2,'空',NULL),('707',2,'空',NULL),('708',2,'空',NULL),('709',2,'空',NULL),('801',3,'空',NULL),('802',3,'保留',NULL),('803',3,'保留',NULL),('804',3,'保留',NULL),('805',3,'空',NULL),('806',3,'空',NULL),('807',3,'空',NULL),('808',3,'空',NULL),('809',3,'空',NULL),('901',3,'空',NULL),('902',3,'空',NULL),('903',3,'空',NULL),('904',3,'保留',NULL),('905',3,'保留',NULL),('906',3,'空',NULL),('907',3,'空',NULL),('908',3,'空',NULL),('909',3,'空',NULL); 243 | /*!40000 ALTER TABLE `room` ENABLE KEYS */; 244 | UNLOCK TABLES; 245 | 246 | -- 247 | -- Table structure for table `roomtype` 248 | -- 249 | 250 | DROP TABLE IF EXISTS `roomtype`; 251 | /*!40101 SET @saved_cs_client = @@character_set_client */; 252 | /*!40101 SET character_set_client = utf8 */; 253 | CREATE TABLE `roomtype` ( 254 | `RoomTypeId` int(11) NOT NULL AUTO_INCREMENT, 255 | `Typename` varchar(20) DEFAULT NULL, 256 | `TypePrice` int(11) DEFAULT NULL, 257 | PRIMARY KEY (`RoomTypeId`) 258 | ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; 259 | /*!40101 SET character_set_client = @saved_cs_client */; 260 | 261 | -- 262 | -- Dumping data for table `roomtype` 263 | -- 264 | 265 | LOCK TABLES `roomtype` WRITE; 266 | /*!40000 ALTER TABLE `roomtype` DISABLE KEYS */; 267 | INSERT INTO `roomtype` VALUES (1,'单人间',120),(2,'双人间',200),(3,'豪华套间',500),(4,'总统套房',1000); 268 | /*!40000 ALTER TABLE `roomtype` ENABLE KEYS */; 269 | UNLOCK TABLES; 270 | 271 | -- 272 | -- Table structure for table `staff` 273 | -- 274 | 275 | DROP TABLE IF EXISTS `staff`; 276 | /*!40101 SET @saved_cs_client = @@character_set_client */; 277 | /*!40101 SET character_set_client = utf8 */; 278 | CREATE TABLE `staff` ( 279 | `StaffNo` varchar(20) NOT NULL, 280 | `StaffName` varchar(30) DEFAULT NULL, 281 | `StaffPassword` varchar(100) DEFAULT NULL, 282 | `StaffSex` varchar(4) DEFAULT NULL, 283 | `StaffAddress` varchar(50) DEFAULT NULL, 284 | `StaffType` varchar(20) DEFAULT NULL, 285 | `StaffRemark` varchar(100) DEFAULT NULL, 286 | PRIMARY KEY (`StaffNo`) 287 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 288 | /*!40101 SET character_set_client = @saved_cs_client */; 289 | 290 | -- 291 | -- Dumping data for table `staff` 292 | -- 293 | 294 | LOCK TABLES `staff` WRITE; 295 | /*!40000 ALTER TABLE `staff` DISABLE KEYS */; 296 | INSERT INTO `staff` VALUES ('1001','admin','admin','男','北京市','管理员',NULL),('1002','小张','123456','男','山西省阳泉市',NULL,NULL); 297 | /*!40000 ALTER TABLE `staff` ENABLE KEYS */; 298 | UNLOCK TABLES; 299 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 300 | 301 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 302 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 303 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 304 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 305 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 306 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 307 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 308 | 309 | -- Dump completed on 2014-12-27 15:42:58 310 | -------------------------------------------------------------------------------- /help/help.CHM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/help/help.CHM -------------------------------------------------------------------------------- /image/Font Awesome Cheatsheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/Font Awesome Cheatsheet.png -------------------------------------------------------------------------------- /image/add-line_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/add-line_horizontal.png -------------------------------------------------------------------------------- /image/add-line_vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/add-line_vertical.png -------------------------------------------------------------------------------- /image/array_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/array_down.png -------------------------------------------------------------------------------- /image/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/back.png -------------------------------------------------------------------------------- /image/blue.css: -------------------------------------------------------------------------------- 1 | QWidget#ProManage,QWidget#Widget,QWidget#RommInfo,QWidget#fModiftRoomPrice,QWidget#CustomerWindget,QWidget#frmMessageBox{ 2 | border:1px solid #1B89CA; 3 | border-radius:0px; 4 | background-image::url(:/image/back.png); 5 | } 6 | QDialog#LoginDialog,QDialog#RoomPicDialog,QDialog#RegisterDialog,QDialog#ModifyPwdDialog,QDialog#LogBlogDialog,QDialog#CostomerRegisterInfoDialog,QDialog#CheckOutDialog,QDialog#CheckCutomDialog,QDialog#BackupDatanaseDialog{ 7 | border:1px solid #1B89CA; 8 | border-radius:0px; 9 | 10 | } 11 | .QFrame{ 12 | border:1px solid #5CACEE; 13 | border-radius:5px; 14 | } 15 | 16 | QWidget#widget_title{ 17 | background: qlineargradient(spread:padding-bottom, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89A1, stop:1 #1077A0); 18 | } 19 | QGroupBox#groupBoxLeft,QGroupBox#groupBox_Down{ 20 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89A1, stop:1 #1077A0); 21 | } 22 | QLabel#lab_Ico,QLabel#lab_Title{ 23 | border-radius:0px; 24 | color: #F0F0F0; 25 | background-color:rgba(0,0,0,0); 26 | border-style:none; 27 | } 28 | 29 | QLineEdit { 30 | border: 1px solid #5CACEE; 31 | border-radius: 5px; 32 | padding: 2px; 33 | background: none; 34 | selection-background-color: #1B89CA; 35 | } 36 | 37 | QLineEdit[echoMode="2"] { 38 | lineedit-password-character: 9679; 39 | } 40 | 41 | .QGroupBox{ 42 | border: 1px solid #5CACEE; 43 | border-radius: 5px; 44 | } 45 | 46 | .QPushButton{ 47 | border-style: none; 48 | border: 0px; 49 | color: #F0F0F0; 50 | padding: 5px; 51 | min-height: 20px; 52 | border-radius:5px; 53 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89A1, stop:1 #1077B5); 54 | } 55 | 56 | .QPushButton[focusPolicy="0"] { 57 | border-style: none; 58 | border: 0px; 59 | color: #F0F0F0; 60 | padding: 0px; 61 | min-height: 10px; 62 | border-radius:3px; 63 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 64 | } 65 | 66 | .QPushButton:hover{ 67 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 68 | } 69 | 70 | .QPushButton:pressed{ 71 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5F94B4, stop:1 #70A9CC); 72 | } 73 | 74 | 75 | .QProgressBar{ 76 | border:none; 77 | background:rgb(210, 225, 240); 78 | border-radius:3px; 79 | text-align:center; 80 | } 81 | .QProgressBar::chunk { 82 | background:rgb(60, 140, 220); 83 | border-radius:3px; 84 | } 85 | 86 | 87 | QPushButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{ 88 | border-radius:0px; 89 | color: #F0F0F0; 90 | background-color:rgba(0,0,0,0); 91 | border-style:none; 92 | } 93 | 94 | QPushButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{ 95 | background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(25, 134, 199, 0), stop:1 #5CACEE); 96 | } 97 | 98 | QPushButton#btnMenu_Close:hover{ 99 | background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255)); 100 | } 101 | 102 | QPushButton#pbnFindId,QPushButton#pbnFindTypeId{ 103 | border-radius:0px; 104 | background-color:rgba(0,0,0,0); 105 | } 106 | QCheckBox { 107 | spacing: 2px; 108 | } 109 | 110 | QCheckBox::indicator { 111 | width: 20px; 112 | height: 20px; 113 | } 114 | 115 | QCheckBox::indicator:unchecked { 116 | image: url(:/image/checkbox_unchecked.png); 117 | } 118 | 119 | QCheckBox::indicator:checked { 120 | image: url(:/image/checkbox_checked.png); 121 | } 122 | 123 | QRadioButton { 124 | spacing: 2px; 125 | } 126 | 127 | QRadioButton::indicator { 128 | width: 15px; 129 | height: 15px; 130 | } 131 | 132 | QRadioButton::indicator::unchecked { 133 | image: url(:/image/radio_normal.png); 134 | } 135 | 136 | QRadioButton::indicator::checked { 137 | image: url(:/image/radio_selected.png); 138 | } 139 | 140 | QComboBox,QDateEdit{ 141 | border-radius: 3px; 142 | padding: 1px 10px 1px 5px; 143 | border: 1px solid #5CACEE; 144 | } 145 | 146 | QComboBox::drop-down,QDateEdit::drop-down { 147 | subcontrol-origin: padding; 148 | subcontrol-position: top right; 149 | width: 15px; 150 | border-left-width: 1px; 151 | border-left-style: solid; 152 | border-top-right-radius: 3px; 153 | border-bottom-right-radius: 3px; 154 | border-left-color: #5CACEE; 155 | } 156 | 157 | QComboBox::down-arrow,QDateEdit::down-arrow { 158 | image: url(:/image/array_down.png); 159 | } 160 | 161 | QMenu { 162 | background-color:#F0F0F0; 163 | margin: 2px; 164 | } 165 | 166 | QMenu::item { 167 | padding: 2px 12px 2px 12px; 168 | } 169 | 170 | QMenu::indicator { 171 | width: 13px; 172 | height: 13px; 173 | } 174 | 175 | QMenu::item:selected { 176 | color: #FFFFFF; 177 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 178 | } 179 | 180 | QMenu::separator { 181 | height: 1px; 182 | background: #5CACEE; 183 | } 184 | 185 | QProgressBar { 186 | border-radius: 5px; 187 | text-align: center; 188 | border: 1px solid #5CACEE; 189 | } 190 | 191 | QProgressBar::chunk { 192 | width: 5px; 193 | margin: 0.5px; 194 | background-color: #1B89CA; 195 | } 196 | 197 | QSlider::groove:horizontal,QSlider::add-page:horizontal { 198 | background: #808080; 199 | height: 8px; 200 | border-radius: 3px; 201 | } 202 | 203 | QSlider::sub-page:horizontal { 204 | height: 8px; 205 | border-radius: 3px; 206 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 207 | } 208 | 209 | QSlider::handle:horizontal { 210 | width: 13px; 211 | margin-top: -3px; 212 | margin-bottom: -3px; 213 | border-radius: 6px; 214 | background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,stop:0.6 #F0F0F0, stop:0.778409 #5CACEE); 215 | } 216 | 217 | QSlider::handle:horizontal:hover { 218 | background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA); 219 | } 220 | 221 | QSlider::groove:vertical,QSlider::sub-page:vertical { 222 | background:#808080; 223 | width: 8px; 224 | border-radius: 3px; 225 | } 226 | 227 | QSlider::add-page:vertical { 228 | width: 8px; 229 | border-radius: 3px; 230 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 231 | } 232 | 233 | QSlider::handle:vertical { 234 | height: 14px; 235 | margin-left: -3px; 236 | margin-right: -3px; 237 | border-radius: 6px; 238 | background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0, stop:0.778409 #5CACEE); 239 | } 240 | 241 | QSlider::handle:vertical:hover { 242 | background: qradialgradient(spread: pad, cx: 0.5, cy: 0.5, radius: 0.5, fx: 0.5, fy: 0.5, stop: 0.6 #F0F0F0,stop:0.778409 #1B89CA); 243 | } 244 | 245 | QScrollBar:vertical { 246 | width:10px; 247 | background-color:rgba(0,0,0,0%); 248 | padding-top:10px; 249 | padding-bottom:10px; 250 | } 251 | 252 | QScrollBar:horizontal { 253 | height:10px; 254 | background-color:rgba(0,0,0,0%); 255 | padding-left:10px; padding-right:10px; 256 | } 257 | 258 | QScrollBar::handle:vertical { 259 | width:10px; 260 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 261 | } 262 | 263 | QScrollBar::handle:horizontal { 264 | height:10px; 265 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 266 | } 267 | 268 | QScrollBar::handle:vertical:hover { 269 | width:10px; 270 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 271 | } 272 | 273 | QScrollBar::handle:horizontal:hover { 274 | height:10px; 275 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 276 | } 277 | 278 | QScrollBar::add-line:vertical { 279 | height:10px; 280 | width:10px; 281 | subcontrol-position: bottom; 282 | subcontrol-origin: margin; 283 | border-image:url(:/image/add-line_vertical.png); 284 | } 285 | 286 | QScrollBar::add-line:horizontal { 287 | height:10px; 288 | width:10px; 289 | subcontrol-position: right; 290 | subcontrol-origin: margin; 291 | border-image:url(:/image/add-line_horizontal.png); 292 | } 293 | 294 | QScrollBar::sub-line:vertical { 295 | height:10px; 296 | width:10px; 297 | subcontrol-position: top; 298 | subcontrol-origin: margin; 299 | border-image:url(:/image/sub-line_vertical.png); 300 | } 301 | 302 | QScrollBar::sub-line:horizontal { 303 | height:10px; 304 | width:10px; 305 | subcontrol-position: left; 306 | subcontrol-origin: margin; 307 | border-image:url(:/image/sub-line_horizontal.png); 308 | } 309 | 310 | QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical { 311 | width:10px; 312 | background: #C0C0C0; 313 | } 314 | 315 | QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal { 316 | height:10px; 317 | background: #C0C0C0; 318 | } 319 | 320 | QScrollArea { 321 | border: 0px ; 322 | } 323 | 324 | QTreeView,QListView,QTableView{ 325 | border: 1px solid #5CACEE; 326 | selection-background-color: #1B89CA; 327 | selection-color: #F0F0F0; 328 | } 329 | 330 | QTableView::item:selected, QListView::item:selected, QTreeView::item:selected { 331 | color: #F0F0F0; 332 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 333 | } 334 | 335 | QTableView::item:hover, QListView::item:hover, QTreeView::item:hover { 336 | color: #F0F0F0; 337 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 338 | } 339 | 340 | QTableView::item, QListView::item, QTreeView::item { 341 | padding: 5px; 342 | margin: 0px; 343 | } 344 | 345 | QHeaderView::section { 346 | padding:3px; 347 | margin:0px; 348 | color:#F0F0F0; 349 | border: 1px solid #F0F0F0; 350 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 351 | } 352 | 353 | QTabBar::tab { 354 | border-bottom-left-radius:0px; 355 | border-bottom-right-radius:0px; 356 | color: #F0F0F0; 357 | min-width: 60px; 358 | min-height: 20px; 359 | padding: 3px 8px 3px 8px; 360 | margin:1px; 361 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #5CACEE, stop:1 #4F94CD); 362 | } 363 | 364 | QTabBar::tab:selected, QTabBar::tab:hover { 365 | background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1B89CA, stop:1 #1077B5); 366 | } 367 | 368 | QStatusBar::item { 369 | border: 1px solid #5CACEE; 370 | border-radius: 3px; 371 | } -------------------------------------------------------------------------------- /image/checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/checkbox_checked.png -------------------------------------------------------------------------------- /image/checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/checkbox_unchecked.png -------------------------------------------------------------------------------- /image/database/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/database/database.png -------------------------------------------------------------------------------- /image/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/delete.png -------------------------------------------------------------------------------- /image/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/error.png -------------------------------------------------------------------------------- /image/excel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/excel.png -------------------------------------------------------------------------------- /image/find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/find.png -------------------------------------------------------------------------------- /image/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /image/house/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/1.jpg -------------------------------------------------------------------------------- /image/house/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/10.jpg -------------------------------------------------------------------------------- /image/house/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/11.jpg -------------------------------------------------------------------------------- /image/house/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/2.jpg -------------------------------------------------------------------------------- /image/house/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/3.jpg -------------------------------------------------------------------------------- /image/house/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/4.jpg -------------------------------------------------------------------------------- /image/house/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/5.jpg -------------------------------------------------------------------------------- /image/house/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/6.jpg -------------------------------------------------------------------------------- /image/house/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/7.jpg -------------------------------------------------------------------------------- /image/house/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/8.jpg -------------------------------------------------------------------------------- /image/house/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/house/9.jpg -------------------------------------------------------------------------------- /image/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/info.png -------------------------------------------------------------------------------- /image/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/print.png -------------------------------------------------------------------------------- /image/qt_zh_CN.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/qt_zh_CN.qm -------------------------------------------------------------------------------- /image/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/question.png -------------------------------------------------------------------------------- /image/radio_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/radio_normal.png -------------------------------------------------------------------------------- /image/radio_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/radio_selected.png -------------------------------------------------------------------------------- /image/room/Deluxe Suite.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/room/Deluxe Suite.jpg -------------------------------------------------------------------------------- /image/room/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/room/back.jpg -------------------------------------------------------------------------------- /image/room/double room.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/room/double room.jpg -------------------------------------------------------------------------------- /image/room/single room.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/room/single room.jpg -------------------------------------------------------------------------------- /image/roomnum/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/1.png -------------------------------------------------------------------------------- /image/roomnum/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/2.png -------------------------------------------------------------------------------- /image/roomnum/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/3.png -------------------------------------------------------------------------------- /image/roomnum/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/4.png -------------------------------------------------------------------------------- /image/roomnum/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/5.png -------------------------------------------------------------------------------- /image/roomnum/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/6.png -------------------------------------------------------------------------------- /image/roomnum/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/7.png -------------------------------------------------------------------------------- /image/roomnum/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/8.png -------------------------------------------------------------------------------- /image/roomnum/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/9.png -------------------------------------------------------------------------------- /image/roomnum/layout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomnum/layout.png -------------------------------------------------------------------------------- /image/roomtype/double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomtype/double.png -------------------------------------------------------------------------------- /image/roomtype/luxury.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomtype/luxury.png -------------------------------------------------------------------------------- /image/roomtype/president.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomtype/president.png -------------------------------------------------------------------------------- /image/roomtype/signal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/roomtype/signal.png -------------------------------------------------------------------------------- /image/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/select.png -------------------------------------------------------------------------------- /image/sub-line_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/sub-line_horizontal.png -------------------------------------------------------------------------------- /image/sub-line_vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/sub-line_vertical.png -------------------------------------------------------------------------------- /image/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/image/update.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | ## 基于Qt的酒店管理系统demo 2 | 3 | | 开发平台 | windows7 64| 4 | |--|--| 5 | |开发软件 |Qt 4.8.6| 6 | |编译器|mingw32| 7 | |时间|2014年12月27日| 8 | |数据库 | mysql| 9 | 10 | 11 | ![home](/screen/home.png) 12 | 13 | ## 版本说明 14 | 15 | - v1,0 16 | 17 | 基础版本,采用Qt4开发 18 | 19 | - v2.0 20 | 21 | 兼容Qt5,消除编译错误,可以正常运行. 22 | 23 | 24 | ## change log 25 | 26 | - 2020年3月19日23:22:48 27 | 28 | 一直以来初学朋友反这份代码编不过,各种错误无法解决,今天晚上抽时间更新了下,兼容Qt5。 29 | 30 | 31 | ## Q&A 32 | 33 | ### 关于运行提示数据库打开失败问题 34 | 35 | 软件数据库使用`mysql`, 需要你再运行前配置下你的mysql,具体配置信息如下所示 36 | 37 | ``` 38 | db.setHostName("127.0.0.1"); //本地地址(若要远程链接,输入相应的地址) 39 | db.setPort(3306); //设置端口号 40 | db.setDatabaseName("hotel"); //设置数据库的名字 41 | db.setUserName("root"); //设置用户名字 42 | db.setPassword("123456"); //设置密码 43 | ``` 44 | 45 | 打开本工程目录下的 `doc`文件夹,执行`hotel.sql` 语句,将基本表结构导入到你的数据库中即可。 46 | 具体如何导入请百度。 47 | 48 | 49 | - [参考这个 CSDN](https://blog.csdn.net/u013704336/article/details/45891903) 50 | -------------------------------------------------------------------------------- /screen/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kevinlq/HotelManage/d3967080eee502b5c7d534c6a9feb00868be195a/screen/home.png --------------------------------------------------------------------------------