BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
BALL::VIEW::GenerateCrystalDialog Class Reference

#include <BALL/VIEW/DIALOGS/generateCrystalDialog.h>

Inheritance diagram for BALL::VIEW::GenerateCrystalDialog:
QDialog BALL::VIEW::ModularWidget BALL::Embeddable BALL::VIEW::ConnectionObject

Public Slots

void slotOk ()
 
void slotCancel ()
 

Public Member Functions

 GenerateCrystalDialog (QWidget *parent=0, const char *name="GenerateCrystalDialog", bool modal=FALSE, Qt::WFlags fl=0)
 
 ~GenerateCrystalDialog ()
 
bool initSpaceGroupList () throw (Exception::FileNotFound)
 
bool generate ()
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
virtual void clear ()
 
virtual void checkMenu (MainControl &main_control)
 
QAction * insertMenuEntry (Position parent_id, const QString &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence(), const QString &menu_hint=QString(""), UIOperationMode::OperationMode minimal_mode=UIOperationMode::MODE_ALL)
 
void setMenuHelp (QAction *action, const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (QAction *action, const String &filename, bool add_to_main_toolbar=true)
 
virtual void initializePreferencesTab (Preferences &preferences)
 
virtual void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual void initializeWidget (MainControl &main_control)
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 
virtual void onNotify (Message *message)
 
virtual bool isValid () const
 

Protected Member Functions

void generate_ ()
 
- Protected Member Functions inherited from BALL::VIEW::ConnectionObject
void onNotify_ (Message *message)
 
void notify_ (Message *message)
 
void notify_ (Message &message)
 

Protected Attributes

HashMap< String, QImage > image_cache_
 
HashSet< Stringunsupported_images_
 
CrystalGeneratorgenerator_
 
ParameterSection sg_list_
 
ParameterSection sg_entry_
 
Systemsystem_
 
String filename_
 
GenerateCrystalThreadthread_
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QList< QAction * > main_toolbar_actions_
 

Friends

class GenerateCrystalThread
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget) throw (Exception::NullPointer)
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Dialog for generating crystallographic objects like the ASU, the unit cell or an arbitrarily spaced crystal packing

Definition at line 45 of file generateCrystalDialog.h.

Constructor & Destructor Documentation

BALL::VIEW::GenerateCrystalDialog::GenerateCrystalDialog ( QWidget parent = 0,
const char *  name = "GenerateCrystalDialog",
bool  modal = FALSE,
Qt::WFlags  fl = 0 
)
BALL::VIEW::GenerateCrystalDialog::~GenerateCrystalDialog ( )

Member Function Documentation

bool BALL::VIEW::GenerateCrystalDialog::generate ( )
void BALL::VIEW::GenerateCrystalDialog::generate_ ( )
protected
bool BALL::VIEW::GenerateCrystalDialog::initSpaceGroupList ( )
throw (Exception::FileNotFound
)
void BALL::VIEW::GenerateCrystalDialog::slotCancel ( )
slot
void BALL::VIEW::GenerateCrystalDialog::slotOk ( )
slot

Friends And Related Function Documentation

friend class GenerateCrystalThread
friend

Definition at line 50 of file generateCrystalDialog.h.

Member Data Documentation

String BALL::VIEW::GenerateCrystalDialog::filename_
protected

Definition at line 100 of file generateCrystalDialog.h.

CrystalGenerator* BALL::VIEW::GenerateCrystalDialog::generator_
protected

Definition at line 95 of file generateCrystalDialog.h.

HashMap<String, QImage> BALL::VIEW::GenerateCrystalDialog::image_cache_
protected

Definition at line 89 of file generateCrystalDialog.h.

ParameterSection BALL::VIEW::GenerateCrystalDialog::sg_entry_
protected

Definition at line 97 of file generateCrystalDialog.h.

ParameterSection BALL::VIEW::GenerateCrystalDialog::sg_list_
protected

Definition at line 96 of file generateCrystalDialog.h.

System* BALL::VIEW::GenerateCrystalDialog::system_
protected

Definition at line 98 of file generateCrystalDialog.h.

GenerateCrystalThread* BALL::VIEW::GenerateCrystalDialog::thread_
protected

Definition at line 102 of file generateCrystalDialog.h.

HashSet<String> BALL::VIEW::GenerateCrystalDialog::unsupported_images_
protected

Definition at line 92 of file generateCrystalDialog.h.