|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Create own class of view in C++ hi, I am working on project and for that I have chosen to use Qt and respect the MVC architecture which is well suited to my project. However, I need to create my own class for the manager, because the tables, lists, trees and other views already present. I watched how to do it and I realized I had to create a class inheriting from QAbstractItemView. By against, what I do not know is how: Several methods are pure virtual so I must define them properly, but I do not know what they are supposed to do exactly ... If someone could give me a little explanation or even a simple example, it would be very nice, thank you in advance. |
#2
| |||
| |||
Re: Create own class of view in C++ Quote:
|
#3
| |||
| |||
Re: Create own class of view in C++ For the doc, I looked but I am a little lost, that's why I asked ... As for example, where can we find the source code of existing classes? Qt is not opensource, you can not see, is it? |
#4
| |||
| |||
Re: Create own class of view in C++ Qt has a open source version, which is under LGPL license in its latest version (4.5). |
![]() |
|
Tags: class, qt programing |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create a class in java script | Lawford | Software Development | 5 | 11-02-2010 02:16 AM |
How to create mouse event using Robot class in java? | Luis-Fernando | Software Development | 4 | 03-02-2010 08:03 PM |
How to create an inner class in java? | MABON | Software Development | 4 | 01-02-2010 04:40 PM |
How many ways to create an object for class | Shanbaag | Software Development | 3 | 25-04-2009 10:08 AM |
Create a class in C # (CSharp) | Aadi | Guides & Tutorials | 2 | 10-12-2008 12:08 AM |