QT Programming: A dictionary development based on QT--Dictionary frame design and finished product display

Source: Internet
Author: User

last summer, as a study of QT, I wrote a dictionary called "I love to look up the dictionary" software. Later, due to the Mentor program and classes and other reasons, lack of time, so the software part of the lack of functionality, performance needs to be improved. When this semester comes back, there are a lot of things that are unfamiliar to me. This semester is less, so I want to write about this software production of a series of articles, on the future to regain the software can be faster start. Of course, the reader is also very happy to add some features on the basis of the software, the source code will be published after the series of articles have been written. Dictionary software that can be run: http://download.csdn.net/detail/tengweitw/8548767 The following first gives the software architecture, the article will give the various functional display diagram.
functional modules for dictionaries 1, no border window drag, zoom in and Zoom out
2, the system tray display
3. Login Management 4. User account Display
5. Top, skin change, minimize, Close button
6, call the local browser search terms
7. Search the history of the word forward back button
8, check the Word box, search button
9, Three kinds of search words: Internet search words, local search words, web search words
10, the Word Information display window
11. Main Menu: Top, Font size selection, matching mode selection, logout, about, exit 12. Word book 13, the local dictionary selection module 14. Online Academy 15. network connectivity status flag 16. Local Dictionary usage status


Project Catalog Files




Here is a description of the approximate function of each file:

1, Basicwindow.h, basicwindow.cpp and Basicwindow.ui files define the Basicwindow class, the main implementation is the frame window drag and zoom, the software other window design mostly inherit the class2, completelineedit.h and completelineedit.cpp files define the Completelineedit class, the class is mainly to improve the Qlineedit class, can have a drop-down list of the display, the SOFTWARE function 8 is used in the class. 3, Libmanager.h, Libmanager.cpp, and Libmanager.ui files are used to generate a local dictionary selection interface. 4. Localdict.h and Localdict.cpp files define the Localdict class, which is used to read the local dictionary library. 5, Logindialog.h, Logindialog.cpp, and Logindialog.ui define the Logindialog class, which is used to manage logins for user accounts. 6. Network.h and Network.cpp files define the network class, which is used to log in to the scallop network using the open API of the scallop net, and to make Internet search terms. 7, Qmenubutton.h and Qmenubutton.cpp define the Qmenubutton class, and function 11 inherits the class so that it can appear in a drop-down menu. 8, Searchwindow.h, Searchwindow.cpp and Searchwindow.ui define the Searchwindow class for the display of the software main interface, which is the core part of the software. 9. Word.h and Word.cpp files define word classes, which are primarily used to store word content obtained from web-based search terms. 10, Wordbook.h, Wordbook.cpp, and Wordbook.ui files define the Wordbook class for managing the word book, and this part of the functionality has not yet been implemented. 11, Wordmodify.h, Wordmodify.cpp and Wordmodify.ui files define the wordmodify for the modification of words in the word book.

Some features of the display diagram

1. Main interface

2. Internet search terms

3. Local search terms


4. Web Search

5. Skin changing function

6, Search mode: sentence first matching, sentence matching


7. Main Menu


8. Pallet Display

9. Some other:








Original:http://blog.csdn.net/tengweitw/article/details/44757875
Nineheadedbird

QT Programming: A dictionary development based on QT--Dictionary frame design and finished product display

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.