Qt Completions for C++
Completion features for Qt with Sublime text
Details
Installs
- Total 13K
- Win 8K
- Mac 2K
- Linux 4K
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 2 | 0 | 2 | 2 | 0 | 1 | 2 | 0 | 3 | 0 | 1 | 2 | 1 | 1 | 0 | 2 | 1 | 3 | 1 | 1 | 1 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 1 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 2 |
Readme
- Source
- raw.githubusercontent.com
Qt Completions for C++
About
A Sublime text package that pops up suggestions for common Qt5 classes and components. It's purpose is to make coding easier and faster without the need for memorizing widget names or methods.
Installation
Important: You need to have
Package Control
installed first on your sublime text which can be found at The Package Contol Website
Using Package Control's Repository
Go to Preferences
–> Package Control
–> Add Repository
–> then type into the textbox https://github.com/tushortz/
After doing this, then go to: Preferences
–> Package Control
–> Install Package
–> then search Qt Completions for C++
and click it.
The package will be installed and ready for use.
Download Manually
- Download the files using the GitHub .zip download option
- Unzip the files
- Copy the folder to your Sublime Text
Packages
directory
How to Use
On a Python file in sublime text, type your desired component name or method and suggestions should follow. Press tab and autocomplete will be made.
Example
Note: All the string with bold below is used to specify which case it should begin with.
Component Usage | Package display | Package Type |
---|---|---|
setMaximumSize | setMaximumSize(); |
Methods |
QtWidgets | #include <QtWidgets> |
Modules |
QLabel | QLabel |
Classes |
QAudio | #include <QAudio> |
Namespaces |
I-QLabel | QLabel* labe = new QLabel(); |
Instances |
Note: You need to use upper case
I-
to get instances completion.Advice: This completion package is meant for Qt for C++ and not C++. You can disable this package if working on C++ alone.
Contributing
All contributions are welcome. You can fork it on Github
License
© 2015 Taiwo Kareem | taiwo.kareem36@gmail.com.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Acknowledgements
I'd first like to say a very big thank you to God my creator. Without him, this wouldn't be possible.