A manager (tabbed) widget class for displaying information about data such as case ID etc.  
 More...
#include <milxQtManager.h>
 | 
| int  | newTab (QString tabTitle, QStringList headings) | 
|   | Creates a new tab in the manager with the title and headings provided.  More...
  | 
|   | 
| 
void  | closeTab (int index) | 
|   | Close the current tab. 
  | 
|   | 
| 
void  | clearTab () | 
|   | Clear the current tab. 
  | 
|   | 
| void  | clearTab (int tabIndex) | 
|   | Clear the tab given by index.  More...
  | 
|   | 
| void  | exportTab (QString filename="") | 
|   | Clear the tab given by index.  More...
  | 
|   | 
| void  | addItem (QStringList entries, Qt::ItemFlags flags=Qt::ItemIsEnabled|Qt::ItemIsSelectable) | 
|   | Add all the entries in list to the view.  More...
  | 
|   | 
| void  | addItem (int tabIndex, QStringList entries, Qt::ItemFlags flags=Qt::ItemIsEnabled|Qt::ItemIsSelectable) | 
|   | Add all the entries in list to the view.  More...
  | 
|   | 
| void  | addItem (int tabIndex, QStringList entries, QWidget *itemWidgetToAdd, int widgetColumn) | 
|   | Add all the entries in list to the view, as well as the widget provided.  More...
  | 
|   | 
| void  | addTreeItem (int tabIndex, QStringList topLevelName, QList< QStringList > entryList, Qt::ItemFlags flags=Qt::ItemIsEnabled|Qt::ItemIsSelectable) | 
|   | Add all the entries in list to the view like a tree.  More...
  | 
|   | 
A manager (tabbed) widget class for displaying information about data such as case ID etc. 
Plugins can utilise the class for case browsing etc. 
Definition at line 31 of file milxQtManager.h.
 
◆ addItem [1/3]
  
  
      
        
          | void milxQtManager::addItem  | 
          ( | 
          QStringList  | 
          entries,  | 
         
        
           | 
           | 
          Qt::ItemFlags  | 
          flags = Qt::ItemIsEnabled | Qt::ItemIsSelectable  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add all the entries in list to the view. 
- Parameters
 - 
  
    | entries | The entries for the current item or row to be add.  | 
    | flags | item properties, is it Qt::ItemIsEditable etc.  | 
  
   
Definition at line 132 of file milxQtManager.cpp.
 
 
◆ addItem [2/3]
  
  
      
        
          | void milxQtManager::addItem  | 
          ( | 
          int  | 
          tabIndex,  | 
         
        
           | 
           | 
          QStringList  | 
          entries,  | 
         
        
           | 
           | 
          Qt::ItemFlags  | 
          flags = Qt::ItemIsEnabled | Qt::ItemIsSelectable  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add all the entries in list to the view. 
- Parameters
 - 
  
    | index | tab index of the entry to be inserted  | 
    | entries | The entries for the current item or row to be add.  | 
    | flags | item properties, is it Qt::ItemIsEditable etc.  | 
  
   
Definition at line 143 of file milxQtManager.cpp.
 
 
◆ addItem [3/3]
  
  
      
        
          | void milxQtManager::addItem  | 
          ( | 
          int  | 
          tabIndex,  | 
         
        
           | 
           | 
          QStringList  | 
          entries,  | 
         
        
           | 
           | 
          QWidget *  | 
          itemWidgetToAdd,  | 
         
        
           | 
           | 
          int  | 
          widgetColumn  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add all the entries in list to the view, as well as the widget provided. 
- Parameters
 - 
  
    | index | tab index of the entry to be inserted  | 
    | entries | The entries for the current item or row to be add.  | 
    | itemWidgetToAdd | the widget to be added to the item  | 
    | widgetColumn | column where the widget is to go  | 
  
   
Definition at line 155 of file milxQtManager.cpp.
 
 
◆ addTreeItem
  
  
      
        
          | void milxQtManager::addTreeItem  | 
          ( | 
          int  | 
          tabIndex,  | 
         
        
           | 
           | 
          QStringList  | 
          topLevelName,  | 
         
        
           | 
           | 
          QList< QStringList >  | 
          entryList,  | 
         
        
           | 
           | 
          Qt::ItemFlags  | 
          flags = Qt::ItemIsEnabled | Qt::ItemIsSelectable  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add all the entries in list to the view like a tree. 
- Parameters
 - 
  
    | index | tab index of the entry to be inserted  | 
    | entries | The entries for the current item or row to be add.  | 
    | flags | item properties, is it Qt::ItemIsEditable etc.  | 
  
   
Definition at line 167 of file milxQtManager.cpp.
 
 
◆ clearTab
  
  
      
        
          | void milxQtManager::clearTab  | 
          ( | 
          int  | 
          tabIndex | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Clear the tab given by index. 
- Parameters
 - 
  
    | tabIndex | index for the tab to be cleared  | 
  
   
Definition at line 74 of file milxQtManager.cpp.
 
 
◆ contextMenuEvent()
  
  
      
        
          | void milxQtManager::contextMenuEvent  | 
          ( | 
          QContextMenuEvent *  | 
          event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
The context menu setup member. 
< Only exists for the duration of the context selection 
Definition at line 210 of file milxQtManager.cpp.
 
 
◆ exportTab
  
  
      
        
          | void milxQtManager::exportTab  | 
          ( | 
          QString  | 
          filename = "" | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Clear the tab given by index. 
- Parameters
 - 
  
    | tabIndex | index for the tab to be cleared  | 
  
   
<
- Todo:
 - Check and validate extensions support at Open in Main class 
 
Definition at line 84 of file milxQtManager.cpp.
 
 
◆ newTab
  
  
      
        
          | int milxQtManager::newTab  | 
          ( | 
          QString  | 
          tabTitle,  | 
         
        
           | 
           | 
          QStringList  | 
          headings  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Creates a new tab in the manager with the title and headings provided. 
- Parameters
 - 
  
    | tabTitle | Title of the tab  | 
    | headings | Headings of the fields within the view  | 
  
   
- Returns
 - The index of the created tab 
 
Definition at line 36 of file milxQtManager.cpp.
 
 
The documentation for this class was generated from the following files: