Crossfire Server, Trunk
CREArtifactPanel Class Reference

#include <ArtifactPanel.h>

+ Inheritance diagram for CREArtifactPanel:
+ Collaboration diagram for CREArtifactPanel:

Public Member Functions

 CREArtifactPanel (QWidget *parent)
 
virtual void setItem (const artifact *artifact) override
 
- Public Member Functions inherited from CRETPanel< const artifact >
 CRETPanel (QWidget *parent)
 
- Public Member Functions inherited from CREPanel
virtual void commitData ()
 
 CREPanel (QWidget *parent)
 
virtual ~CREPanel ()
 

Protected Slots

void artifactChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 

Protected Member Functions

void computeMadeViaAlchemy (const artifact *artifact) const
 

Protected Attributes

AnimationControlmyAnimation
 
QTreeWidget * myArchetypes
 
const artifactmyArtifact
 
QLineEdit * myChance
 
AnimationWidgetmyFace
 
QTextEdit * myInstance
 
QLineEdit * myName
 
QLineEdit * myType
 
QTextEdit * myValues
 
QLabel * myViaAlchemy
 

Detailed Description

Definition at line 14 of file ArtifactPanel.h.

Constructor & Destructor Documentation

◆ CREArtifactPanel()

CREArtifactPanel::CREArtifactPanel ( QWidget *  parent)

Definition at line 9 of file ArtifactPanel.cpp.

References artifactChanged(), myAnimation, myArchetypes, myArtifact, myChance, myFace, myInstance, myName, myType, myValues, and myViaAlchemy.

+ Here is the call graph for this function:

Member Function Documentation

◆ artifactChanged

◆ computeMadeViaAlchemy()

void CREArtifactPanel::computeMadeViaAlchemy ( const artifact artifact) const
protected

◆ setItem()

Field Documentation

◆ myAnimation

AnimationControl* CREArtifactPanel::myAnimation
protected

Definition at line 31 of file ArtifactPanel.h.

Referenced by artifactChanged(), and CREArtifactPanel().

◆ myArchetypes

QTreeWidget* CREArtifactPanel::myArchetypes
protected

Definition at line 28 of file ArtifactPanel.h.

Referenced by CREArtifactPanel(), and setItem().

◆ myArtifact

const artifact* CREArtifactPanel::myArtifact
protected

Definition at line 23 of file ArtifactPanel.h.

Referenced by artifactChanged(), CREArtifactPanel(), and setItem().

◆ myChance

QLineEdit* CREArtifactPanel::myChance
protected

Definition at line 25 of file ArtifactPanel.h.

Referenced by CREArtifactPanel(), and setItem().

◆ myFace

AnimationWidget* CREArtifactPanel::myFace
protected

Definition at line 32 of file ArtifactPanel.h.

Referenced by artifactChanged(), and CREArtifactPanel().

◆ myInstance

QTextEdit* CREArtifactPanel::myInstance
protected

Definition at line 30 of file ArtifactPanel.h.

Referenced by artifactChanged(), CREArtifactPanel(), and setItem().

◆ myName

QLineEdit* CREArtifactPanel::myName
protected

Definition at line 24 of file ArtifactPanel.h.

Referenced by CREArtifactPanel(), and setItem().

◆ myType

QLineEdit* CREArtifactPanel::myType
protected

Definition at line 26 of file ArtifactPanel.h.

Referenced by CREArtifactPanel(), and setItem().

◆ myValues

QTextEdit* CREArtifactPanel::myValues
protected

Definition at line 29 of file ArtifactPanel.h.

Referenced by CREArtifactPanel(), and setItem().

◆ myViaAlchemy

QLabel* CREArtifactPanel::myViaAlchemy
protected

Definition at line 27 of file ArtifactPanel.h.

Referenced by computeMadeViaAlchemy(), and CREArtifactPanel().


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