some minor bug fixes
This commit is contained in:
parent
201692410a
commit
98f05c3d3f
@ -159,6 +159,7 @@ bool PAdminXMLParser::characters(const QString& str)
|
||||
else
|
||||
flag = false;
|
||||
fAdmin->setLifetimeCorrectionFlag(flag);
|
||||
break;
|
||||
case eMsrDefaultFilePath:
|
||||
fAdmin->setMsrDefaultFilePath(QString(str.ascii()).stripWhiteSpace());
|
||||
break;
|
||||
@ -224,6 +225,7 @@ PAdmin::PAdmin()
|
||||
{
|
||||
fExecPath = QString("");
|
||||
fDefaultSavePath = QString("");
|
||||
fMsrDefaultFilePath = QString("");
|
||||
fTheoFuncPixmapPath = QString("");
|
||||
|
||||
fBeamline = QString("");
|
||||
|
@ -111,6 +111,7 @@ class PAdmin
|
||||
|
||||
QString fExecPath;
|
||||
QString fDefaultSavePath;
|
||||
QString fMsrDefaultFilePath;
|
||||
QString fTheoFuncPixmapPath;
|
||||
|
||||
QString fBeamline;
|
||||
@ -118,8 +119,6 @@ class PAdmin
|
||||
QString fFileFormat;
|
||||
bool fLifetimeCorrection;
|
||||
|
||||
QString fMsrDefaultFilePath;
|
||||
|
||||
QString fHelpMain;
|
||||
|
||||
QValueVector<PTheory> fTheory;
|
||||
|
@ -42,8 +42,8 @@
|
||||
*/
|
||||
PGetAsymmetryRunBlockDialog::PGetAsymmetryRunBlockDialog(const QString help, QWidget *parent, const char *name,
|
||||
bool modal, WFlags f) :
|
||||
fHelp(help),
|
||||
PGetAsymmetryRunBlockDialogBase(parent, name, modal, f)
|
||||
PGetAsymmetryRunBlockDialogBase(parent, name, modal, f),
|
||||
fHelp(help)
|
||||
{
|
||||
fForward_lineEdit->setValidator( new QIntValidator(fForward_lineEdit) );
|
||||
fBackward_lineEdit->setValidator( new QIntValidator(fBackward_lineEdit) );
|
||||
|
@ -248,8 +248,8 @@ void PTextEdit::setupMusrActions()
|
||||
menuBar()->insertItem( tr( "&MusrFit" ), menu );
|
||||
|
||||
QAction *a;
|
||||
a = new QAction( QPixmap::fromMimeSource( "musrasym.xpm" ), tr( "&Asymetry Default" ), ALT + Key_A, this, "musrGetAsymetryDefault" );
|
||||
connect( a, SIGNAL( activated() ), this, SLOT( musrGetAsymetryDefault() ) );
|
||||
a = new QAction( QPixmap::fromMimeSource( "musrasym.xpm" ), tr( "&Asymmetry Default" ), ALT + Key_A, this, "musrGetAsymmetryDefault" );
|
||||
connect( a, SIGNAL( activated() ), this, SLOT( musrGetAsymmetryDefault() ) );
|
||||
a->addTo( tb );
|
||||
a->addTo( menu );
|
||||
|
||||
@ -659,7 +659,7 @@ void PTextEdit::textSize( const QString &p )
|
||||
/**
|
||||
* <p>
|
||||
*/
|
||||
void PTextEdit::musrGetAsymetryDefault()
|
||||
void PTextEdit::musrGetAsymmetryDefault()
|
||||
{
|
||||
QString runFileName, beamline, institute, fileFormat;
|
||||
|
||||
|
@ -80,7 +80,7 @@ private slots:
|
||||
void textFamily( const QString &f );
|
||||
void textSize( const QString &p );
|
||||
|
||||
void musrGetAsymetryDefault();
|
||||
void musrGetAsymmetryDefault();
|
||||
void musrGetSingleHistoDefault();
|
||||
void musrCalcChisq();
|
||||
void musrFit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user