Qtitan Components Examples And Tutorials

A collection of code samples and tutorials are provided with Qtitan components to help new users get started with development. These documents cover a range of topics, from simple examples of use Qtitan components to complex demonstrations that involve the hidden mechanisms of components. You can use snippets from these examples in your application.

The sources of the demo examples you can find at the computer after the install the trial or full version in <QtitanComponents Install Path>/demos.

QtitanDataGrid Examples

AddingNewRowFeature Example

The example shows how to use adding new row feature.

BandedTableView Example

The example shows how to create a table with the band columns.

CardView Example

The example shows the ability of the grid to present data in the form of cards - card view.

CardViewNewCardFeature Example

The example shows how to use adding new row feature for card view.

CardViewSummaries Example

The example shows how to use the summaries by all columns or by groups in the card view.

CardViewVertical Example

The example shows the card view with the vertical layout.

ColumnEditorsFeature Example

The example demonstrates how QWidget can be embedded to the ordinal column header or to the band column header. In this demo we embed Chart QWidget from Qt-demos to the band column header.

CustomEditor Example

The example shows the ability of the grid to add custom value editors in cells based on any QWidget.

CustomFilter Example

The example demonstrates how custom filter can be applied for data that are showing in grid.

DragDropFeature Example

The example demonstrates drag-drop support in the grid. In this example, you can drag data between the grid and the regular QTableView. Drag and drop data from grid to Excel, Outlook or any text editor. You can also use Copy-Paste feature.

FileBrowser Example

The example demonstrates the banded tree view with QFileSystemModel model.

FixedColumns Example

The example demonstrates how to column can be fixed (cannot be scrolled horizontally or verticaly in horizontal-oriented view) on the left or right side of the grid's view.

GroupAndFooterSummaries Example

The example demonstrates how to correctly initialize the grid to make it display summaries by all columns or by groups.

HtmlManipulation Example

The example demonstrates how HTML can be used in various parts of the grid. HTML can contain a hyperlinks with a handlers (slots) in your code.

LargeDataSetExample Example

The example demonstrates how to column the behavior of a grid with 100.000 rows loaded in it and the usability of grouping and sorting functions in this case.

MDIApplication Example

The example demonstrates how to integrate the grid into a conventional MDI interface in Qt.

MSOfficeMode Example

The example demonstrates grid behaviour like in Microsoft Office. Grouping and group rows painting like in Outlook.

MasterDetail Example

The example shows the possibility of using the master-detail pattern in the grid.

MultiSelection Example

The example demonstrates the operation of the grid in various modes of the selection. You can choose from single-row, multi-rows, single-cell, multi-cells, multi-rows with rubber band and multi-cells with rubber band selection modes. In multiline mode you can mark the rows by clicking on a check boxes.

PreviewRow Example

The example demonstrates how to correctly initialize a grid preview row. Preview row it is a special row that does not have a column header and it is designed to display generalized information reflected in other cells.

ProgressBarEditor Example

The example demonstrates progress bar cell editor behaviour. Grid allows to display and edit integer value in progress bar.

QtItemDelegate Example

The example demonstrates how to embed a Qt delegate from QTableView to QtitanDataGrid.

RelationMode Example

The example demonstrates how to correctly initialize a grid to work with two relative Qt-models. Example repeats functionality of a analogous demo examples in Qt.

RowAutoHeightFeature Example

The example demonstrates the ability of the grid to adjust the height of the rows according to theirs content to make it fit on the view. For alignment are used any multi-line text or images located in cells.

ScrollingByPixelsFeature Example

The example demonstrates how to correctly initialize a grid to enable per-pixel vertical rows scrolling (or horizontal rows scrolling in horizontal-oriented view), similar to how it's done in web browsers.

StyleSheetDemo Example

The example demonstrates the possibilities of the grid customization through the StyleSheet (QSS).

TableViewVertical Example

The example demonstrates vertical usage in a grid view.

TreeView Example

The example demonstrates the ability to use trees in the grid view.

QtitanRibbon Examples

Application Example

The example shows the complex application template that uses Ribbon UI.

BackstageView Example

The example shows how you can embed a special widget into your application - BackstageView.

ContextualTabs Example

The example shows the possibility of using contextual tabs at the application window on which the ribbon bar is located.

ControlsDemo Example

The example shows most of the controls that can be used inside the ribbon bar.

CustomTitleBarDemo Example

The example demonstrates the ability to customize the title bar of the top-level window.

DesignerDemo Example

Simple form with the ribon bar, created in Qt-designer. You can use this example as a template.

DialogDemo Example

A simple example to make sure the ribon bar works on any windows including dialogs - QDialog.

GalleriesDemo Example

The example demonstrates the use of ribbon galleries inside the ribbon bar.

GroupScrollingFeature Example

The example demonstrates the feature of the ribbon bar to show the scroll buttons for ribbon groups when groups do not fit entirely inside the window and need to be scrolled.

MDIApplication Example

The example shows the possibility of using the ribbon bar together with the MDI interface.

StyledWidgetsDemo Example

A simple example on which you can see how ordinary Qt widgets look like under different Microsoft Office styles or Adobe Photoshop style.

SystemMenuDemo Example

The example demonstrates the ability to use the ribbon system menu in the ribbon bar.

ToolBarControlDemo Example

The example shows the possibility of grouping elements within a ribbon group into a special container - ribbon tool bar control.

QtitanChart Examples

AdvancedFeaturesDemo Example

The example demonstrates some advanced features for creating interactive charts. For instance, the example shows how to get a chart item under the mouse cursor and perform some additional rendering.

AreaChart2D Example

The example demonstrates different views of the Aria diagrams in 2D.

BarChart2D Example

The example demonstrates different views of the Bar diagrams in 2D.

BarChartDataModel Example

The example demonstrates the ability to use QAbstractItemModel as a data source for building Bar charts.

DoughnutChart2D Example

The example demonstrates the Doughnut 2D chart.

DoughnutChart3D Example

The example demonstrates the Doughnut 3D chart.

FinancialChart2D Example

The example demonstrates the possibilities of displaying different variants of financial charts - Open-High-Low-Close and Candlestick.

FunnelChart2D Example

The example demonstrates the Funnel 2D chart.

FunnelChart3D Example

The example demonstrates the Funnel 3D chart.

LineChart2D Example

The example demonstrates the Line 2D chart.

LineChartDataModel Example

The example demonstrates the ability to use QAbstractItemModel as a data source for building Line charts.

PieChart2D Example

The example demonstrates the Pie 2D chart.

PieChart3D Example

The example demonstrates the Pie 3D chart.

PieChartDataModel Example

The example demonstrates the ability to use QAbstractItemModel as a data source for building Pie charts.

PolarChart2D Example

The example demonstrates the Polar 2D chart.

PyramidChart2D Example

The example demonstrates the Pyramid 2D chart.

PyramidChart3D Example

The example demonstrates the Pyramid 3D chart.

RealTimeMonitorDemo Example

The example demonstrates how charts can react to changing data in the real time. You can evaluate how quickly the view of the charts is updated when the data values are changed.

ScatterChart2D Example

The example demonstrates the Scatter 2D chart.

ZoomAndScrollDemo Example

The example demonstrates the unique ability to zoom the chart view and scroll it horizontally or vertically if the view does not fit completely.

QtitanNavigationDesignUI Examples

AcrylicMaterialWidget Example

A simple example to demonstrate the work of MaterialWidget.

CommandBar Example

The example shows how to add the CommandBar to the Qt application.

DesignerDemo Example

Sample-template to demonstrate the basic features of the component plugin for the Qt-designer.

MDIDemo Example

The example shows how MDI windows can be integrated into NavigationMainWindow.

NavigationView Example

A complete example for demonstrating the NavigationView control.

QtitanDocking Examples

DocumentDemo Example

The example shows how to use document panels in docking.

DynamicPanels Example

The example shows how to create dockable panels from the code dynamically while the application is running.

MDIWindowDemo Example

The example shows how to deploy the docking in one of the windows of the MDI interface.

SimplePanels Example

The example shows how to quickly and easily add support for Visual Studio-like dockable panels to your application.

ToolBars Example

The example shows how to add dockable tool bars to the application.

QtitanFastInfoset Examples

XML To FastInfoset Converter Example

Example below demonstrates how XML file can be converted to FastInfoset file and vice versa.