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.

CardViewHorizontalLayout Example

The example shows the card view with the horizontal layout.

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.

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.

CustomFilter Example

The example demonstrates how custom filter can be applied for data that are showing in grid. This demo is based on CustomFilterCondition class that can be adopted for your special conditions.

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.

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.

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.

StandartQtDelegates Example

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

StyleSheetDemo Example

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

TableViewHorizontalLayout Example

The example demonstrates horizontal layout usage in a grid view. Horizontal view orientation is effective when you have a database table that has many fields that are not fit on the screen.

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

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.