Tome
A generic data editor for games supporting arbitrary input and output formats.
Public Member Functions | Protected Member Functions | List of all members
CustomTypesWindow Class Reference

Window for adding and removing custom types. More...

#include <customtypeswindow.h>

Inheritance diagram for CustomTypesWindow:

Public Member Functions

 CustomTypesWindow (Tome::TypesController &typesController, Tome::FacetsController &facetsController, Tome::FieldDefinitionsController &fieldDefinitionsController, Tome::FindUsagesController &findUsagesController, Tome::RecordsController &recordsController, Tome::UndoController &undoController, QWidget *parent=0)
 Constructs a new window for adding and removing custom types. More...
 

Protected Member Functions

void showEvent (QShowEvent *event)
 Updates the view, if necessary, and shows the window. More...
 

Detailed Description

Window for adding and removing custom types.

Constructor & Destructor Documentation

◆ CustomTypesWindow()

CustomTypesWindow::CustomTypesWindow ( Tome::TypesController typesController,
Tome::FacetsController facetsController,
Tome::FieldDefinitionsController fieldDefinitionsController,
Tome::FindUsagesController findUsagesController,
Tome::RecordsController recordsController,
Tome::UndoController undoController,
QWidget *  parent = 0 
)
explicit

Constructs a new window for adding and removing custom types.

Parameters
typesControllerController for adding, updating and removing custom types
facetsControllerController for validating type facets.
fieldDefinitionsControllerController for adding, updating and removing field definitions.
findUsagesControllerController for finding usages of fields, records and custom types.
recordsControllerController for adding, updating and removing records.
undoControllerController for performing undo-able commands.
parentOptional owner widget.

Member Function Documentation

◆ showEvent()

void CustomTypesWindow::showEvent ( QShowEvent *  event)
protected

Updates the view, if necessary, and shows the window.

Parameters
eventEvent for showing the window.

The documentation for this class was generated from the following files: