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

Window for adding and removing field definitions. More...

#include <fielddefinitionswindow.h>

Inheritance diagram for FieldDefinitionsWindow:

Signals

void fieldChanged (const QString fieldId)
 A field definition has changed. More...
 

Public Member Functions

 FieldDefinitionsWindow (Tome::FieldDefinitionsController &fieldDefinitionsController, Tome::ComponentsController &componentsController, Tome::FacetsController &facetsController, Tome::FindUsagesController &findUsagesController, Tome::ProjectController &projectController, Tome::RecordsController &recordsController, Tome::TypesController &typesController, Tome::UndoController &undoController, QWidget *parent=0)
 Constructs a new window for adding and removing field definitions. 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 field definitions.

Constructor & Destructor Documentation

◆ FieldDefinitionsWindow()

FieldDefinitionsWindow::FieldDefinitionsWindow ( Tome::FieldDefinitionsController fieldDefinitionsController,
Tome::ComponentsController componentsController,
Tome::FacetsController facetsController,
Tome::FindUsagesController findUsagesController,
Tome::ProjectController projectController,
Tome::RecordsController recordsController,
Tome::TypesController typesController,
Tome::UndoController undoController,
QWidget *  parent = 0 
)
explicit

Constructs a new window for adding and removing field definitions.

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

Member Function Documentation

◆ fieldChanged

void FieldDefinitionsWindow::fieldChanged ( const QString  fieldId)
signal

A field definition has changed.

Parameters
fieldIdId of the field that has changed.

◆ showEvent()

void FieldDefinitionsWindow::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: