Below is a list of typical questions about QtitanDataGrid submitted by our clients. Please read them attentively prior to contacting us – there is a good chance your question has already been answered. If, however, you don’t find an answer to your question, please don’t hesitate to contact our customer support department – we’ll be glad to assist you.
- Why would I need QtitanDataGrid at all?
QtitanDataGrid is used for displaying tabular data in Nokia-Qt applications.
- Who are the primary users of Qtitan DataGrid?
QtitanDataGrid is intended for Qt developers creating applications with closed source codes.
- Is QtitanDataGrid a direct descendant of the standard QTableView component?
No. QtitanDataGrid is a descendant of QWidget and uses a virtualization-based architecture for processing tabular data.
- What data source does QtitanDataGrid use?
The component can work with any data source inheritable from QAbstractItemModel.
- QAbstractItemModel has a tree-like structure with parent-child relations in it. Will QtitanDataGrid allow me to show data on the nested levels of my models?
Yes, this is possible. To do that, just specify the index of the parent level when installing a model.
- Will QtitanDataGrid cache data from my model?
For improved performance, Qtitan DataGrid uses an integrated caching mechanism. It can be activated at any time, but it’s not enabled by default, since many models have their own caching mechanisms.
- Does QtitanDataGrid support sorting?
Absolutely. QtitanDataGrid supports sorting by one or several columns.
- Do I need to use QSortFilterProxyModel to make sure that sorting works correctly in QtitanDataGrid?
No, it’s not necessary. QtitanDataGrid has all the necessary mechanisms for correct sorting.
- How fast does QtitanDataGrid sort data? Is the sorting mechanism sensitive to the types of data being sorted?
QtitanDataGrid is very fast. The sorting mechanism is sensitive to the types of data, which means that sorting of integer values will be faster than sorting of a column of string values.
- What mechanism does QtitanDataGrid use for sorting?
- Does QtitanDataGrid support grouping?
Sure. The component supports grouping by any number of columns.
- Can QtitanDataGrid generate summaries?
Of course. QtitanDataGrid generates column-specific and group summaries.
- Can I group columns into bands?
Yes. QtitanDataGrid has a special table type, Qtitan::BandedTableView, which allows you to do that.
- Can I make a column occupy more than one row?
Yes, you can.
- Can I make some columns fixed for horizontal scrolling?
- Can QtitanDataGrid fit the height of table cells to the height of their content?
Absolutely. It even has a special mode for that - Row Auto Height.
- How are cells edited in QtitanDataGrid?
QtitanDataGrid has a set of easily-editable editors for different data types.
- I have my own editor based on QItemDelegate. Can I use it?
Yes, you can. But our concept implies that no additional coding of editors (delegates) is required. We will keep developing editors to an extent that will cover all possible combinations. However, we understand that there are cases when it’s absolutely necessary to use custom editor capabilities. That’s exactly why we added a support for the QItemDelegate and added own public API for editors to QtitanDataGrid.
- What cell editors are available at the moment?
You can edit the following data types in cells:
- Images (can also be shown in a dropdown window)
- Text (can also be shown in a dropdown window)
- Standart Qt model (can be shown in ComboBox dropdown window and/or in DataGrid dropdown window)
- Will QtitanDataGrid look like an integral part of my application?
QtitanDataGrid uses the Qt styles system, so it will definitely look like a part of your app.
- Qt is a platform-independent framework. Does Qtitan use platform-independent code?
99% of Qtitan code is platform-independent. However, platform-specific code is sometimes used for performance optimization purposes.
- What platforms does Qtitan support?
At the moment, it’s Windows and Linux. Mac OS support is under way.
- I develop projects in Microsoft Visual Studio. Will I be able to build there using Qtitan?
Qtitan supports both MingW and Visual Studio without limitations.