Loading...
Searching...
No Matches
geometricFitDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_GEOMETRICFITDIALOG_H
#define BALL_VIEW_DIALOGS_GEOMETRICFITDIALOG_H
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
# include <BALL/VIEW/KERNEL/preferencesEntry.h>
#endif
#ifndef BALL_DATATYPE_OPTIONS_H
#include <BALL/DATATYPE/options.h>
#endif
#include <BALL/VIEW/UIC/ui_geometricFitDialog.h>
namespace BALL
{
namespace VIEW
{
class BALL_VIEW_EXPORT GeometricFitDialog :
public QDialog,
public Ui_GeometricFitDialogData,
public PreferencesEntry
{
Q_OBJECT
public:
GeometricFitDialog(QWidget* parent = 0, const char* name = "GeometricFitDialog");
virtual ~GeometricFitDialog();
const GeometricFitDialog& operator =(const GeometricFitDialog& geo_fit_dialog);
void getOptions(Options& options);
void isRedock(bool is_redock);
void fetchPreferences(INIFile& file);
void writePreferences(INIFile& file);
public Q_SLOTS:
void show();
void reset();
virtual void reject();
//
virtual void accept();
protected:
void fetchPreferences_(INIFile& file, const String& entry, const QString& default_value);
void swapValues_();
private:
GeometricFitDialog(const GeometricFitDialog& geo_fit_dialog);
bool has_changed_;
bool is_redock_;
vector<QString> backup_;
};
} } // Namespaces
#endif
global.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::INIFile
Definition INIFile.h:29
BALL::Options
Definition options.h:48
BALL::String
Definition string.h:57
BALL::VIEW::GeometricFitDialog::GeometricFitDialog
GeometricFitDialog(QWidget *parent=0, const char *name="GeometricFitDialog")
BALL::VIEW::GeometricFitDialog::writePreferences
void writePreferences(INIFile &file)
BALL::VIEW::GeometricFitDialog::reject
virtual void reject()
BALL::VIEW::GeometricFitDialog::accept
virtual void accept()
BALL::VIEW::GeometricFitDialog::swapValues_
void swapValues_()
BALL::VIEW::GeometricFitDialog::isRedock
void isRedock(bool is_redock)
BALL::VIEW::GeometricFitDialog::getOptions
void getOptions(Options &options)
BALL::VIEW::GeometricFitDialog::~GeometricFitDialog
virtual ~GeometricFitDialog()
BALL::VIEW::GeometricFitDialog::fetchPreferences
void fetchPreferences(INIFile &file)
BALL::VIEW::GeometricFitDialog::show
void show()
BALL::VIEW::GeometricFitDialog::fetchPreferences_
void fetchPreferences_(INIFile &file, const String &entry, const QString &default_value)
BALL::VIEW::GeometricFitDialog::reset
void reset()
BALL::VIEW::PreferencesEntry::PreferencesEntry
PreferencesEntry()
QDialog
QWidget
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
options.h
preferencesEntry.h