Forum
Sign Up

Category Header

DataGrid for Qt.C++

Topics in Category: QtitanDataGrid

emo
Views: 1231
Replies: 7
  • Page:
  • 1
  • 2
Preview
Stefan's Avatar
Topic started 4 years 10 months ago by Stefan
My application uses QSS for some styling. I am slowly changing all QTableViews over to QtitanDataGrids. I would like to be able to keep the styling in my app consistent by applying the same styles to all QtitanDataGrids. It seems that QTableView and QTreeView styles do not affect QtitanDataGrid, so...
Oleg's Avatar
Last Post by Oleg 2 months 1 week ago
How I can change background color for all "service" fields of grid (column headers, navigator & frozen rows places, etc)? Can I do this via QSS?
emo
Views: 76
Replies: 1
Preview
Andrey Florinsky's Avatar
Topic started 4 months 3 weeks ago by Andrey Florinsky
What is the easiest way to get the number of selected rows in a GridBandedTableView? I am doing as shown below, but it's bad for large data: GridSelectionIterator* selection = m_view->selectionIterator(); int selectCount = 0; while (!selection->end()) { ++selectCount; const int indx...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 4 months 3 weeks ago
selectionIterator() is deprecated in latest version of the grid. This week will be released an update. With this version it will be possible to get the selected rows count this way: Qtitan::GridTableView* view = m_grid->view<Qtitan::GridTableView>(); view->selection()->ranges()[0]... P.S....
emo
Views: 91
Replies: 3
Preview
Andrey Florinsky's Avatar
Topic started 5 months 10 hours ago by Andrey Florinsky
Hi, guys! The problem with this: I get a real ModelIndex row of element: int row = m_view->focusedRow()->modelRowIndex(); Now I do sorting or filtering or grouping in view. And then I want to focus this row. How can I do this? m_view->setFocusedRowIndex(row) Is not working properly.
Developer Machines Support's Avatar
Last Post by Developer Machines Support 4 months 3 weeks ago
In this case you do not need to get a parent group row (you already have a reference to group row that is focused). Just use row->setExpanded(true).
emo
Views: 679
Replies: 5
Preview
corrado valeri's Avatar
Topic started 2 years 10 months ago by corrado valeri
Hello I would get the same coloring effect as setAlternatingRowColors, but for the columns. How to do this? thanks
Developer Machines Support's Avatar
Last Post by Developer Machines Support 5 months 3 weeks ago
Qt::FontRole is supported for string editors. Please set this option to true before start trying it: view->options().setModelDecoration(true)
emo
Views: 112
Replies: 0
Preview
Pascal Geenens's Avatar
Topic started 7 months 1 day ago by Pascal Geenens
Where can I find documentation which functions/members/properties are removed and what is the replacement ? Would be good to flag public members as deprecated before just dropping them. Eg, following code does not work anymore in 4.x:... and through searching the source code I found that it could...
emo
Views: 311
Replies: 1
Preview
Kwangho Kim's Avatar
Topic started 1 year 1 month ago by Kwangho Kim
i want to copy-paste feature with qtitandatagrid. but currently qtitandatagrid does not support this feature. so i decide to make my own code. --- i edited qtitandatagrid source code because qtitandatagrid cannot signal ctrl+c event. --- this code does not support banded table view. --- this...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 4 weeks ago
Could you please tell me how many rows in your model?
emo
Views: 253
Replies: 1
Preview
Kwangho Kim's Avatar
Topic started 1 year 1 month ago by Kwangho Kim
how to use qtitandatagrid in qml? is it impossible?
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 4 weeks ago
QML binding is not supported. This feature in our wish-list But I can not give an exact date when this will be implemented.
emo
Views: 243
Replies: 1
Preview
Josh Quigley's Avatar
Topic started 1 year 1 month ago by Josh Quigley
When the model raises 'headerDataChanged' signal, this is ignored by the QtitanDataGrid. Inspecting the dumpObject() output (shown below) it appears the view never connects to the signal. Is there are way to trigger the view to update it's column headers? OBJECT...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 4 weeks ago
In current implementation these signals are not handled. They will be added to the next major grid update - v 4.0.
emo
Views: 238
Replies: 1
Preview
Josh Quigley's Avatar
Topic started 1 year 2 months ago by Josh Quigley
Out-of-the box, the spin box editor (for numeric values) in the QtitanDataGrid limits values to between 0.00 and 99.99 How can we replace the validator? In particular, I'd like the user to be able to type any value, include 'nan' which is a valid value for 'double' type.
Piotr's Avatar
Last Post by Piotr 1 year 2 months ago
Hi josh, You have access to the column editor and can set the appropriate properties. For example: myColumn->setEditorType(Qtitan::NumericEditorType); Qtitan::GridNumericEditorRepository* numericEditor = (Qtitan::GridNumericEditorRepository*)myColumn->editorRepository();...
emo
Views: 255
Replies: 0
Preview
Thomas Andries's Avatar
Topic started 1 year 2 months ago by Thomas Andries
When editing in a cell, is it possible to stay in editing mode when the tab key is used to move to the next field?
emo
Views: 322
Replies: 4
Preview
Aaron's Avatar
Topic started 1 year 4 months ago by Aaron
When using QTitanDataGrid within my application. No other widgets will accept key presses. More specifically, when attempting to use the delete key, nothing will happen when a QTitanDataGrid widget is active. If i close out of this widget, delete functionality returns to the rest of my widgets....
Aaron Shelley's Avatar
Last Post by Aaron Shelley 1 year 2 months ago
That could be useful, yes.
emo
Views: 254
Replies: 1
Preview
Aaron Shelley's Avatar
Topic started 1 year 3 months ago by Aaron Shelley
Hello, I have been unable to get any mouse events such as rubber band selection and right clicking for context menus to work with the Qtitan::CheckBoxEditorType I use the following code to setup my check box columns. I believe I pulled this from the demo code, which btw, mouse events for check...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 2 months ago
Bug has been reproduced and fixed. Fix will be available in QtitanDataGrid 3.6.2. Thanks for the info.
emo
Views: 296
Replies: 1
Preview
Realhub RnD Center's Avatar
Topic started 1 year 4 months ago by Realhub RnD Center
QtitanDataGrid version 3.6.0 this is my source. grid = new Grid; QStandardItemModel* model = new QStandardItemModel(0, 3, grid); model->setHeaderData(0, Qt::Horizontal, "A"); grid->setViewType(Grid::TableView); grid->view<GridTableView>()->setModel(model); GridTableColumn* column... ...
Developer Machines Support's Avatar
Last Post by Developer Machines Support 1 year 4 months ago
At the moment please add this line to align content of the column: column->setTextAlignment(Qt::AlignCenter);
emo
Views: 369
Replies: 4
Preview
Kwangho Kim's Avatar
Topic started 1 year 5 months ago by Kwangho Kim
i use qtitandatagrid 3.5 , but still i cant satisfying this component's click event process. though i click my list's item but i cant select row. and qtitandatagrid demo project cause same situation. i only select row via click when very slowly click row!! i attached my record file.( i want to...
Kwangho Kim's Avatar
Last Post by Kwangho Kim 1 year 5 months ago
Thanks for fixing codes.
emo
Views: 275
Replies: 0
Preview
Aaron's Avatar
Topic started 1 year 9 months ago by Aaron
How do I register a double click signal for GridTableView columns? In Qt, I could simply connect to QHeaderView::sectionDoubleClicked. What can I do with QTitanDataGrid to achieve the same behavior?
emo
Views: 1388
Replies: 6
  • Page:
  • 1
  • 2
Preview
yanivhakak's Avatar
Topic started 3 years 9 months ago by yanivhakak
Is there such a thing? please Can place an example?
Aaron's Avatar
Last Post by Aaron 1 year 9 months ago
For future reference. bool isChecked = model->data(item->index()).toBool();
emo
Views: 292
Replies: 0
Preview
Aaron's Avatar
Topic started 1 year 9 months ago by Aaron
The icons for my grid will not render. For example, I enabled RowFrozenButton for my grid . The button is available to click but no pin icon appears. When I drag a column to the group box header, no exit icon appears for that column. Am I missing something from the demos? These icons DO render...
emo
Views: 337
Replies: 2
Preview
Aaron's Avatar
Topic started 1 year 9 months ago by Aaron
// "this" is a QWidget auto layout = new QHBoxLayout(this); auto grid = new Qtitan::Grid(this); grid->setViewType(Qtitan::Grid::TableView); auto view = grid->view<Qtitan::GridTableView>(); view->options().setColumnAutoWidth(true); view->options().setRowAutoHeight(true);... ...
Aaron's Avatar
Last Post by Aaron 1 year 9 months ago
Thank you for the help so far. That indeed works and generates a 4x4 table. My next problem is the follow: auto grid = new Grid(); grid->setViewType(Grid::TableView); auto view = grid->view<GridTableView>(); auto model = new QStandardItemModel(); view->setModel(model); QStringList... The...
emo
Views: 278
Replies: 0
Preview
Paul's Avatar
Topic started 1 year 9 months ago by Paul
I have been considering the possibilities to target our software for OS X. We depend greatly on two components which you already provide: datagrid and charts. The problem is that the evaluation version that you provide cannot be installed in OS X Mavericks due to an issue in Qt (such issue was fixed...
emo
Kwangho Kim's Avatar
Topic started 1 year 11 months ago by Kwangho Kim
In previous articles, i set first column checkboxeditor type. but, my model's setData is incorrectly called by QtitanDatagrid. i.e, 1. select first column, ( set focus first column ) 2. check box click, ( checkbox = true ) between 2 and 3, qtitandatagrid not call setData for checkbox 3....
Kwangho Kim's Avatar
Last Post by Kwangho Kim 1 year 11 months ago
Thanks for your reply. B)
Time to create page: 0.215 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )