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

Window for adding a new item to an enumeration. More...

#include <enumerationmemberwindow.h>

Inheritance diagram for EnumerationMemberWindow:

Public Slots

void accept () Q_DECL_OVERRIDE
 Validates all data and closes this window if successful.
 

Public Member Functions

 EnumerationMemberWindow (QWidget *parent=0)
 Constructs a new window for adding a new item to an enumeration. More...
 
QString getText () const
 Gets the item to add. More...
 

Protected Member Functions

virtual void showEvent (QShowEvent *event) Q_DECL_OVERRIDE
 Sets up this window, e.g. by setting the focus on the first widget. More...
 

Detailed Description

Window for adding a new item to an enumeration.

Constructor & Destructor Documentation

◆ EnumerationMemberWindow()

EnumerationMemberWindow::EnumerationMemberWindow ( QWidget *  parent = 0)
explicit

Constructs a new window for adding a new item to an enumeration.

Parameters
parentOptional owner widget.

Member Function Documentation

◆ getText()

QString EnumerationMemberWindow::getText ( ) const

Gets the item to add.

Returns
Item to add.

◆ showEvent()

void EnumerationMemberWindow::showEvent ( QShowEvent *  event)
protectedvirtual

Sets up this window, e.g. by setting the focus on the first widget.

Parameters
eventEvent for showing this window.

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