diff --git a/src/musredit_qt5/Makefile.am b/src/musredit_qt5/Makefile.am new file mode 100644 index 00000000..2f509505 --- /dev/null +++ b/src/musredit_qt5/Makefile.am @@ -0,0 +1,5 @@ +## Process this file with automake to create Makefile.in + +CLEANFILES = *~ core + + diff --git a/src/musredit_qt5/PAdmin.cpp b/src/musredit_qt5/PAdmin.cpp new file mode 100644 index 00000000..66f32955 --- /dev/null +++ b/src/musredit_qt5/PAdmin.cpp @@ -0,0 +1,967 @@ +/**************************************************************************** + + PAdmin.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +using namespace std; + +#include +#include +#include +#include +#include + +#include "PAdmin.h" + +//-------------------------------------------------------------------------- +// implementation of PAdminXMLParser class +//-------------------------------------------------------------------------- +/** + *

XML Parser class for the musredit administration file. + * + * \param admin pointer to an admin class instance. + */ +PAdminXMLParser::PAdminXMLParser(PAdmin *admin) : fAdmin(admin) +{ + fKeyWord = eEmpty; + fFunc = false; +} + +//-------------------------------------------------------------------------- +/** + *

Routine called at the beginning of the XML parsing process. + */ +bool PAdminXMLParser::startDocument() +{ + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Routine called when a new XML tag is found. Here it is used + * to set a tag for filtering afterwards the content. + * + * \param qName name of the XML tag. + */ +bool PAdminXMLParser::startElement( const QString&, const QString&, + const QString& qName, + const QXmlAttributes& ) +{ + if (qName == "timeout") { + fKeyWord = eTimeout; + } else if (qName == "font_name") { + fKeyWord = eFontName; + } else if (qName == "font_size") { + fKeyWord = eFontSize; + } else if (qName == "exec_path") { + fKeyWord = eExecPath; + } else if (qName == "default_save_path") { + fKeyWord = eDefaultSavePath; + } else if (qName == "title_from_data_file") { + fKeyWord = eTitleFromDataFile; + } else if (qName == "musrview_show_fourier") { + fKeyWord = eMusrviewShowFourier; + } else if (qName == "enable_musrt0") { + fKeyWord = eEnableMusrT0; + } else if (qName == "keep_minuit2_output") { + fKeyWord = eKeepMinuit2Output; + } else if (qName == "dump_ascii") { + fKeyWord = eDumpAscii; + } else if (qName == "dump_root") { + fKeyWord = eDumpRoot; + } else if (qName == "estimate_n0") { + fKeyWord = eEstimateN0; + } else if (qName == "chisq_per_run_block") { + fKeyWord = eChisqPreRunBlock; + } else if (qName == "path_file_name") { + fKeyWord = eRecentFile; + } else if (qName == "beamline") { + fKeyWord = eBeamline; + } else if (qName == "institute") { + fKeyWord = eInstitute; + } else if (qName == "file_format") { + fKeyWord = eFileFormat; + } else if (qName == "lifetime_correction") { + fKeyWord = eLifetimeCorrection; + } else if (qName == "msr_default_file_path") { + fKeyWord = eMsrDefaultFilePath; + } else if (qName == "musr_web_main") { + fKeyWord = eHelpMain; + } else if (qName == "musr_web_title") { + fKeyWord = eHelpTitle; + } else if (qName == "musr_web_parameters") { + fKeyWord = eHelpParameters; + } else if (qName == "musr_web_theory") { + fKeyWord = eHelpTheory; + } else if (qName == "musr_web_functions") { + fKeyWord = eHelpFunctions; + } else if (qName == "musr_web_run") { + fKeyWord = eHelpRun; + } else if (qName == "musr_web_command") { + fKeyWord = eHelpCommand; + } else if (qName == "musr_web_fourier") { + fKeyWord = eHelpFourier; + } else if (qName == "musr_web_plot") { + fKeyWord = eHelpPlot; + } else if (qName == "musr_web_statistic") { + fKeyWord = eHelpStatistic; + } else if (qName == "musr_web_msr2data") { + fKeyWord = eHelpMsr2Data; + } else if (qName == "musr_web_musrFT") { + fKeyWord = eHelpMusrFT; + } else if (qName == "chain_fit") { + fKeyWord = eChainFit; + } else if (qName == "write_data_header") { + fKeyWord = eWriteDataHeader; + } else if (qName == "ignore_data_header_info") { + fKeyWord = eIgnoreDataHeaderInfo; + } else if (qName == "keep_minuit2_output") { + fKeyWord = eKeepMinuit2Output; + } else if (qName == "write_column_data") { + fKeyWord = eWriteColumnData; + } else if (qName == "recreate_data_file") { + fKeyWord = eRecreateDataFile; + } else if (qName == "open_file_after_fitting") { + fKeyWord = eOpenFileAfterFitting; + } else if (qName == "create_msr_file_only") { + fKeyWord = eCreateMsrFileOnly; + } else if (qName == "fit_only") { + fKeyWord = eFitOnly; + } else if (qName == "global") { + fKeyWord = eGlobal; + } else if (qName == "global_plus") { + fKeyWord = eGlobalPlus; + } else if (qName == "func_pixmap_path") { + fKeyWord = eTheoFuncPixmapPath; + } else if (qName == "func") { + fKeyWord = eFunc; + fFunc = true; + // init theory item + fTheoryItem.name = ""; + fTheoryItem.comment = ""; + fTheoryItem.label = ""; + fTheoryItem.pixmapName = ""; + fTheoryItem.pixmap = QPixmap(); + fTheoryItem.params = -1; + } else if (qName == "name") { + fKeyWord = eFuncName; + } else if (qName == "comment") { + fKeyWord = eFuncComment; + } else if (qName == "label") { + fKeyWord = eFuncLabel; + } else if (qName == "pixmap") { + fKeyWord = eFuncPixmap; + } else if (qName == "params") { + fKeyWord = eFuncParams; + } + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Routine called when the end XML tag is found. It is used to + * put the filtering tag to 'empty'. It also resets the fFunc flag in case + * the entry was a theory function. + * + * \param qName name of the element. + */ +bool PAdminXMLParser::endElement( const QString&, const QString&, const QString &qName ) +{ + fKeyWord = eEmpty; + + if (qName == "func") { + fFunc = false; + fAdmin->addTheoryItem(fTheoryItem); + } + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

This routine delivers the content of an XML tag. It fills the + * content into the load data structure. + * + * \param str keeps the content of the XML tag. + */ +bool PAdminXMLParser::characters(const QString& str) +{ + QString help; + bool flag, ok; + int ival; + + switch (fKeyWord) { + case eTimeout: + ival = QString(str.toLatin1()).trimmed().toInt(&ok); + if (ok) + fAdmin->setTimeout(ival); + break; + case eFontName: + fAdmin->setFontName(QString(str.toLatin1()).trimmed()); + break; + case eFontSize: + ival = QString(str.toLatin1()).trimmed().toInt(&ok); + if (ok) + fAdmin->setFontSize(ival); + break; + case eExecPath: + fAdmin->setExecPath(QString(str.toLatin1()).trimmed()); + break; + case eDefaultSavePath: + fAdmin->setDefaultSavePath(QString(str.toLatin1()).trimmed()); + break; + case eTitleFromDataFile: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setTitleFromDataFileFlag(flag); + break; + case eMusrviewShowFourier: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setMusrviewShowFourierFlag(flag); + break; + case eEnableMusrT0: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setEnableMusrT0Flag(flag); + break; + case eKeepMinuit2Output: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.keepMinuit2Output = flag; + fAdmin->setKeepMinuit2OutputFlag(flag); + break; + case eDumpAscii: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setDumpAsciiFlag(flag); + break; + case eDumpRoot: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setDumpRootFlag(flag); + break; + case eEstimateN0: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setEstimateN0Flag(flag); + break; + case eChisqPreRunBlock: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setChisqPerRunBlockFlag(flag); + break; + case eRecentFile: + fAdmin->addRecentFile(QString(str.toLatin1()).trimmed()); + break; + case eBeamline: + fAdmin->setBeamline(QString(str.toLatin1()).trimmed()); + break; + case eInstitute: + fAdmin->setInstitute(QString(str.toLatin1()).trimmed()); + break; + case eFileFormat: + fAdmin->setFileFormat(QString(str.toLatin1()).trimmed()); + break; + case eLifetimeCorrection: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->setLifetimeCorrectionFlag(flag); + break; + case eMsrDefaultFilePath: + fAdmin->setMsrDefaultFilePath(QString(str.toLatin1()).trimmed()); + break; + case eHelpMain: + fAdmin->setHelpUrl("main", str); + break; + case eHelpTitle: + fAdmin->setHelpUrl("title", str); + break; + case eHelpParameters: + fAdmin->setHelpUrl("parameters", str); + break; + case eHelpTheory: + fAdmin->setHelpUrl("theory", str); + break; + case eHelpFunctions: + fAdmin->setHelpUrl("functions", str); + break; + case eHelpRun: + fAdmin->setHelpUrl("run", str); + break; + case eHelpCommand: + fAdmin->setHelpUrl("command", str); + break; + case eHelpFourier: + fAdmin->setHelpUrl("fourier", str); + break; + case eHelpPlot: + fAdmin->setHelpUrl("plot", str); + break; + case eHelpStatistic: + fAdmin->setHelpUrl("statistic", str); + break; + case eHelpMsr2Data: + fAdmin->setHelpUrl("msr2data", str); + break; + case eHelpMusrFT: + fAdmin->setHelpUrl("musrFT", str); + break; + case eChainFit: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.chainFit = flag; + break; + case eWriteDataHeader: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.writeDbHeader = flag; + break; + case eIgnoreDataHeaderInfo: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.ignoreDataHeaderInfo = flag; + break; + case eWriteColumnData: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.writeColumnData = flag; + break; + case eRecreateDataFile: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.recreateDbFile = flag; + break; + case eOpenFileAfterFitting: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.openFilesAfterFitting = flag; + break; + case eCreateMsrFileOnly: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.createMsrFileOnly = flag; + break; + case eFitOnly: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.fitOnly = flag; + break; + case eGlobal: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.global = flag; + break; + case eGlobalPlus: + if (str == "y") + flag = true; + else + flag = false; + fAdmin->fMsr2DataParam.globalPlus = flag; + break; + case eTheoFuncPixmapPath: + fAdmin->setTheoFuncPixmapPath(QString(str.toLatin1()).trimmed()); + break; + default: + break; + } + + if (fFunc) { + bool ok; + switch (fKeyWord) { + case eFuncName: + fTheoryItem.name = QString(str.toLatin1()).trimmed(); + break; + case eFuncComment: + fTheoryItem.comment = QString(str.toLatin1()).trimmed(); + break; + case eFuncLabel: + fTheoryItem.label = QString(str.toLatin1()).trimmed(); + break; + case eFuncPixmap: + fTheoryItem.pixmapName = QString(str.toLatin1()).trimmed(); + break; + case eFuncParams: + fTheoryItem.params = str.toInt(&ok); + if (!ok) + return false; + break; + default: + break; + } + } + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Called at the end of the XML parse process. It checks if default paths + * contain system variables, and if so expand them for the further use. + */ +bool PAdminXMLParser::endDocument() +{ + // check if all necessary items are found + QString str; + + if (fAdmin->getExecPath().indexOf('$') >= 0) { + str = expandPath(fAdmin->getExecPath()); + if (!str.isEmpty()) + fAdmin->setExecPath(str); + } + + if (fAdmin->getDefaultSavePath().indexOf('$') >= 0) { + str = expandPath(fAdmin->getDefaultSavePath()); + if (!str.isEmpty()) + fAdmin->setDefaultSavePath(str); + } + + if (fAdmin->getMsrDefaultFilePath().indexOf('$') >= 0) { + str = expandPath(fAdmin->getMsrDefaultFilePath()); + if (!str.isEmpty()) + fAdmin->setMsrDefaultFilePath(str); + } + + if (fAdmin->getTheoFuncPixmapPath().indexOf('$') >=0) { + str = expandPath(fAdmin->getTheoFuncPixmapPath()); + if (!str.isEmpty()) + fAdmin->setTheoFuncPixmapPath(str); + } + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Report XML warnings. + * + * \param exception holds the information of the XML warning + */ +bool PAdminXMLParser::warning( const QXmlParseException & exception ) +{ + QString msg; + + msg = QString("**WARNING** while parsing musredit_startup.xml in line no %1\n").arg(exception.lineNumber()); + msg += QString("**WARNING MESSAGE** ") + exception.message(); + + qWarning() << endl << msg << endl; + + QMessageBox::warning(0, "WARNING", msg, QMessageBox::Ok, QMessageBox::NoButton); + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Report recoverable XML errors. + * + * \param exception holds the information of the XML recoverable errors. + */ +bool PAdminXMLParser::error( const QXmlParseException & exception ) +{ + QString msg; + + msg = QString("**ERROR** while parsing musredit_startup.xml in line no %1\n").arg(exception.lineNumber()); + msg += QString("**ERROR MESSAGE** ") + exception.message(); + + qWarning() << endl << msg << endl; + + QMessageBox::critical(0, "ERROR", msg, QMessageBox::Ok, QMessageBox::NoButton); + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Report fatal XML errors. + * + * \param exception holds the information of the XML fatal errors. + */ +bool PAdminXMLParser::fatalError( const QXmlParseException & exception ) +{ + QString msg; + + msg = QString("**FATAL ERROR** while parsing musredit_startup.xml in line no %1\n").arg(exception.lineNumber()); + msg += QString("**FATAL ERROR MESSAGE** ") + exception.message(); + + qWarning() << endl << msg << endl; + + QMessageBox::critical(0, "FATAL ERROR", msg, QMessageBox::Ok, QMessageBox::NoButton); + + return true; +} + +//-------------------------------------------------------------------------- +/** + *

Expands system variables to full path, e.g. $HOME -> \home\user + * + * \param str path string with none expanded system variables. + */ +QString PAdminXMLParser::expandPath(const QString &str) +{ + QString token; + QString path; + QString msg; + QString newStr=""; + + QStringList list = str.split("/"); + + for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { + token = *it; + if (token.contains("$")) { + token.remove('$'); + path = std::getenv(token.toLatin1()); + if (path.isEmpty()) { + msg = QString("Couldn't expand '%1'. Some things might not work properly").arg(token); + QMessageBox::warning(0, "**WARNING**", msg, QMessageBox::Ok, QMessageBox::NoButton); + newStr = ""; + break; + } + newStr += path; + } else { + newStr += "/" + token; + } + } + + return newStr; +} + +//-------------------------------------------------------------------------- +// implementation of PAdmin class +//-------------------------------------------------------------------------- +/** + *

Initializes that PAdmin object, and calls the XML parser which feeds + * the object variables. + */ +PAdmin::PAdmin() : QObject() +{ + fTimeout = 3600; + + fFontName = QString("Courier"); // default font + fFontSize = 11; // default font size + + fExecPath = QString(""); + fDefaultSavePath = QString(""); + fMsrDefaultFilePath = QString(""); + fTheoFuncPixmapPath = QString(""); + + fBeamline = QString(""); + fInstitute = QString(""); + fFileFormat = QString(""); + + fMusrviewShowFourier = false; + + fTitleFromDataFile = false; + fEnableMusrT0 = false; + fLifetimeCorrection = true; + fEstimateN0 = true; + fChisqPreRunBlock = false; + + fMsr2DataParam.firstRun = -1; + fMsr2DataParam.lastRun = -1; + fMsr2DataParam.runList = QString(""); + fMsr2DataParam.runListFileName = QString(""); + fMsr2DataParam.msrFileExtension = QString(""); + fMsr2DataParam.templateRunNo = -1; + fMsr2DataParam.dbOutputFileName = QString(""); + fMsr2DataParam.writeDbHeader = true; + fMsr2DataParam.ignoreDataHeaderInfo = false; + fMsr2DataParam.keepMinuit2Output = false; + fMsr2DataParam.writeColumnData = false; + fMsr2DataParam.recreateDbFile = false; + fMsr2DataParam.chainFit = true; + fMsr2DataParam.openFilesAfterFitting = true; + fMsr2DataParam.titleFromDataFile = true; + fMsr2DataParam.createMsrFileOnly = false; + fMsr2DataParam.fitOnly = false; + fMsr2DataParam.global = false; + fMsr2DataParam.globalPlus = false; + + // XML Parser part + QString fln = "musredit_startup.xml"; + // check if it is a MacOSX +#ifdef Q_WS_MAC + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + fln = "/Applications/musredit.app/Contents/Resources/musredit_startup.xml"; + } +#else + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + QString path = std::getenv("MUSRFITPATH"); + QString rootsys = std::getenv("ROOTSYS"); + if (path.isEmpty()) + path = rootsys + "/bin"; + fln = path + "/musredit_startup.xml"; + } +#endif + + loadPrefs(fln); +} + +//-------------------------------------------------------------------------- +/** + *

Destructor + */ +PAdmin::~PAdmin() +{ + saveRecentFiles(); +} + +//-------------------------------------------------------------------------- +/** + *

returns the help url corresponding the the tag. + * + * \param tag to map the help url. At the moment the following tags should be present: + * main, title, parameters, theory, functions, run, command, fourier, plot, statistic + */ +QString PAdmin::getHelpUrl(QString tag) +{ + return fHelpUrl[tag]; +} + +//-------------------------------------------------------------------------- +/** + *

returns a theory item from position idx. If idx is out of the range, a null pointer is returned. + * + * \param idx position of the theory item. + */ +PTheory* PAdmin::getTheoryItem(const unsigned int idx) +{ + if (idx > (unsigned int)fTheory.size()) + return 0; + else + return &fTheory[idx]; +} + +//-------------------------------------------------------------------------- +/** + *

returns the recent path-file name at position idx. If idx is out of scope, + * an empty string is returned. + * + * \param idx index of the recent path-file name to be retrieved. + */ +QString PAdmin::getRecentFile(int idx) +{ + if (idx >= fRecentFile.size()) + return QString(""); + + return fRecentFile[idx]; +} + +//-------------------------------------------------------------------------- +/** + *

set the help url, addressed via a tag. At the moment the following tags should be present: + * main, title, parameters, theory, functions, run, command, fourier, plot, statistic, msr2data + * + * \param tag to address the help url + * \param url help url corresponding to the tag. + */ +void PAdmin::setHelpUrl(const QString tag, const QString url) +{ + fHelpUrl[tag] = url; +} + +//-------------------------------------------------------------------------- +/** + *

Loads the preference file fln. + * + * return: 1 on success, 0 otherwise + * + * \param fln path-file name of the preference file to be loaded. + */ +int PAdmin::loadPrefs(QString fln) +{ + if (QFile::exists(fln)) { // administration file present + PAdminXMLParser handler(this); + QFile xmlFile(fln); + QXmlInputSource source( &xmlFile ); + QXmlSimpleReader reader; + reader.setContentHandler( &handler ); + reader.setErrorHandler( &handler ); + if (!reader.parse( source )) { + QMessageBox::critical(0, "ERROR", + "Error parsing musredit_startup.xml settings file.\nProbably a few things will not work porperly.\nPlease fix this first.", + QMessageBox::Ok, QMessageBox::NoButton); + return 0; + } + } else { + QMessageBox::critical(0, "ERROR", + "Couldn't find the musredit_startup.xml settings file.\nProbably a few things will not work porperly.\nPlease fix this first.", + QMessageBox::Ok, QMessageBox::NoButton); + return 0; + } + return 1; +} + +//-------------------------------------------------------------------------- +/** + *

Save the preference file pref_fln. + * + * return: 1 on success, 0 otherwise + * + * \param pref_fln preference path-file name + */ +int PAdmin::savePrefs(QString pref_fln) +{ + // check if musredit_startup.xml is present in the current directory, and if yes, use this file to + // save the recent file names otherwise use the "master" musredit_startup.xml + + QString str; + QString fln = "musredit_startup.xml"; + // check if it is a MacOSX +#ifdef Q_WS_MAC + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + fln = "/Applications/musredit.app/Contents/Resources/musredit_startup.xml"; + } +#else + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + QString path = std::getenv("MUSRFITPATH"); + QString rootsys = std::getenv("ROOTSYS"); + if (path.isEmpty()) + path = rootsys + "/bin"; + fln = path + "/musredit_startup.xml"; + } +#endif + if (QFile::exists(fln)) { // administration file present + QVector data; + QFile file(fln); + if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { + cerr << endl << ">> PAdmin::savePrefs: **ERROR** Cannot open " << fln.toLatin1().data() << " for reading." << endl; + return 1; + } + QTextStream fin(&file); + while (!fin.atEnd()) { + data.push_back(fin.readLine()); + } + file.close(); + + // replace all the prefs + for (int i=0; i") && data[i].contains("")) { + data[i] = " " + QString("%1").arg(fTimeout) + ""; + } + if (data[i].contains("") && data[i].contains("")) { + if (fKeepMinuit2Output) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fDumpAscii) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fDumpRoot) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fTitleFromDataFile) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fChisqPreRunBlock) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fEstimateN0) + data[i] = " y"; + else + data[i] = " n"; + } + if (data[i].contains("") && data[i].contains("")) { + if (fEnableMusrT0) + data[i] = " y"; + else + data[i] = " n"; + } + } + + // write prefs + file.setFileName(pref_fln); + if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { + cerr << endl << ">> PAdmin::savePrefs: **ERROR** Cannot open " << fln.toLatin1().data() << " for writing." << endl; + return 0; + } + fin.setDevice(&file); + for (int i=0; iAdd recent path-file name to the internal ring-buffer. + * + * \param str recent path-file name to be added + */ +void PAdmin::addRecentFile(const QString str) +{ + // check if file name is not already present + for (int i=0; i MAX_RECENT_FILES) + fRecentFile.resize(MAX_RECENT_FILES); +} + +//-------------------------------------------------------------------------- +/** + *

Merges the recent file ring buffer into musredit_startup.xml and saves it. + * If a local copy is present it will be saved there, otherwise the master file + * will be used. + */ +void PAdmin::saveRecentFiles() +{ + // check if musredit_startup.xml is present in the current directory, and if yes, use this file to + // save the recent file names otherwise use the "master" musredit_startup.xml + + QString str; + QString fln = "musredit_startup.xml"; + // check if it is a MacOSX +#ifdef Q_WS_MAC + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + fln = "/Applications/musredit.app/Contents/Resources/musredit_startup.xml"; + } +#else + fln = "./musredit_startup.xml"; + if (!QFile::exists(fln)) { + QString path = std::getenv("MUSRFITPATH"); + QString rootsys = std::getenv("ROOTSYS"); + if (path.isEmpty()) + path = rootsys + "/bin"; + fln = path + "/musredit_startup.xml"; + } +#endif + if (QFile::exists(fln)) { // administration file present + QVector data; + QFile file(fln); + if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { + cerr << endl << ">> PAdmin::saveRecentFile: **ERROR** Cannot open " << fln.toLatin1().data() << " for reading." << endl; + return; + } + QTextStream fin(&file); + while (!fin.atEnd()) { + data.push_back(fin.readLine()); + } + file.close(); + + // remove from data + for (QVector::iterator it = data.begin(); it != data.end(); ++it) { + if (it->contains("")) { + it = data.erase(it); + --it; + } + } + + // add recent files + int i; + for (i=0; i")) + break; + } + + if (i == data.size()) { + cerr << endl << ">> PAdmin::saveRecentFile: **ERROR** " << fln.toLatin1().data() << " seems to be corrupt." << endl; + return; + } + i++; + for (int j=0; j"; + data.insert(i++, str); + } + + if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { + cerr << endl << ">> PAdmin::saveRecentFile: **ERROR** Cannot open " << fln.toLatin1().data() << " for reading." << endl; + return; + } + fin.setDevice(&file); + for (int i=0; i +#include +#include +#include +#include + +#include + +class PAdmin; + +//--------------------------------------------------------------------------- +/** + *

This structure is keeping informations necessary to handle musrfit + * theory functions (see also https://intranet.psi.ch/MUSR/MusrFit#4_3_The_THEORY_Block). + */ +typedef struct { + QString name; + QString comment; + QString label; + QString pixmapName; + QPixmap pixmap; + int params; +} PTheory; + +//--------------------------------------------------------------------------- +/** + * PAdminXMLParser is an XML parser class used to handle the musredit startup + * XML-file called musredit_startup.xml. This startup file contains + * necessary informations about executable pathes, online help informations, + * default font sizes, etc. + */ +class PAdminXMLParser : public QXmlDefaultHandler +{ + public: + PAdminXMLParser(PAdmin*); + virtual ~PAdminXMLParser() {} + + private: + enum EAdminKeyWords {eEmpty, eTimeout, eKeepMinuit2Output, eDumpAscii, eDumpRoot, + eTitleFromDataFile, eChisqPreRunBlock, eEstimateN0, eMusrviewShowFourier, eEnableMusrT0, + eFontName, eFontSize, eExecPath, eDefaultSavePath, + eRecentFile, eBeamline, eInstitute, eFileFormat, eLifetimeCorrection, eMsrDefaultFilePath, + eTheoFuncPixmapPath, eFunc, eFuncName, eFuncComment, eFuncLabel, + eFuncPixmap, eFuncParams, eHelpMain, eHelpTitle, eHelpParameters, eHelpTheory, eHelpFunctions, + eHelpRun, eHelpCommand, eHelpFourier, eHelpPlot, eHelpStatistic, eHelpMsr2Data, eHelpMusrFT, + eChainFit, eWriteDataHeader, eIgnoreDataHeaderInfo, eWriteColumnData, + eRecreateDataFile, eOpenFileAfterFitting, eCreateMsrFileOnly, eFitOnly, eGlobal, eGlobalPlus}; + + bool startDocument(); + bool startElement( const QString&, const QString&, const QString& , + const QXmlAttributes& ); + bool endElement( const QString&, const QString&, const QString& ); + + bool characters(const QString&); + bool endDocument(); + + bool warning( const QXmlParseException & exception ); + bool error( const QXmlParseException & exception ); + bool fatalError( const QXmlParseException & exception ); + + QString expandPath(const QString&); + + EAdminKeyWords fKeyWord; ///< key word tag to know how to handle the content + bool fFunc; ///< flag needed to indicate that a new theory function is found + PTheory fTheoryItem; ///< holding the informations necessary for a theory item + PAdmin *fAdmin; ///< a pointer to the main administration class object +}; + +//--------------------------------------------------------------------------- +/** + * The PAdmin class is handling the informations contained in the XML startup file, + * musredit_startup.xml. This startup file contains + * necessary informations about executable pathes, online help informations, + * default font sizes, etc. The XML parsing is done with the help of the PAdminXMLParser + * class. + */ +class PAdmin : public QObject +{ + public: + PAdmin(); + virtual ~PAdmin(); + + int getTimeout() { return fTimeout; } + QString getFontName() { return fFontName; } + int getFontSize() { return fFontSize; } + QString getExecPath() { return fExecPath; } + QString getDefaultSavePath() { return fDefaultSavePath; } + bool getTitleFromDataFileFlag() { return fTitleFromDataFile; } + bool getMusrviewShowFourierFlag() { return fMusrviewShowFourier; } + bool getEnableMusrT0Flag() { return fEnableMusrT0; } + bool getKeepMinuit2OutputFlag() { return fKeepMinuit2Output; } + bool getDumpAsciiFlag() { return fDumpAscii; } + bool getDumpRootFlag() { return fDumpRoot; } + bool getEstimateN0Flag() { return fEstimateN0; } + bool getChisqPerRunBlockFlag() { return fChisqPreRunBlock; } + QString getBeamline() { return fBeamline; } + QString getInstitute() { return fInstitute; } + QString getFileFormat() { return fFileFormat; } + bool getLifetimeCorrectionFlag() { return fLifetimeCorrection; } + QString getMsrDefaultFilePath() { return fMsrDefaultFilePath; } + QString getHelpUrl(QString tag); + QString getTheoFuncPixmapPath() { return fTheoFuncPixmapPath; } + unsigned int getTheoryCounts() { return fTheory.size(); } + PTheory* getTheoryItem(const unsigned int idx); + PMsr2DataParam getMsr2DataParam() { return fMsr2DataParam; } + int getNumRecentFiles() { return fRecentFile.size(); } + QString getRecentFile(int idx); + + void setTimeout(const int ival) { fTimeout = ival; } + void setTitleFromDataFileFlag(const bool flag) { fTitleFromDataFile = flag; } + void setMusrviewShowFourierFlag(const bool flag) { fMusrviewShowFourier = flag; } + void setEnableMusrT0Flag(const bool flag) { fEnableMusrT0 = flag; } + void setKeepMinuit2OutputFlag(const bool flag) { fKeepMinuit2Output = flag; } + void setDumpAsciiFlag(const bool flag) { fDumpAscii = flag; } + void setDumpRootFlag(const bool flag) { fDumpRoot = flag; } + void setEstimateN0Flag(const bool flag) { fEstimateN0 = flag; } + void setChisqPerRunBlockFlag(const bool flag) { fChisqPreRunBlock = flag; } + + void setFontName(const QString str) { fFontName = str; } + void setFontSize(const int ival) { fFontSize = ival; } + void addRecentFile(const QString str); + + int loadPrefs(QString fln); + int savePrefs(QString pref_fln); + + protected: + void setExecPath(const QString str) { fExecPath = str; } + void setDefaultSavePath(const QString str) { fDefaultSavePath = str; } + void setBeamline(const QString str) { fBeamline = str; } + void setInstitute(const QString str) { fInstitute = str; } + void setFileFormat(const QString str) { fFileFormat = str; } + void setLifetimeCorrectionFlag(const bool flag) { fLifetimeCorrection = flag; } + void setMsrDefaultFilePath(const QString str) { fMsrDefaultFilePath = str; } + void setHelpUrl(const QString tag, const QString url); + void setTheoFuncPixmapPath (const QString str) { fTheoFuncPixmapPath = str; } + void addTheoryItem(const PTheory theo) { fTheory.push_back(theo); } + + private: + friend class PAdminXMLParser; + + int fTimeout; ///< timeout in seconds + + QString fFontName; ///< default font name + int fFontSize; ///< default font size + + QString fExecPath; ///< system path to the musrfit executables + QString fDefaultSavePath; ///< default path where the msr-file should be saved + QString fMsrDefaultFilePath; ///< path where to find musredit source + QString fTheoFuncPixmapPath; ///< path where the default pixmaps can be found + + QVector fRecentFile; ///< keep vector of recent path-file names + + bool fMusrviewShowFourier; ///< flag indicating if musrview should show at startup data (=false) or Fourier of data (=true). + bool fKeepMinuit2Output; ///< flag indicating if the Minuit2 output shall be kept (default: no) + bool fDumpAscii; ///< flag indicating if musrfit shall make an ascii-dump file (for debugging purposes, default: no). + bool fDumpRoot; ///< flag indicating if musrfit shall make an root-dump file (for debugging purposes, default: no). + bool fTitleFromDataFile; ///< flag indicating if the title should be extracted from the data file (default: yes). + bool fChisqPreRunBlock; ///< flag indicating if musrfit shall write 'per run block' chisq to the msr-file (default: no). + bool fEstimateN0; ///< flag indicating if musrfit shall estimate N0 for single histogram fits (default: yes). + bool fEnableMusrT0; ///< flag indicating if musrT0 shall be enabled at startup from within musredit (default: yes). + + QString fBeamline; ///< name of the beamline. Used to generate default run header lines. + QString fInstitute; ///< name of the institute. Used to generate default run header lines. + QString fFileFormat; ///< default file format. Used to generate default run header lines. + bool fLifetimeCorrection; ///< flag indicating if by default the lifetime-correction-flag in a single histo file shall be set. + + mutable PMsr2DataParam fMsr2DataParam; ///< keeps msr2data default parameter flags + + QMap fHelpUrl; ///< maps tag to help url + + QVector fTheory; ///< stores all known theories. Needed when generating theory blocks from within musredit. + + void saveRecentFiles(); ///< save recent file list +}; + +#endif // _PADMIN_H_ diff --git a/src/musredit_qt5/PDumpOutputHandler.cpp b/src/musredit_qt5/PDumpOutputHandler.cpp new file mode 100644 index 00000000..cec0692c --- /dev/null +++ b/src/musredit_qt5/PDumpOutputHandler.cpp @@ -0,0 +1,153 @@ +/**************************************************************************** + + PDumpOutputHandler.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2012-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include + +#include + +#include "PDumpOutputHandler.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Sets up the dump output handler GUI and starts the actual dump_header command + * + * \param cmd command string vector. From this the actual dump_header command will be generated and executed. + */ +PDumpOutputHandler::PDumpOutputHandler(QVector &cmd) +{ + if (cmd.empty()) + return; + + // Layout + fVbox = new QVBoxLayout( this ); + fOutput = new QTextEdit(); + fVbox->addWidget(fOutput); + fOutput->setMinimumSize(600, 755); + fOutput->setReadOnly(true); + connect( fOutput, SIGNAL( destroyed() ), this, SLOT( quitButtonPressed() ) ); + fQuitButton = new QPushButton( tr("Quit") ); + fVbox->addWidget(fQuitButton); + connect( fQuitButton, SIGNAL( clicked() ), this, SLOT( quitButtonPressed() ) ); + resize( 600, 800 ); + fQuitButton->setFocus(); + + // QProcess related code + fProc = new QProcess( this ); + + // Set up the command and arguments. + QString program = cmd[0]; + QStringList arguments; + for (int i=1; istart(program, arguments); + if ( !fProc->waitForStarted() ) { + // error handling + QString msg(tr("Could not execute the output command: ")+cmd[0]); + QMessageBox::critical( 0, + tr("Fatal error"), + msg, + tr("Quit") ); + done(0); + } + fProcPID = fProc->pid(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Destructor. Checks if the a dump_header is still running and if yes try to kill it. + */ +PDumpOutputHandler::~PDumpOutputHandler() +{ + if (fProc->state() == QProcess::Running) { + fProc->terminate(); + if (!fProc->waitForFinished()) { + qDebug() << "fProc still running, will call kill." << endl; + fProc->kill(); + } + fProc->waitForFinished(); + } + if (fProc->state() == QProcess::Running) { + QString cmd = "kill -9 "+ fProcPID; + QString msg = "fProc still running even after Qt kill, will try system kill cmd: "+cmd; + qDebug() << msg << endl; + system(cmd.toLatin1()); + } + if (fProc) { + delete fProc; + fProc = 0; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Captures the standard output and adds it to the output text edit. + */ +void PDumpOutputHandler::readFromStdOut() +{ + // Read and process the data. + // Bear in mind that the data might be output in chunks. + fOutput->append( fProc->readAllStandardOutput() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Captures the standard error and adds it to the output text edit. + */ +void PDumpOutputHandler::readFromStdErr() +{ + // Read and process the data. + // Bear in mind that the data might be output in chunks. + fOutput->append( fProc->readAllStandardError() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

If the quit button is pressed while the dump_header is still running, try to terminate dump_header, if this + * does not work, try to kill dump_header. + */ +void PDumpOutputHandler::quitButtonPressed() +{ + // if the fitting is still taking place, kill it + if (fProc->state() == QProcess::Running) { + fProc->terminate(); + if (!fProc->waitForFinished()) { + fProc->kill(); + } + } + + accept(); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PDumpOutputHandler.h b/src/musredit_qt5/PDumpOutputHandler.h new file mode 100644 index 00000000..2d639cda --- /dev/null +++ b/src/musredit_qt5/PDumpOutputHandler.h @@ -0,0 +1,72 @@ +/**************************************************************************** + + PDumpOutputHandler.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2012-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PDUMPOUTPUTHANDLER_H_ +#define _PDUMPOUTPUTHANDLER_H_ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +//--------------------------------------------------------------------------------------- +/** + *

This class is the capturing the output of musrfit and displays it in a dialog so + * the user has the chance to follow the fitting process, warnings, error messages of + * musrfit. + */ +class PDumpOutputHandler : public QDialog +{ + Q_OBJECT + + public: + PDumpOutputHandler(QVector &cmd); + virtual ~PDumpOutputHandler(); + + private slots: + virtual void readFromStdOut(); + virtual void readFromStdErr(); + virtual void quitButtonPressed(); + +private: + Q_PID fProcPID; ///< keeps the process PID + QProcess *fProc; ///< pointer to the dump_header process + + QVBoxLayout *fVbox; ///< pointer to the dialog layout manager + QTextEdit *fOutput; ///< the captured dump_header output is written (read only) into this text edit object. + QPushButton *fQuitButton; ///< quit button +}; + +#endif // _PDUMPOUTPUTHANDLER_H_ diff --git a/src/musredit_qt5/PFindDialog.cpp b/src/musredit_qt5/PFindDialog.cpp new file mode 100644 index 00000000..a60428d7 --- /dev/null +++ b/src/musredit_qt5/PFindDialog.cpp @@ -0,0 +1,108 @@ +/**************************************************************************** + + PFindDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include + +#include + +#include "PFindDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Sets up the find dialog. + * + * \param data pointer to the find/replace data structure needed to perform the task. + * \param selection flag indicating if the find shall be restricted to the selected area + * \param parent pointer to the parent object + * \param f qt specific window flags + */ +PFindDialog::PFindDialog(PFindReplaceData *data, const bool selection, QWidget *parent, Qt::WindowFlags f) : + QDialog(parent, f), fData(data) +{ + setupUi(this); + + setModal(true); + + // if only empty text, disable find button + if (fData->findText == "") { + fFind_pushButton->setEnabled(false); + } + + // if there is no selection, disable that option + if (!selection) { + fSelectedText_checkBox->setChecked(false); + fSelectedText_checkBox->setEnabled(false); + } + + fFind_comboBox->setItemText(0, fData->findText); + fCaseSensitive_checkBox->setChecked(fData->caseSensitive); + fWholeWordsOnly_checkBox->setChecked(fData->wholeWordsOnly); + fFromCursor_checkBox->setChecked(fData->fromCursor); + fFindBackwards_checkBox->setChecked(fData->findBackwards); + + if (selection) { + fSelectedText_checkBox->setChecked(fData->selectedText); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts all the necessary informations from the find dialog, feeds it to the find/replace + * structure and returns a point to this structure. + */ +PFindReplaceData* PFindDialog::getData() +{ + fData->findText = fFind_comboBox->currentText(); + fData->caseSensitive = fCaseSensitive_checkBox->isChecked(); + fData->wholeWordsOnly = fWholeWordsOnly_checkBox->isChecked(); + fData->fromCursor = fFromCursor_checkBox->isChecked(); + fData->findBackwards = fFindBackwards_checkBox->isChecked(); + if (fSelectedText_checkBox->isEnabled()) + fData->selectedText = fSelectedText_checkBox->isChecked(); + + return fData; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Enables the find button only if there is any find text entered. + */ +void PFindDialog::onFindTextAvailable(const QString&) +{ + if (fFind_comboBox->currentText() != "") + fFind_pushButton->setEnabled(true); + else + fFind_pushButton->setEnabled(false); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PFindDialog.h b/src/musredit_qt5/PFindDialog.h new file mode 100644 index 00000000..a31837a9 --- /dev/null +++ b/src/musredit_qt5/PFindDialog.h @@ -0,0 +1,57 @@ +/**************************************************************************** + + PFindDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PFINDDIALOG_H_ +#define _PFINDDIALOG_H_ + +#include "musredit.h" +#include "ui_PFindDialog.h" + +//-------------------------------------------------------------------------------------------------- +/** + *

PFindDialog is the class handling the find dialog. + */ +class PFindDialog : public QDialog, private Ui::PFindDialog +{ + Q_OBJECT + + public: + PFindDialog(PFindReplaceData *data, const bool selection, QWidget *parent = 0, Qt::WindowFlags f = 0); + virtual ~PFindDialog() {} + + virtual PFindReplaceData *getData(); + + protected slots: + virtual void onFindTextAvailable(const QString&); + + private: + PFindReplaceData *fData; ///< stores the data necessary to perform find/replace. +}; + +#endif // _PFINDDIALOG_H_ diff --git a/src/musredit_qt5/PFitOutputHandler.cpp b/src/musredit_qt5/PFitOutputHandler.cpp new file mode 100644 index 00000000..a2ede92d --- /dev/null +++ b/src/musredit_qt5/PFitOutputHandler.cpp @@ -0,0 +1,172 @@ +/**************************************************************************** + + PFitOutputHandler.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include + +#include + +#include "PFitOutputHandler.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Sets up the fit output handler GUI and starts the actual fit + * + * \param workingDirectory string holding the working directory wished. In this directory the mlog-file will be saved. + * \param cmd command string vector. From this the actuall fit command will be generated and executed. + */ +PFitOutputHandler::PFitOutputHandler(QString workingDirectory, QVector &cmd) +{ + if (cmd.empty()) + return; + + // Layout + fVbox = new QVBoxLayout( this ); +//Qt.3x fVbox->resize(800, 500); + fOutput = new QTextEdit(); + fVbox->addWidget(fOutput); + fOutput->setMinimumSize(800, 455); + fOutput->setReadOnly(true); + connect( fOutput, SIGNAL( destroyed() ), this, SLOT( quitButtonPressed() ) ); + fQuitButton = new QPushButton( tr("Fitting...") ); + fVbox->addWidget(fQuitButton); + connect( fQuitButton, SIGNAL( clicked() ), this, SLOT( quitButtonPressed() ) ); + resize( 800, 500 ); + fQuitButton->setFocus(); + + // QProcess related code + fProc = new QProcess( this ); + + fProc->setWorkingDirectory(workingDirectory); + + // Set up the command and arguments. + QString program = cmd[0]; + QStringList arguments; + for (int i=1; istart(program, arguments); + if ( !fProc->waitForStarted() ) { + // error handling + QString msg(tr("Could not execute the output command: ")+cmd[0]); + QMessageBox::critical( 0, + tr("Fatal error"), + msg, + tr("Quit") ); + done(0); + } + fProcPID = fProc->pid(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Destructor. Checks if the a fit is still running and if yes try to kill it. + */ +PFitOutputHandler::~PFitOutputHandler() +{ + if (fProc->state() == QProcess::Running) { + fProc->terminate(); + if (!fProc->waitForFinished()) { + qDebug() << "fProc still running, will call kill." << endl; + fProc->kill(); + } + fProc->waitForFinished(); + } + if (fProc->state() == QProcess::Running) { + QString cmd = "kill -9 "+ fProcPID; + QString msg = "fProc still running even after Qt kill, will try system kill cmd: "+cmd; + qDebug() << msg << endl; + system(cmd.toLatin1()); + } + if (fProc) { + delete fProc; + fProc = 0; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Captures the standard output and adds it to the output text edit. + */ +void PFitOutputHandler::readFromStdOut() +{ + // Read and process the data. + // Bear in mind that the data might be output in chunks. + fOutput->append( fProc->readAllStandardOutput() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Captures the standard error and adds it to the output text edit. + */ +void PFitOutputHandler::readFromStdErr() +{ + // Read and process the data. + // Bear in mind that the data might be output in chunks. + fOutput->append( fProc->readAllStandardError() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

If musrfit finishes, crashes, ..., the quit button text will be changed to done. + * + * \param exitCode exit code of musrfit + * \param exitStatus exit status of musrfit + */ +void PFitOutputHandler::processDone(int exitCode, QProcess::ExitStatus exitStatus) +{ + if ((exitStatus == QProcess::CrashExit) && (exitCode != 0)) + qDebug() << "**ERROR** PFitOutputHandler::processDone: exitCode = " << exitCode << endl; + fQuitButton->setText("Done"); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

If the quit button is pressed while the fit is still running, try to terminate musrfit, if this + * does not work, try to kill musrfit. + */ +void PFitOutputHandler::quitButtonPressed() +{ + // if the fitting is still taking place, kill it + if (fProc->state() == QProcess::Running) { + fProc->terminate(); + if (!fProc->waitForFinished()) { + fProc->kill(); + } + } + + accept(); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PFitOutputHandler.h b/src/musredit_qt5/PFitOutputHandler.h new file mode 100644 index 00000000..9aac5c7b --- /dev/null +++ b/src/musredit_qt5/PFitOutputHandler.h @@ -0,0 +1,73 @@ +/**************************************************************************** + + PFitOutputHandler.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PFITOUTPUTHANDLER_H_ +#define _PFITOUTPUTHANDLER_H_ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +//--------------------------------------------------------------------------------------- +/** + *

This class is the capturing the output of musrfit and displays it in a dialog so + * the user has the chance to follow the fitting process, warnings, error messages of + * musrfit. + */ +class PFitOutputHandler : public QDialog +{ + Q_OBJECT + + public: + PFitOutputHandler(QString workingDirectory, QVector &cmd); + virtual ~PFitOutputHandler(); + + private slots: + virtual void readFromStdOut(); + virtual void readFromStdErr(); + virtual void quitButtonPressed(); + virtual void processDone(int exitCode, QProcess::ExitStatus exitStatus); + +private: + Q_PID fProcPID; ///< keeps the process PID + QProcess *fProc; ///< pointer to the musrfit process + + QVBoxLayout *fVbox; ///< pointer to the dialog layout manager + QTextEdit *fOutput; ///< the captured musrfit output is written (read only) into this text edit object. + QPushButton *fQuitButton; ///< quit button, either to interrupt the fit or to close the dialog at the end of the fit. +}; + +#endif // _PFITOUTPUTHANDLER_H_ diff --git a/src/musredit_qt5/PGetAsymmetryRunBlockDialog.cpp b/src/musredit_qt5/PGetAsymmetryRunBlockDialog.cpp new file mode 100644 index 00000000..9dfdede6 --- /dev/null +++ b/src/musredit_qt5/PGetAsymmetryRunBlockDialog.cpp @@ -0,0 +1,298 @@ +/**************************************************************************** + + PGetAsymmetryRunBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include + +#include "PHelp.h" + +#include "PGetAsymmetryRunBlockDialog.h" + + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url for the asymmetry run block + */ +PGetAsymmetryRunBlockDialog::PGetAsymmetryRunBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + fForwardHistoNo_lineEdit->setValidator( new QIntValidator(fForwardHistoNo_lineEdit) ); + fBackwardHistoNo_lineEdit->setValidator( new QIntValidator(fBackwardHistoNo_lineEdit) ); + fDataForwardStart_lineEdit->setValidator( new QIntValidator(fDataForwardStart_lineEdit) ); + fDataForwardEnd_lineEdit->setValidator( new QIntValidator(fDataForwardEnd_lineEdit) ); + fDataBackwardStart_lineEdit->setValidator( new QIntValidator(fDataBackwardStart_lineEdit) ); + fDataBackwardEnd_lineEdit->setValidator( new QIntValidator(fDataBackwardEnd_lineEdit) ); + fBackgroundForwardStart_lineEdit->setValidator( new QIntValidator(fBackgroundForwardStart_lineEdit) ); + fBackgroundForwardEnd_lineEdit->setValidator( new QIntValidator(fBackgroundForwardEnd_lineEdit) ); + fBackgroundBackwardStart_lineEdit->setValidator( new QIntValidator(fBackgroundBackwardStart_lineEdit) ); + fBackgroundBackwardEnd_lineEdit->setValidator( new QIntValidator(fBackgroundBackwardEnd_lineEdit) ); + fBackgroundForwardFix_lineEdit->setValidator( new QDoubleValidator(fBackgroundForwardFix_lineEdit) ); + fBackgroundBackwardFix_lineEdit->setValidator( new QDoubleValidator(fBackgroundBackwardFix_lineEdit) ); + fFitRangeStart_lineEdit->setValidator( new QDoubleValidator(fFitRangeStart_lineEdit) ); + fFitRangeEnd_lineEdit->setValidator( new QDoubleValidator(fFitRangeEnd_lineEdit) ); + fPacking_lineEdit->setValidator( new QIntValidator(fPacking_lineEdit) ); + fAlpha_lineEdit->setValidator( new QIntValidator(fAlpha_lineEdit) ); + fBeta_lineEdit->setValidator( new QIntValidator(fBeta_lineEdit) ); + fT0Forward_lineEdit->setValidator( new QIntValidator(fT0Forward_lineEdit) ); + fT0Backward_lineEdit->setValidator( new QIntValidator(fT0Backward_lineEdit) ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the run information line of the asymmetry run block. + */ +QString PGetAsymmetryRunBlockDialog::getRunHeaderInfo() +{ + QString str; + + str = "RUN " + fRunFileName_lineEdit->text() + " "; + str += fBeamline_lineEdit->text().toUpper() + " "; + str += fInstitute_comboBox->currentText() + " "; + str += fFileFormat_comboBox->currentText() + " (name beamline institute data-file-format)\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the alpha parameter for the asymmetry run block. + * + * \param present flag indicating if the alpha parameter is used, or a default alpha==1 is going to be used. + */ +QString PGetAsymmetryRunBlockDialog::getAlphaParameter(bool &present) +{ + QString str = "alpha " + fAlpha_lineEdit->text() + "\n"; + + if (str.isEmpty()) + present = false; + else + present = true; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the beta parameter for the asymmetry run block + * + * \param present flag indicating if the beta parameter is used, or a default beta==1 is going to be used. + */ +QString PGetAsymmetryRunBlockDialog::getBetaParameter(bool &present) +{ + QString str = "beta " + fBeta_lineEdit->text() + "\n"; + + if (str.isEmpty()) + present = false; + else + present = true; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the map for the asymmetry run block. + * + * \param valid flag indicating if the map is potentially valid. + */ +QString PGetAsymmetryRunBlockDialog::getMap(bool &valid) +{ + QString str = fMap_lineEdit->text().trimmed().remove(" "); + + // check if potentially proper map line + for (int i=0; itext() + "\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the background information for the asymmetry run block. + * + * \param valid flag indicating if a valid background (either backgr.fix or background is given, but not both) + * is present. + */ +QString PGetAsymmetryRunBlockDialog::getBackground(bool &valid) +{ + QString str = ""; + + valid = true; + + // check that either backgr.fix or background is given, but not both + if (fBackgroundForwardStart_lineEdit->text().isEmpty() && fBackgroundForwardEnd_lineEdit->text().isEmpty() && + fBackgroundBackwardStart_lineEdit->text().isEmpty() && fBackgroundBackwardEnd_lineEdit->text().isEmpty() && + fBackgroundForwardFix_lineEdit->text().isEmpty() && fBackgroundBackwardFix_lineEdit->text().isEmpty()) { + valid = false; + str = "background 0 10 0 10\n"; + } else { + if (!fBackgroundForwardStart_lineEdit->text().isEmpty()) { // assume the rest is given, not fool prove but ... + str = "background "; + str += fBackgroundForwardStart_lineEdit->text() + " "; + str += fBackgroundForwardEnd_lineEdit->text() + " "; + str += fBackgroundBackwardStart_lineEdit->text() + " "; + str += fBackgroundBackwardEnd_lineEdit->text() + "\n"; + } + if (!fBackgroundForwardFix_lineEdit->text().isEmpty()) { // assume the rest is given, not fool prove but ... + str = "backgr.fix "; + str += fBackgroundForwardFix_lineEdit->text() + " "; + str += fBackgroundBackwardFix_lineEdit->text() + "\n"; + } + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a data range (in bins) entry for the asymmetry run block. + * + * \param valid flag indicating if the data entries are valid. + */ +QString PGetAsymmetryRunBlockDialog::getData(bool &valid) +{ + QString str = ""; + + if (fDataForwardStart_lineEdit->text().isEmpty() || fDataForwardEnd_lineEdit->text().isEmpty() || + fDataBackwardStart_lineEdit->text().isEmpty() || fDataBackwardEnd_lineEdit->text().isEmpty()) { + valid = false; + } else { + str = "data "; + str += fDataForwardStart_lineEdit->text() + " "; + str += fDataForwardEnd_lineEdit->text() + " "; + str += fDataBackwardStart_lineEdit->text() + " "; + str += fDataBackwardEnd_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a t0 parameter for the asymmetry run block. + * + * \param present flag indicating if a t0 parameter is set. + */ +QString PGetAsymmetryRunBlockDialog::getT0(bool &present) +{ + QString str = ""; + + if (!fT0Forward_lineEdit->text().isEmpty() && !fT0Forward_lineEdit->text().isEmpty()) { + str = "t0 "; + str += fT0Forward_lineEdit->text() + " "; + str += fT0Backward_lineEdit->text() + "\n"; + present = true; + } else { + present = false; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a fit range entry for the asymmetry run block. If no fit range has been provided, + * a fit range [0,10] will be set and the valid flag will be set to false. + * + * \param valid flag indicating if a fit range was provided. + */ +QString PGetAsymmetryRunBlockDialog::getFitRange(bool &valid) +{ + QString str = ""; + + if (fFitRangeStart_lineEdit->text().isEmpty() || fFitRangeEnd_lineEdit->text().isEmpty()) { + str += "fit 0.0 10.0\n"; + valid = false; + } else { + str += "fit "; + str += fFitRangeStart_lineEdit->text() + " "; + str += fFitRangeEnd_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the packing/binning of the asymmetry run block. If no packing has been provided, + * a packing of '1' will be set and the present flag will be set to false. + * + * \param present flag indicating if a packing parameter was provided. + */ +QString PGetAsymmetryRunBlockDialog::getPacking(bool &present) +{ + QString str = ""; + + if (fPacking_lineEdit->text().isEmpty()) { + present = false; + str += "packing 1\n"; + } else { + present = true; + str += "packing " + fPacking_lineEdit->text() + "\n\n"; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the asymmetry run block. + */ +void PGetAsymmetryRunBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetAsymmetryRunBlockDialog.h b/src/musredit_qt5/PGetAsymmetryRunBlockDialog.h new file mode 100644 index 00000000..9d3c34de --- /dev/null +++ b/src/musredit_qt5/PGetAsymmetryRunBlockDialog.h @@ -0,0 +1,65 @@ +/**************************************************************************** + + PGetAsymmetryRunBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETASYMMETRYRUNBLOCKDIALOG_H_ +#define _PGETASYMMETRYRUNBLOCKDIALOG_H_ + +#include "ui_PGetAsymmetryRunBlockDialog.h" + +//--------------------------------------------------------------------------- +/** + *

Class handling the content of the menu: Edit/Add Block/Asymmetry Run Block. + */ +class PGetAsymmetryRunBlockDialog : public QDialog, private Ui::PGetAsymmetryRunBlockDialog +{ + Q_OBJECT + + public: + PGetAsymmetryRunBlockDialog(const QString helpUrl); + + QString getRunHeaderInfo(); + QString getAlphaParameter(bool &present); + QString getBetaParameter(bool &present); + QString getMap(bool &valid); + QString getForward() { return QString("forward " + fForwardHistoNo_lineEdit->text() + "\n"); } + QString getBackward() { return QString("backward " + fBackwardHistoNo_lineEdit->text() + "\n"); } + QString getBackground(bool &valid); + QString getData(bool &valid); + QString getT0(bool &present); + QString getFitRange(bool &valid); + QString getPacking(bool &present); + + private slots: + void helpContent(); + + private: + QString fHelpUrl; ///< help url for the asymmetry run block +}; + +#endif // _PGETASYMMETRYRUNBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetDefaultDialog.cpp b/src/musredit_qt5/PGetDefaultDialog.cpp new file mode 100644 index 00000000..48fd8646 --- /dev/null +++ b/src/musredit_qt5/PGetDefaultDialog.cpp @@ -0,0 +1,118 @@ +/**************************************************************************** + + PGetDefaultDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include + +#include "PHelp.h" + +#include "PGetDefaultDialog.h" + +#define INSTITUTE_PSI 0 +#define INSTITUTE_RAL 1 +#define INSTITUTE_TRIUMF 2 +#define INSTITUTE_JPARC 3 + +#define FILE_FORMAT_NEXUS 0 +#define FILE_FORMAT_ROOT_NPP 1 +#define FILE_FORMAT_ROOT_PPC 2 +#define FILE_FORMAT_PSIBIN 3 +#define FILE_FORMAT_MUD 4 +#define FILE_FORMAT_WKM 5 +#define FILE_FORMAT_ASCII 6 +#define FILE_FORMAT_DB 7 + + +//--------------------------------------------------------------------------- +/** + *

Constructor + * + * \param helpUrl help url for the default dialog + */ +PGetDefaultDialog::PGetDefaultDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); +} + + +//--------------------------------------------------------------------------- +/** + *

Finds the name of the institute in the combo box and selects it. + * + * \param str name of the institute + */ +void PGetDefaultDialog::setInstitute(const QString &str) { + + for (int i=0; icount(); i++) { + if (fInstitute_comboBox->itemText(i).toLower() == str.toLower()) { + fInstitute_comboBox->setCurrentIndex(i); + break; + } + } + +} + +//--------------------------------------------------------------------------- +/** + *

Finds the file format in the combo box and selects it. + * + * \param str file format + */ +void PGetDefaultDialog::setFileFormat(const QString &str) +{ + + for (int i=0; icount(); i++) { + if (fFileFormat_comboBox->itemText(i).toLower() == str.toLower()) { + fFileFormat_comboBox->setCurrentIndex(i); + break; + } + } + +} + +//--------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description fitting the default dialog. + */ +void PGetDefaultDialog::helpContent() +{ + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC +} + +//--------------------------------------------------------------------------- +// END +//--------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetDefaultDialog.h b/src/musredit_qt5/PGetDefaultDialog.h new file mode 100644 index 00000000..fb7392d2 --- /dev/null +++ b/src/musredit_qt5/PGetDefaultDialog.h @@ -0,0 +1,69 @@ +/**************************************************************************** + + PGetDefaultDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETDEFAULTDIALOG_H_ +#define _PGETDEFAULTDIALOG_H_ + +#include +#include +#include +#include + +#include "ui_PGetDefaultDialog.h" + +//--------------------------------------------------------------------------- +/** + *

Handels the default dialog which is used to generate a default asymmetry or + * single histogram msr input file. + */ +class PGetDefaultDialog : public QDialog, private Ui::PGetDefaultDialog +{ + Q_OBJECT + + public: + PGetDefaultDialog(const QString helpUrl = ""); + virtual ~PGetDefaultDialog() {} + + virtual const QString getRunFileName() const { return fRunFileName_lineEdit->text(); } + virtual const QString getBeamline() const { return fBeamline_lineEdit->text(); } + virtual const QString getInstitute() const { return fInstitute_comboBox->currentText(); } + virtual const QString getFileFormat() const { return fFileFormat_comboBox->currentText(); } + + virtual void setBeamline(const QString &str) { fBeamline_lineEdit->setText(str); } + virtual void setInstitute(const QString &str); + virtual void setFileFormat(const QString &str); + + protected slots: + virtual void helpContent(); + + private: + QString fHelpUrl; ///< help url for the default dialog +}; + +#endif // _PGETDEFAULTDIALOG_H_ diff --git a/src/musredit_qt5/PGetFourierBlockDialog.cpp b/src/musredit_qt5/PGetFourierBlockDialog.cpp new file mode 100644 index 00000000..4a454562 --- /dev/null +++ b/src/musredit_qt5/PGetFourierBlockDialog.cpp @@ -0,0 +1,146 @@ +/**************************************************************************** + + PGetFourierBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include +#include + +#include "PHelp.h" + +#include "PGetFourierBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor + * + * \param helpUrl help url address for the Fourier block. + */ +PGetFourierBlockDialog::PGetFourierBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + fFourierBlock = ""; + fFourierPower_lineEdit->setValidator( new QIntValidator(fFourierPower_lineEdit) ); + fPhaseCorrectionRangeLow_lineEdit->setValidator( new QDoubleValidator(fPhaseCorrectionRangeLow_lineEdit) ); + fPhaseCorrectionRangeUp_lineEdit->setValidator( new QDoubleValidator(fPhaseCorrectionRangeUp_lineEdit) ); + fRangeLow_lineEdit->setValidator( new QDoubleValidator(fRangeLow_lineEdit) ); + fRangeUp_lineEdit->setValidator( new QDoubleValidator(fRangeUp_lineEdit) ); + + connect( fPhase_lineEdit, SIGNAL( lostFocus() ), this, SLOT( checkPhaseParameter() ) ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Checks if the phase parameter is either a number are has the form parXX, where XX is a number. + */ +void PGetFourierBlockDialog::checkPhaseParameter() +{ + QString str = fPhase_lineEdit->text(); + + if (str.isEmpty()) + return; + + bool ok; + int ival; + + ival = str.toInt(&ok); + if (!ok) { // i.e. the phase entry is not a number. Check for parXX + str.trimmed(); + if (str.startsWith("par")) { // + str.remove("par"); + ival = str.toInt(&ok); + if (!ok) { + fPhase_lineEdit->clear(); + QMessageBox::critical(this, "**ERROR**", + "Allowed phase entries are either a parameter number,\n or an parXX entry, where XX is a parameter number", + QMessageBox::Ok, QMessageBox::NoButton); + fPhase_lineEdit->setFocus(); + } + } else { // neither a parXX nor a number + fPhase_lineEdit->clear(); + QMessageBox::critical(this, "**ERROR**", + "Allowed phase entries are either a parameter number,\n or an parXX entry, where XX is a parameter number", + QMessageBox::Ok, QMessageBox::NoButton); + fPhase_lineEdit->setFocus(); + } + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Transfers the data of the dialog into a valid msr-file Fourier block string. + */ +void PGetFourierBlockDialog::fillFourierBlock() +{ + fFourierBlock = "###############################################################\n"; + fFourierBlock += "FOURIER\n"; + fFourierBlock += "units " + fUnits_comboBox->currentText() + "\n"; + QString str = fFourierPower_lineEdit->text(); + if (!str.isEmpty()) + fFourierBlock += "fourier_power " + str + "\n"; + fFourierBlock += "apodization " + fApodization_comboBox->currentText() + "\n"; + fFourierBlock += "plot " + fPlot_comboBox->currentText() + "\n"; + str = fPhase_lineEdit->text(); + if (!str.isEmpty()) + fFourierBlock += "phase " + str + "\n"; + if (!fPhaseCorrectionRangeLow_lineEdit->text().isEmpty() && !fPhaseCorrectionRangeUp_lineEdit->text().isEmpty()) { + fFourierBlock += "range_for_phase_correction " + fPhaseCorrectionRangeLow_lineEdit->text() + " " + + fPhaseCorrectionRangeUp_lineEdit->text() + "\n"; + } + if (!fRangeLow_lineEdit->text().isEmpty() && !fRangeUp_lineEdit->text().isEmpty()) { + fFourierBlock += "range " + fRangeLow_lineEdit->text() + " " + fRangeUp_lineEdit->text() + "\n"; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the Fourier block. + */ +void PGetFourierBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetFourierBlockDialog.h b/src/musredit_qt5/PGetFourierBlockDialog.h new file mode 100644 index 00000000..fa00c245 --- /dev/null +++ b/src/musredit_qt5/PGetFourierBlockDialog.h @@ -0,0 +1,60 @@ +/**************************************************************************** + + PGetFourierBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETFOURIERBLOCKDIALOG_H_ +#define _PGETFOURIERBLOCKDIALOG_H_ + +#include + +#include "ui_PGetFourierBlockDialog.h" + +//------------------------------------------------------------------------------- +/** + *

Handles the Fourier dialog. + */ +class PGetFourierBlockDialog : public QDialog, private Ui::PGetFourierBlockDialog +{ + Q_OBJECT + + public: + PGetFourierBlockDialog(const QString helpUrl); + + QString getFourierBlock() { return fFourierBlock; } + + private slots: + void checkPhaseParameter(); + void fillFourierBlock(); + void helpContent(); + + private: + QString fFourierBlock; ///< keeps the msr Fourier block + QString fHelpUrl; ///< help url for the Fourier block +}; + +#endif // _PGETFOURIERBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetFunctionsBlockDialog.cpp b/src/musredit_qt5/PGetFunctionsBlockDialog.cpp new file mode 100644 index 00000000..2959e871 --- /dev/null +++ b/src/musredit_qt5/PGetFunctionsBlockDialog.cpp @@ -0,0 +1,122 @@ +/**************************************************************************** + + PGetFunctionsBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include + +#include + +#include "PHelp.h" + +#include "PGetFunctionsBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url for the FUNCTIONS block. + */ +PGetFunctionsBlockDialog::PGetFunctionsBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + fFunctionInput_lineEdit->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Adds a function to the FUNCTIONS block text edit after carrying out some primitve tests about + * the consistency of the function (far from being a syntax/semantic checker!!). + */ +void PGetFunctionsBlockDialog::addFunction() +{ + QString str = fFunctionInput_lineEdit->text(); + + if (str.isEmpty()) + return; + + // validation + + // check that the function string starts with 'fun' + if (!str.trimmed().startsWith("fun")) { + QMessageBox::critical(this, "addFunction", + "a function has to start with 'funX' (X a number).\nNeeds to be fixed.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + // check if function string contains 'funX =' + if (str.indexOf( QRegExp("fun\\d+\\s*=") ) == -1) { + QMessageBox::critical(this, "addFunction", + "a function has to start with 'funX =' (X a positive number).\nNeeds to be fixed.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + // check if function string contains more than one 'funX' + if (str.trimmed().lastIndexOf("fun", -1, Qt::CaseInsensitive) > 0) { + QMessageBox::critical(this, "addFunction", + "a function cannot contain more than one function,\ni.e. fun2 = fun1 + par1 is not OK.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + // add to Functions block + fFunctionBlock_plainTextEdit->appendPlainText(str); + + // clear functions input text + fFunctionInput_lineEdit->clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the FUNCTIONS block. + */ +void PGetFunctionsBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetFunctionsBlockDialog.h b/src/musredit_qt5/PGetFunctionsBlockDialog.h new file mode 100644 index 00000000..6246f9dd --- /dev/null +++ b/src/musredit_qt5/PGetFunctionsBlockDialog.h @@ -0,0 +1,56 @@ +/**************************************************************************** + + PGetFunctionsBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETFUNCTIONSBLOCKDIALOG_H_ +#define _PGETFUNCTIONSBLOCKDIALOG_H_ + +#include "ui_PGetFunctionsBlockDialog.h" + +//----------------------------------------------------------------------------------- +/** + *

Handles the content of the FUNCTIONS block dialog. + */ +class PGetFunctionsBlockDialog : public QDialog, private Ui::PGetFunctionsBlockDialog +{ + Q_OBJECT + + public: + PGetFunctionsBlockDialog(const QString helpUrl = ""); + + QString getFunctionsBlock() { return fFunctionBlock_plainTextEdit->toPlainText(); } + + private slots: + void addFunction(); + void helpContent(); + + private: + QString fHelpUrl; ///< help url address for the FUNCTIONS block. +}; + +#endif // _PGETFUNCTIONSBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetMusrFTOptionsDialog.cpp b/src/musredit_qt5/PGetMusrFTOptionsDialog.cpp new file mode 100644 index 00000000..5be9bc08 --- /dev/null +++ b/src/musredit_qt5/PGetMusrFTOptionsDialog.cpp @@ -0,0 +1,596 @@ +/**************************************************************************** + + PGetMusrFTOptionsDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2015 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include + +#include "PHelp.h" + +#include "PGetMusrFTOptionsDialog.h" + +#define MUSRFT_OPT_UNDEF 0 +#define MUSRFT_OPT_REAL 1 +#define MUSRFT_OPT_IMAG 2 +#define MUSRFT_OPT_REAL_AND_IMAG 3 +#define MUSRFT_OPT_POWER 4 +#define MUSRFT_OPT_PHASE 5 + +#define MUSRFT_APOD_UNDEF 0 +#define MUSRFT_APOD_WEAK 1 +#define MUSRFT_APOD_MEDIUM 2 +#define MUSRFT_APOD_STRONG 3 + +#define MUSRFT_UNIT_UNDEF 0 +#define MUSRFT_UNIT_GAUSS 1 +#define MUSRFT_UNIT_TESLA 2 +#define MUSRFT_UNIT_FREQ 3 +#define MUSRFT_UNIT_CYCLE 4 + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param currentMsrFile path-file name of the currently active msr-file in musredit + * \param prevCmd list of the last (potential) previously call. + * \param helpUrl help url for the asymmetry run block + */ +PGetMusrFTOptionsDialog::PGetMusrFTOptionsDialog(QString currentMsrFile, QStringList &prevCmd, const QString helpUrl) : + fCurrentMsrFileName(currentMsrFile), fHelpUrl(helpUrl) +{ + setupUi(this); + setModal(true); + + fBkgRangeStartBin_lineEdit->setValidator( new QIntValidator(fBkgRangeStartBin_lineEdit) ); + fBkgRangeEndBin_lineEdit->setValidator( new QIntValidator(fBkgRangeEndBin_lineEdit) ); + fPacking_lineEdit->setValidator( new QIntValidator(fPacking_lineEdit) ); + fTimeRangeStart_lineEdit->setValidator( new QDoubleValidator(fTimeRangeStart_lineEdit) ); + fTimeRangeEnd_lineEdit->setValidator( new QDoubleValidator(fTimeRangeEnd_lineEdit) ); + fFourierPower_lineEdit->setValidator( new QIntValidator(fFourierPower_lineEdit) ); + fLifetimeCorrection_lineEdit->setValidator( new QDoubleValidator(fLifetimeCorrection_lineEdit) ); + fFourierRangeStart_lineEdit->setValidator( new QDoubleValidator(fFourierRangeStart_lineEdit) ); + fFourierRangeEnd_lineEdit->setValidator( new QDoubleValidator(fFourierRangeEnd_lineEdit) ); + fPacking_lineEdit->setText("1"); + + // populate dialog with the previous cmd call + bool msrTag = true; + QString str, str1, line; + int idx; + for (int i=0; isetText(line); + msrTag = false; + } + // collect data-file-names + if (prevCmd[i] == "-df") { + i++; + line = ""; + while (!prevCmd[i].startsWith("-") && (isetText(line); + } + // background-range + if (prevCmd[i] == "-br") { + fBkgRangeStartBin_lineEdit->setText(prevCmd[++i]); + fBkgRangeEndBin_lineEdit->setText(prevCmd[++i]); + } + // fourier-option + if (prevCmd[i] == "-fo") { + if (prevCmd[i+1] == "real") + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_REAL); + else if (prevCmd[i+1] == "imag") + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_IMAG); + else if (prevCmd[i+1] == "real+imag") + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_REAL_AND_IMAG); + else if (prevCmd[i+1] == "power") + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_POWER); + else if (prevCmd[i+1] == "phase") + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_PHASE); + else + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_UNDEF); + i++; + } + // apodization + if (prevCmd[i] == "-ap") { + if (prevCmd[i+1] == "weak") + fApodization_comboBox->setCurrentIndex(MUSRFT_APOD_WEAK); + else if (prevCmd[i+1] == "medium") + fApodization_comboBox->setCurrentIndex(MUSRFT_APOD_MEDIUM); + else if (prevCmd[i+1] == "strong") + fApodization_comboBox->setCurrentIndex(MUSRFT_APOD_STRONG); + else + fApodization_comboBox->setCurrentIndex(MUSRFT_APOD_UNDEF); + i++; + } + // fourier-power + if (prevCmd[i] == "-fp") { + fFourierPower_lineEdit->setText(prevCmd[++i]); + } + // units + if (prevCmd[i] == "-u") { + if (prevCmd[i+1] == "Gauss") + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_GAUSS); + else if (prevCmd[i+1] == "Tesla") + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_TESLA); + else if (prevCmd[i+1] == "MHz") + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_FREQ); + else if (prevCmd[i+1] == "Mc/s") + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_CYCLE); + else + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_UNDEF); + i++; + } + // phase + if (prevCmd[i] == "-ph") { + // NOT YET IMPLEMENTED + } + // fourier-range + if (prevCmd[i] == "-fr") { + fFourierRangeStart_lineEdit->setText(prevCmd[++i]); + fFourierRangeEnd_lineEdit->setText(prevCmd[++i]); + } + // time-range + if (prevCmd[i] == "-tr") { + fTimeRangeStart_lineEdit->setText(prevCmd[++i]); + fTimeRangeEnd_lineEdit->setText(prevCmd[++i]); + } + // histo list + if (prevCmd[i] == "--histo") { + i++; + line = ""; + while (!prevCmd[i].startsWith("-") && (isetText(line); + } + // average ALL tag + if (prevCmd[i] == "-a") { + fAveragedView_checkBox->setCheckState(Qt::Checked); + } + // average per data set tag + if (prevCmd[i] == "-ad") { + fAveragePerDataSet_checkBox->setCheckState(Qt::Checked); + } + // t0 list + if (prevCmd[i] == "--t0") { + i++; + line = ""; + while (!prevCmd[i].startsWith("-") && (isetText(line); + } + // packing + if (prevCmd[i] == "-pa") { + fPacking_lineEdit->setText(prevCmd[++i]); + } + // title + if (prevCmd[i] == "--title") { + fFourierTitle_lineEdit->setText(prevCmd[i+1]); + } + // create msr-file tag + if (prevCmd[i] == "--create-msr-file") { + fCreateMsrFileName = prevCmd[++i]; + fCreateMsrFile_checkBox->setCheckState(Qt::Checked); + } + // lifetime correction + if (prevCmd[i] == "-lc") { + fLifetimeCorrection_lineEdit->setText(prevCmd[++i]); + } + } + + // connect all necessary single and slots + connect(fCurrentMsrFile_checkBox, SIGNAL( stateChanged(int) ), this, SLOT( currentMsrFileTagChanged(int) ) ); + connect(fAllMsrFiles_checkBox, SIGNAL( stateChanged(int) ), this, SLOT( allMsrFileTagChanged(int) ) ); + connect(fMsrFileSelector_pushButton, SIGNAL( clicked() ), this, SLOT( selectMsrFileNames() ) ); + connect(fDataFileSelector_pushButton, SIGNAL( clicked() ), this, SLOT( selectDataFileNames() ) ); + connect(fCreateMsrFile_checkBox, SIGNAL( stateChanged(int) ), this, SLOT( createMsrFileChanged(int) ) ); + connect(fMsrFileNameClear_pushButton, SIGNAL (clicked() ), this, SLOT( clearMsrFileNames() ) ); + connect(fDataFileNameClear_pushButton, SIGNAL (clicked() ), this, SLOT( clearDataFileNames() ) ); + connect(fResetAll_pushButton, SIGNAL( clicked() ), this, SLOT( resetAll() ) ); + connect(fAveragedView_checkBox, SIGNAL ( stateChanged(int) ), this, SLOT( averagedAll(int) ) ); + connect(fAveragePerDataSet_checkBox, SIGNAL ( stateChanged(int) ), this, SLOT( averagedPerDataSet(int) ) ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the musrFT command line options. + */ +QStringList PGetMusrFTOptionsDialog::getMusrFTOptions() +{ + QStringList cmd; + QString str(""); + QStringList strList; + + // check if currently active msr-file shall be used + if (fCurrentMsrFile_checkBox->checkState() == Qt::Checked) { + cmd << fCurrentMsrFileName; + } else { + // msr-files + for (int i=0; i 0) { + cmd << "-df"; + for (int i=0; itext().length() > 0) && (fBkgRangeEndBin_lineEdit->text().length() > 0)) { + cmd << "-br"; + cmd << fBkgRangeStartBin_lineEdit->text(); + cmd << fBkgRangeEndBin_lineEdit->text(); + } + + // background values + if (fBkgList_lineEdit->text().length() > 0) { + + } + + // fourier-option + if (fFourierOption_comboBox->currentText() != "UnDef") { + cmd << "-fo"; + cmd << fFourierOption_comboBox->currentText(); + } + + // apodization + cmd << "-ap"; + cmd << fApodization_comboBox->currentText(); + + // fourier-power + if (fFourierPower_lineEdit->text().length() > 0) { + cmd << "-fp"; + cmd << fFourierPower_lineEdit->text(); + } + + // units + if (fFourierUnits_comboBox->currentText() != "UnDef") { + cmd << "-u"; + cmd << fFourierUnits_comboBox->currentText(); + } + + // phase + + // fourier-range + if ((fFourierRangeStart_lineEdit->text().length() > 0) && (fFourierRangeEnd_lineEdit->text().length() > 0)) { + cmd << "-fr"; + cmd << fFourierRangeStart_lineEdit->text(); + cmd << fFourierRangeEnd_lineEdit->text(); + } + + // time-range + if ((fTimeRangeStart_lineEdit->text().length() > 0) && (fTimeRangeEnd_lineEdit->text().length() > 0)) { + cmd << "-tr"; + cmd << fTimeRangeStart_lineEdit->text(); + cmd << fTimeRangeEnd_lineEdit->text(); + } + + // histo list + if (fHistoList_lineEdit->text().length() > 0) { + cmd << "--histo"; + strList = fHistoList_lineEdit->text().split(" ", QString::SkipEmptyParts); + for (int i=0; icheckState() == Qt::Checked) + cmd << "-a"; + + // averaged view per data set + if (fAveragePerDataSet_checkBox->checkState() == Qt::Checked) + cmd << "-ad"; + + // t0 list + if (fT0_lineEdit->text().length() > 0) { + cmd << "--t0"; + strList = fT0_lineEdit->text().split(" ", QString::SkipEmptyParts); + for (int i=0; itext().length() > 0) { + cmd << "-pa"; + cmd << fPacking_lineEdit->text(); + } + + // title + if (fFourierTitle_lineEdit->text().length() > 0) { + cmd << "--title"; + cmd << fFourierTitle_lineEdit->text(); + } + + // create-msr-file + if (fCreateMsrFile_checkBox->checkState() == Qt::Checked) { + cmd << "--create-msr-file"; + cmd << fCreateMsrFileName; + } + + // lifetimecorrection + if (fLifetimeCorrection_lineEdit->text().length() > 0) { + cmd << "-lc"; + cmd << fLifetimeCorrection_lineEdit->text(); + } + + return cmd; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when fCurrentMsrFile_checkBox is checked/unchecked. If checked, it will clean up + * the msr-file path-file list and the data-file path-file list. + */ +void PGetMusrFTOptionsDialog::currentMsrFileTagChanged(int state) +{ + if (state == Qt::Checked) { + fAllMsrFiles_checkBox->setCheckState(Qt::Unchecked); + + // remove all msr-data-file-names and data-path-file-names + fMsrFilePaths.clear(); + fMsrFileNames.clear(); + fMsrFileSelector_lineEdit->setText(""); + fDataFilePaths.clear(); + fDataFileNames.clear(); + fDataFileSelector_lineEdit->setText(""); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when fAllMsrFiles_checkBox is checked/unchecked. Currently it has no functionality. + */ +void PGetMusrFTOptionsDialog::allMsrFileTagChanged(int state) +{ + if (state == Qt::Checked) { + fCurrentMsrFile_checkBox->setCheckState(Qt::Unchecked); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when fMsrFileSelector_pushButton is clicked. Collects the msr-file path-name list. + */ +void PGetMusrFTOptionsDialog::selectMsrFileNames() +{ + QStringList flns = QFileDialog::getOpenFileNames( this, tr("Open msr-File(s)"), tr( "./" ), + tr( "msr-Files (*.msr);;All Files (*)" )); + + QString str(""), str1(""); + int idx; + if (flns.size() > 0) { + // delete already present elements + fMsrFilePaths.clear(); + fMsrFileNames.clear(); + + // split path-name into path and name + for (int i=0; isetText(str); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when the fMsrFileNameClear_pushButton is clicked. + */ +void PGetMusrFTOptionsDialog::clearMsrFileNames() +{ + fMsrFileSelector_lineEdit->setText(""); + fMsrFilePaths.clear(); + fMsrFileNames.clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when fDataFileSelector_pushButton is clicked. Collects the data-file path-name list. + */ +void PGetMusrFTOptionsDialog::selectDataFileNames() +{ + QStringList flns = QFileDialog::getOpenFileNames( this, tr("Open msr-File(s)"), tr( "./" ), + tr( "data-Files (*.root *.bin *.msr *.nxs *.mdu);;All Files (*)" )); + + QString str(""), str1(""); + int idx; + if (flns.size() > 0) { + // delete already present elements + fDataFilePaths.clear(); + fDataFileNames.clear(); + + // split path-name into path and name + for (int i=0; isetText(str); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when the fDataFileNameClear_pushButton is clicked. + */ +void PGetMusrFTOptionsDialog::clearDataFileNames() +{ + fDataFileSelector_lineEdit->setText(""); + fDataFilePaths.clear(); + fDataFileNames.clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when the create-msr-file tag has changed + */ +void PGetMusrFTOptionsDialog::createMsrFileChanged(int state) +{ + if (state == Qt::Checked) { + fCreateMsrFileName = QFileDialog::getSaveFileName(this, tr("Create msr-file"), "./", tr("msr-Files (*.msr);;All Files (*)")); + if (fCreateMsrFileName.length() == 0) + fCreateMsrFile_checkBox->setCheckState(Qt::Unchecked); + } else { + fCreateMsrFileName = ""; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when the Reset All button is pressed. Will remove all settings. + */ +void PGetMusrFTOptionsDialog::resetAll() +{ + fCurrentMsrFile_checkBox->setCheckState(Qt::Unchecked); + fAllMsrFiles_checkBox->setCheckState(Qt::Unchecked); + fMsrFilePaths.clear(); + fMsrFileNames.clear(); + fMsrFileSelector_lineEdit->setText(""); + fDataFilePaths.clear(); + fDataFileNames.clear(); + fDataFileSelector_lineEdit->setText(""); + fBkgRangeStartBin_lineEdit->setText(""); + fBkgRangeEndBin_lineEdit->setText(""); + fBkgList_lineEdit->setText(""); + fApodization_comboBox->setCurrentIndex(MUSRFT_APOD_UNDEF); + fPacking_lineEdit->setText(""); + fTimeRangeStart_lineEdit->setText(""); + fTimeRangeEnd_lineEdit->setText(""); + fHistoList_lineEdit->setText(""); + fT0_lineEdit->setText(""); + fFourierOption_comboBox->setCurrentIndex(MUSRFT_OPT_UNDEF); + fFourierUnits_comboBox->setCurrentIndex(MUSRFT_UNIT_UNDEF); + fFourierPower_lineEdit->setText(""); + fLifetimeCorrection_lineEdit->setText(""); + fFourierRangeStart_lineEdit->setText(""); + fFourierRangeEnd_lineEdit->setText(""); + fAveragedView_checkBox->setCheckState(Qt::Unchecked); + fAveragePerDataSet_checkBox->setCheckState(Qt::Unchecked); + fCreateMsrFile_checkBox->setCheckState(Qt::Unchecked); + fFourierTitle_lineEdit->setText(""); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when averaged view for ALL data is checked. + */ +void PGetMusrFTOptionsDialog::averagedAll(int state) +{ + if ((state == Qt::Checked) && fAveragePerDataSet_checkBox->isChecked()) + fAveragePerDataSet_checkBox->setCheckState(Qt::Unchecked); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT called when averaged view per data set is checked. + */ +void PGetMusrFTOptionsDialog::averagedPerDataSet(int state) +{ + if ((state == Qt::Checked) && fAveragedView_checkBox->isChecked()) + fAveragedView_checkBox->setCheckState(Qt::Unchecked); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description for musrFT. + */ +void PGetMusrFTOptionsDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { +#ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); +#else + PHelp *help = new PHelp(fHelpUrl); + help->show(); +#endif // _WIN32GCC + } +} diff --git a/src/musredit_qt5/PGetMusrFTOptionsDialog.h b/src/musredit_qt5/PGetMusrFTOptionsDialog.h new file mode 100644 index 00000000..bea14f7f --- /dev/null +++ b/src/musredit_qt5/PGetMusrFTOptionsDialog.h @@ -0,0 +1,71 @@ +/**************************************************************************** + + PGetMusrFTOptionsDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2015 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETMUSRFTOPTIONSDIALOG_H_ +#define _PGETMUSRFTOPTIONSDIALOG_H_ + +#include +#include + +#include "ui_PGetMusrFTOptionsDialog.h" + +class PGetMusrFTOptionsDialog : public QDialog, private Ui::PGetMusrFTOptionsDialog +{ + Q_OBJECT + + public: + PGetMusrFTOptionsDialog(QString currentMsrFile, QStringList &prevCmd, const QString helpUrl); + QStringList getMusrFTOptions(); + + public slots: + void helpContent(); + + private slots: + void currentMsrFileTagChanged(int state); + void allMsrFileTagChanged(int state); + void selectMsrFileNames(); + void clearMsrFileNames(); + void selectDataFileNames(); + void clearDataFileNames(); + void createMsrFileChanged(int state); + void resetAll(); + void averagedAll(int state); + void averagedPerDataSet(int state); + + private: + QStringList fMsrFilePaths; ///< list keeping all the paths from the msr-file path-name list + QStringList fMsrFileNames; ///< list keeping all the names from the msr-file path-name list + QStringList fDataFilePaths; ///< list keeping all the paths from the data-file path-name list + QStringList fDataFileNames; ///< list keeping all the names from the data-file path-name list + QString fCreateMsrFileName; ///< keeps the msr-path-file name for msr-file creation + QString fCurrentMsrFileName; ///< keeps the msr-path-file name of the currently active msr-file in musredit. + QString fHelpUrl; ///< help url for the asymmetry run block +}; + +#endif // _PGETMUSRFTOPTIONSDIALOG_H_ diff --git a/src/musredit_qt5/PGetNonMusrRunBlockDialog.cpp b/src/musredit_qt5/PGetNonMusrRunBlockDialog.cpp new file mode 100644 index 00000000..3b22c252 --- /dev/null +++ b/src/musredit_qt5/PGetNonMusrRunBlockDialog.cpp @@ -0,0 +1,170 @@ +/**************************************************************************** + + PGetNonMusrRunBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include + +#include "PHelp.h" +#include "PGetNonMusrRunBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor + * + * \param helpUrl help url for the NonMusr run block. + */ +PGetNonMusrRunBlockDialog::PGetNonMusrRunBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + fFitRangeStart_lineEdit->setValidator( new QDoubleValidator(fFitRangeStart_lineEdit) ); + fFitRangeEnd_lineEdit->setValidator( new QDoubleValidator(fFitRangeEnd_lineEdit) ); + + int idx = -1; + for (int i=0; icount(); i++) { + if (fFileFormat_comboBox->itemText(i) == "DB") { + idx = i; + break; + } + } + if (idx >= 0) { + fFileFormat_comboBox->setCurrentIndex(idx); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts the run header information from the dialog, and returns it as a string. + */ +QString PGetNonMusrRunBlockDialog::getRunHeaderInfo() +{ + QString str; + + str = "RUN " + fRunFileName_lineEdit->text() + " "; + str += fBeamline_lineEdit->text().toUpper() + " "; + str += fInstitute_comboBox->currentText() + " "; + str += fFileFormat_comboBox->currentText() + " (name beamline institute data-file-format)\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts the map from the dialog, and returns it as a string. + * + * \param valid flag indicating of the map is potentially being valid. + */ +QString PGetNonMusrRunBlockDialog::getMap(bool &valid) +{ + QString str = fMap_lineEdit->text().trimmed().remove(" "); + + // check if potentially proper map line + for (int i=0; itext() + "\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts xy-data from the dialog and returns it as a string. + * + * \param valid flag showing that x/y-data are present. + */ +QString PGetNonMusrRunBlockDialog::getXYData(bool &valid) +{ + QString str = ""; + + if (fXData_lineEdit->text().isEmpty() || fYData_lineEdit->text().isEmpty()) { + valid = false; + } else { + str = "xy-data "; + str += fXData_lineEdit->text() + " "; + str += fYData_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts the fit-range from the dialog and returns it as a string. If not fit-range was given, + * a fit-range from 0 to 10 us will be returned and the valid flag will be set to false. + * + * \param valid flag showing if a fit-range is given. + */ +QString PGetNonMusrRunBlockDialog::getFitRange(bool &valid) +{ + QString str = ""; + + if (fFitRangeStart_lineEdit->text().isEmpty() || fFitRangeEnd_lineEdit->text().isEmpty()) { + str += "fit 0.0 10.0\n"; + valid = false; + } else { + str += "fit "; + str += fFitRangeStart_lineEdit->text() + " "; + str += fFitRangeEnd_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the NonMusr run block. + */ +void PGetNonMusrRunBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetNonMusrRunBlockDialog.h b/src/musredit_qt5/PGetNonMusrRunBlockDialog.h new file mode 100644 index 00000000..a009101b --- /dev/null +++ b/src/musredit_qt5/PGetNonMusrRunBlockDialog.h @@ -0,0 +1,58 @@ +/**************************************************************************** + + PGetNonMusrRunBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETNONMUSRRUNBLOCKDIALOG_H_ +#define _PGETNONMUSRRUNBLOCKDIALOG_H_ + +#include "ui_PGetNonMusrRunBlockDialog.h" + +//------------------------------------------------------------------------------------- +/** + *

Handles the content of the NonMusr run block dialog. + */ +class PGetNonMusrRunBlockDialog : public QDialog, private Ui::PGetNonMusrRunBlockDialog +{ + Q_OBJECT + + public: + PGetNonMusrRunBlockDialog(const QString helpUrl = ""); + + QString getRunHeaderInfo(); + QString getMap(bool &valid); + QString getXYData(bool &valid); + QString getFitRange(bool &valid); + + private slots: + void helpContent(); + + private: + QString fHelpUrl; ///< help url address for the NonMusr run block. +}; + +#endif // _PGETNONMUSRRUNBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetParameterBlockDialog.cpp b/src/musredit_qt5/PGetParameterBlockDialog.cpp new file mode 100644 index 00000000..8924c636 --- /dev/null +++ b/src/musredit_qt5/PGetParameterBlockDialog.cpp @@ -0,0 +1,233 @@ +/**************************************************************************** + + PGetParameterBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include +#include +#include + +#include "PHelp.h" +#include "PGetParameterBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url of the PARAMETER block. + */ +PGetParameterBlockDialog::PGetParameterBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + // setup event filter + installEventFilter(this); + + fValue_lineEdit->setValidator( new QDoubleValidator(fValue_lineEdit) ); + fStep_lineEdit->setValidator( new QDoubleValidator(fStep_lineEdit) ); + + fParam_plainTextEdit->setFont(QFont("Courier", 10)); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

This event filter is filtering out the return key, and if present adds the current parameters + * to the parameter list. + * + * \param obj object which was generating the event. + * \param ev event of the object. + */ +bool PGetParameterBlockDialog::eventFilter( QObject *obj, QEvent *ev ) +{ + if (obj == this) { + if (ev->type() == QEvent::KeyPress) { + QKeyEvent *k = (QKeyEvent*)ev; + if (k->key() == Qt::Key_Return) { + paramAdd(); + return true; + } else { + return false; + } + } else { + return false; + } + } else { + return false; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Adds a parameter to the text edit window. + */ +void PGetParameterBlockDialog::paramAdd() +{ + QString param, str, spaces; + + // get No + str = fParamNo_spinBox->text(); + if (str.toInt() < 10) + param = " " + str + " "; + else + param = " " + str + " "; + + // get name + str = fName_lineEdit->text(); + if (str.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "empty parameter name not allowed!", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } else { + param += str; + if (str.length() < 13) + param += spaces.fill(' ', 13-str.length()); + else + param += " "; + } + + // get value + str = fValue_lineEdit->text(); + if (str.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "empty parameter value not allowed!", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } else { + param += str; + if (str.length() < 10) + param += spaces.fill(' ', 10-str.length()); + else + param += " "; + } + + // get step + str = fStep_lineEdit->text(); + if (str.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "empty parameter step not allowed!", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } else { + param += str; + if (str.length() < 10) + param += spaces.fill(' ', 10-str.length()); + else + param += " "; + } + + // add positive error none + param += "none "; + + if ((fLower_lineEdit->text() != "none") || (fUpper_lineEdit->text() != "none")) { + // get lower boundary + str = fLower_lineEdit->text(); + bool ok; + double val = str.toDouble(&ok); + if (!ok && (str != "none")) { + QMessageBox::critical(this, "**ERROR**", + "invalid lower boundary! Must be a double are the key word 'none'", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } else { + param += str; + if (str.length() < 10) + param += spaces.fill(' ', 10-str.length()); + else + param += " "; + } + + // get upper boundary + str = fUpper_lineEdit->text(); + val = str.toDouble(&ok); + if (!ok && (str != "none")) { + QMessageBox::critical(this, "**ERROR**", + "invalid upper boundary! Must be a double are the key word 'none'", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } else { + param += str; + if (str.length() < 10) + param += spaces.fill(' ', 10-str.length()); + else + param += " "; + } + } + +// param += "\n"; + + // write parameter string into fParam_textEdit + fParam_plainTextEdit->appendPlainText(param); + + // increment No counter in spinBox + fParamNo_spinBox->stepUp(); + + // reset name lineEdit + fName_lineEdit->setText(""); + + // reset value lineEdit + fValue_lineEdit->setText(""); + + // reset step lineEdit + fStep_lineEdit->setText(""); + + // reset lower boundary lineEdit + fLower_lineEdit->setText("none"); + + // reset upper boundary lineEdit + fUpper_lineEdit->setText("none"); + + fName_lineEdit->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the FITPARAMETER block. + */ +void PGetParameterBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetParameterBlockDialog.h b/src/musredit_qt5/PGetParameterBlockDialog.h new file mode 100644 index 00000000..3dd8a183 --- /dev/null +++ b/src/musredit_qt5/PGetParameterBlockDialog.h @@ -0,0 +1,59 @@ +/**************************************************************************** + + PGetParameterBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETPARAMETERBLOCKDIALOG_H_ +#define _PGETPARAMETERBLOCKDIALOG_H_ + +#include "ui_PGetParameterBlockDialog.h" + +//----------------------------------------------------------------------------------- +/** + *

Handles the content of the PARAMETER block dialog. + */ +class PGetParameterBlockDialog : public QDialog, private Ui::PGetParameterBlockDialog +{ + Q_OBJECT + + public: + PGetParameterBlockDialog(const QString helpUrl); + + QString getParams() { return fParam_plainTextEdit->toPlainText(); } + + protected: + bool eventFilter( QObject *obj, QEvent *ev ); + + private slots: + void paramAdd(); + void helpContent(); + + private: + QString fHelpUrl; ///< help url of the PARAMETER block description. +}; + +#endif // _PGETPARAMETERBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetPlotBlockDialog.cpp b/src/musredit_qt5/PGetPlotBlockDialog.cpp new file mode 100644 index 00000000..671e646f --- /dev/null +++ b/src/musredit_qt5/PGetPlotBlockDialog.cpp @@ -0,0 +1,200 @@ +/**************************************************************************** + + PGetPlotBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include +#include + +#include "PHelp.h" +#include "PGetPlotBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url for the PLOT block. + */ +PGetPlotBlockDialog::PGetPlotBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + // setup event filter + installEventFilter(this); + + fXRangeLow_lineEdit->setValidator( new QDoubleValidator(fXRangeLow_lineEdit) ); + fXRangeUp_lineEdit->setValidator( new QDoubleValidator(fXRangeUp_lineEdit) ); + fYRangeLow_lineEdit->setValidator( new QDoubleValidator(fYRangeLow_lineEdit) ); + fYRangeUp_lineEdit->setValidator( new QDoubleValidator(fYRangeUp_lineEdit) ); + + fPlot_plainTextEdit->setFont(QFont("Courier", 10)); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Extracts the information of the top part of the dialog, constructs a msr-file PLOT block and + * writes it into the text edit window. + */ +void PGetPlotBlockDialog::addPlot() +{ + QString param = ""; + QString str = ""; + QString spaces; + + // add begining of plot block if fPlot_plainTextEdit is still empty + if (fPlot_plainTextEdit->toPlainText().isEmpty()) { + param = "###############################################################\n"; + } + + // write type + param += "PLOT "; + if (fType_comboBox->currentText() == "Single Histo") { + param += "0 (single histo plot)\n"; + } else if (fType_comboBox->currentText() == "Asymmetry") { + param += "2 (asymmetry plot)\n"; + } else if (fType_comboBox->currentText() == "MuMinus") { + param += "4 (mu minus plot)\n"; + } else if (fType_comboBox->currentText() == "NonMusr") { + param += "8 (non muSR plot)\n"; + } + + // write runs + param += "runs " + fRunList_lineEdit->text() + "\n"; + + // write range + param += "range "; + // lower x-/time range + str = fXRangeLow_lineEdit->text(); + if (str.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "empty lower time-/x-range name not allowed!", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + param += str; + if (str.length() < 8) + param += spaces.fill(' ', 8 - str.length()); + else + param += " "; + + // upper x-/time range + str = fXRangeUp_lineEdit->text(); + if (str.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "empty upper time-/x-range name not allowed!", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + param += str; + if (str.length() < 8) + param += spaces.fill(' ', 8 - str.length()); + else + param += " "; + + // check y-range: either none given or both + if ((fYRangeLow_lineEdit->text().isEmpty() && !fYRangeUp_lineEdit->text().isEmpty()) || + (!fYRangeLow_lineEdit->text().isEmpty() && fYRangeUp_lineEdit->text().isEmpty())) { + QMessageBox::critical(this, "**ERROR**", + "Only fully empty y-range, or give lower AND upper y-range is acceptable!\n Will ignore the y-range", + QMessageBox::Ok, QMessageBox::NoButton); + } else if (!fYRangeLow_lineEdit->text().isEmpty() && !fYRangeUp_lineEdit->text().isEmpty()) { + str = fYRangeLow_lineEdit->text(); + param += str; + if (str.length() < 8) + param += spaces.fill(' ', 8 - str.length()); + else + param += " "; + param += fYRangeUp_lineEdit->text() + "\n"; + } else { + param += "\n"; + } + param += "\n"; + + fPlot_plainTextEdit->appendPlainText(param); + + // clean input + fRunList_lineEdit->clear(); + fXRangeLow_lineEdit->clear(); + fXRangeUp_lineEdit->clear(); + fYRangeLow_lineEdit->clear(); + fYRangeUp_lineEdit->clear(); + fRunList_lineEdit->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the PLOT block. + */ +void PGetPlotBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

This event filter is filtering out the return key, and if present adds the current plot. + * + * \param obj object which is triggering the event + * \param ev the triggered event + */ +bool PGetPlotBlockDialog::eventFilter( QObject *obj, QEvent *ev ) +{ + if (obj == this) { + if (ev->type() == QEvent::KeyPress) { + QKeyEvent *k = (QKeyEvent*)ev; + if (k->key() == Qt::Key_Return) { + addPlot(); + return true; + } else { + return false; + } + } else { + return false; + } + } else { + return false; + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetPlotBlockDialog.h b/src/musredit_qt5/PGetPlotBlockDialog.h new file mode 100644 index 00000000..8035e8d5 --- /dev/null +++ b/src/musredit_qt5/PGetPlotBlockDialog.h @@ -0,0 +1,59 @@ +/**************************************************************************** + + PGetPlotBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETPLOTBLOCKDIALOG_H_ +#define _PGETPLOTBLOCKDIALOG_H_ + +#include "ui_PGetPlotBlockDialog.h" + +//-------------------------------------------------------------------------- +/** + *

Handels content of the PLOT block dialog. + */ +class PGetPlotBlockDialog : public QDialog, private Ui::PGetPlotBlockDialog +{ + Q_OBJECT + + public: + PGetPlotBlockDialog(const QString helpUrl); + + QString getPlotBlock() { return fPlot_plainTextEdit->toPlainText(); } + + public slots: + void addPlot(); + void helpContent(); + + protected: + bool eventFilter( QObject *obj, QEvent *ev ); + + private: + QString fHelpUrl; ///< help url for the PLOT block +}; + +#endif // _PGETPLOTBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetSingleHistoRunBlockDialog.cpp b/src/musredit_qt5/PGetSingleHistoRunBlockDialog.cpp new file mode 100644 index 00000000..f4c36556 --- /dev/null +++ b/src/musredit_qt5/PGetSingleHistoRunBlockDialog.cpp @@ -0,0 +1,296 @@ +/**************************************************************************** + + PGetSingleHistoRunBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include + +#include "PHelp.h" +#include "PGetSingleHistoRunBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url for the asymmetry run block + * \param lifetimeCorrection flag indicating if lifetime correction shall be enabled. + */ +PGetSingleHistoRunBlockDialog::PGetSingleHistoRunBlockDialog(const QString helpUrl, + const bool lifetimeCorrection) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + fForwardHistoNo_lineEdit->setValidator( new QIntValidator(fForwardHistoNo_lineEdit) ); + fNorm_lineEdit->setValidator( new QIntValidator(fNorm_lineEdit) ); + fDataStart_lineEdit->setValidator( new QIntValidator(fDataStart_lineEdit) ); + fDataEnd_lineEdit->setValidator( new QIntValidator(fDataEnd_lineEdit) ); + fBackgroundFix_lineEdit->setValidator( new QDoubleValidator(fBackgroundFix_lineEdit) ); + fBackgroundFit_lineEdit->setValidator( new QIntValidator(fBackgroundFit_lineEdit) ); + fBackgroundStart_lineEdit->setValidator( new QIntValidator(fBackgroundStart_lineEdit) ); + fBackgroundEnd_lineEdit->setValidator( new QIntValidator(fBackgroundEnd_lineEdit) ); + fFitRangeStart_lineEdit->setValidator( new QDoubleValidator(fFitRangeStart_lineEdit) ); + fFitRangeEnd_lineEdit->setValidator( new QDoubleValidator(fFitRangeEnd_lineEdit) ); + fPacking_lineEdit->setValidator( new QIntValidator(fPacking_lineEdit) ); + fT0_lineEdit->setValidator( new QIntValidator(fT0_lineEdit) ); + fLifetime_lineEdit->setValidator( new QIntValidator(fLifetime_lineEdit) ); + fLifetimeCorrection_checkBox->setChecked(lifetimeCorrection); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the run information line of the single histogram run block. + */ +QString PGetSingleHistoRunBlockDialog::getRunHeaderInfo() +{ + QString str=""; + + str = "RUN " + fRunFileName_lineEdit->text() + " "; + str += fBeamline_lineEdit->text().toUpper() + " "; + str += fInstitute_comboBox->currentText() + " "; + str += fFileFormat_comboBox->currentText() + " (name beamline institute data-file-format)\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the map for the single histogram run block. + * + * \param valid flag indicating if the map is potentially valid. + */ +QString PGetSingleHistoRunBlockDialog::getMap(bool &valid) +{ + QString str = fMap_lineEdit->text().trimmed().remove(" "); + + // check if potentially proper map line + for (int i=0; itext() + "\n"; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a data range (in bins) entry for the single histogram run block. + * + * \param valid flag indicating if the data entries are valid. + */ +QString PGetSingleHistoRunBlockDialog::getData(bool &valid) +{ + QString str=""; + + if (fDataStart_lineEdit->text().isEmpty() || fDataEnd_lineEdit->text().isEmpty()) { + valid = false; + } else { + str = "data "; + str += fDataStart_lineEdit->text() + " "; + str += fDataEnd_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the background information for the single histogram run block. + * + * \param valid flag indicating if a valid background (either backgr.fix, background, or backgr.fit is given, but only one) + * is present. + */ +QString PGetSingleHistoRunBlockDialog::getBackground(bool &valid) +{ + QString str=""; + + valid = true; + + // check that either backgr.fix or background is given, but not both + if (fBackgroundStart_lineEdit->text().isEmpty() && fBackgroundEnd_lineEdit->text().isEmpty() && + fBackgroundFix_lineEdit->text().isEmpty() && + fBackgroundFit_lineEdit->text().isEmpty()) { + valid = false; + str = "background 0 10\n"; + } else { + if (!fBackgroundStart_lineEdit->text().isEmpty()) { // assume the rest is given, not fool prove but ... + str = "background "; + str += fBackgroundStart_lineEdit->text() + " "; + str += fBackgroundEnd_lineEdit->text() + "\n"; + } + if (!fBackgroundFix_lineEdit->text().isEmpty()) { + str = "backgr.fix "; + str += fBackgroundFix_lineEdit->text() + "\n"; + } + if (!fBackgroundFit_lineEdit->text().isEmpty()) { + str = "backgr.fit "; + str += fBackgroundFit_lineEdit->text() + "\n"; + } + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a fit range entry for the single histogram run block. If no fit range has been provided, + * a fit range [0,10] will be set and the valid flag will be set to false. + * + * \param valid flag indicating if a fit range was provided. + */ +QString PGetSingleHistoRunBlockDialog::getFitRange(bool &valid) +{ + QString str=""; + + if (fFitRangeStart_lineEdit->text().isEmpty() || fFitRangeEnd_lineEdit->text().isEmpty()) { + str += "fit 0.0 10.0\n"; + valid = false; + } else { + str += "fit "; + str += fFitRangeStart_lineEdit->text() + " "; + str += fFitRangeEnd_lineEdit->text() + "\n"; + valid = true; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the packing/binning of the single histogram run block. If no packing has been provided, + * a packing of '1' will be set and the present flag will be set to false. + * + * \param present flag indicating if a packing parameter was provided. + */ +QString PGetSingleHistoRunBlockDialog::getPacking(bool &present) +{ + QString str=""; + + if (fPacking_lineEdit->text().isEmpty()) { + present = false; + str += "packing 1\n"; + } else { + present = true; + str += "packing " + fPacking_lineEdit->text() + "\n\n"; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns a t0 parameter for the single histogram run block. + * + * \param present flag indicating if a t0 parameter is set. + */ +QString PGetSingleHistoRunBlockDialog::getT0(bool &present) +{ + QString str=""; + + if (!fT0_lineEdit->text().isEmpty()) { + str = "t0 "; + str += fT0_lineEdit->text() + "\n"; + present = true; + } else { + present = false; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the muon lifetime parameter if present. + * + * \param present flag indicating if a muon life time parameter has been present. + */ +QString PGetSingleHistoRunBlockDialog::getMuonLifetimeParam(bool &present) +{ + QString str=""; + + if (!fLifetime_lineEdit->text().isEmpty()) { + str = "lifetime "; + str += fLifetime_lineEdit->text() + "\n"; + present = true; + } else { + present = false; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the lifetime correction flag. + * + * \param present flag showing if the lifetime correction flag should be set. + */ +QString PGetSingleHistoRunBlockDialog::getLifetimeCorrection(bool &present) +{ + QString str=""; + + if (fLifetimeCorrection_checkBox->isChecked()) { + str = "lifetimecorrection\n"; + present = true; + } else { + present = false; + } + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the single histogram run block. + */ +void PGetSingleHistoRunBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetSingleHistoRunBlockDialog.h b/src/musredit_qt5/PGetSingleHistoRunBlockDialog.h new file mode 100644 index 00000000..c8d4ee89 --- /dev/null +++ b/src/musredit_qt5/PGetSingleHistoRunBlockDialog.h @@ -0,0 +1,68 @@ +/**************************************************************************** + + PGetSingleHistoRunBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETSINGLEHISTORUNBLOCKDIALOG_H_ +#define _PGETSINGLEHISTORUNBLOCKDIALOG_H_ + +#include +#include + +#include "ui_PGetSingleHistoRunBlockDialog.h" + +//-------------------------------------------------------------------------- +/** + *

Class handling the content of the menu: Edit/Add Block/Single Histo Run Block. + */ +class PGetSingleHistoRunBlockDialog : public QDialog, private Ui::PGetSingleHistoRunBlockDialog +{ + Q_OBJECT + + public: + PGetSingleHistoRunBlockDialog(const QString helpUrl = "", const bool lifetimeCorrection = true); + + QString getRunHeaderInfo(); + QString getMap(bool &valid); + QString getForward() { return QString("forward " + fForwardHistoNo_lineEdit->text() + "\n"); } + QString getNorm() { return QString("norm " + fNorm_lineEdit->text() + "\n"); } + QString getData(bool &valid); + QString getBackground(bool &valid); + QString getFitRange(bool &valid); + QString getPacking(bool &present); + QString getT0(bool &present); + QString getMuonLifetimeParam(bool &present); + QString getLifetimeCorrection(bool &present); + + private slots: + void helpContent(); + + private: + QString fHelpUrl; ///< help url for the asymmetry run block +}; + +#endif // _PGETSINGLEHISTORUNBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetTheoryBlockDialog.cpp b/src/musredit_qt5/PGetTheoryBlockDialog.cpp new file mode 100644 index 00000000..9c5f0ea7 --- /dev/null +++ b/src/musredit_qt5/PGetTheoryBlockDialog.cpp @@ -0,0 +1,140 @@ +/**************************************************************************** + + PGetTheoryBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include + +#include + +#include "PHelp.h" +#include "PGetTheoryBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param admin pointer to the administration class object needed to extract the default theory set informations. + * \param helpUrl help url for the asymmetry run block + */ +PGetTheoryBlockDialog::PGetTheoryBlockDialog(PAdmin *admin, const QString helpUrl) : + fAdmin(admin), + fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + // feed theory function combo box + fTheoryFunction_comboBox->setIconSize(QSize(250, 20)); + PTheory *theoItem; + QIcon *icon; + QString iconName; + for (unsigned int i=0; igetTheoryCounts(); i++) { + theoItem = fAdmin->getTheoryItem(i); + if (theoItem->pixmapName.length() > 0) { + iconName = QString(":/latex_images/") + theoItem->pixmapName; + icon = new QIcon(QPixmap(iconName)); + fTheoryFunction_comboBox->insertItem(i, *icon, theoItem->label); + } else { + fTheoryFunction_comboBox->insertItem(i, theoItem->label); + } + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the theory function string of the currently selected theory function. + */ +QString PGetTheoryBlockDialog::getTheoFuncString() +{ + QString str = "????"; + int idx = fTheoryFunction_comboBox->currentIndex(); + PTheory *theoItem = fAdmin->getTheoryItem(idx); + if (theoItem == 0) + return str; + + // add theory function name + str = theoItem->name + " "; + if (theoItem->name == "userFcn") { + str += "libMyLibrary.so TMyFunction "; + } + // add pseudo parameters + for (int i=0; iparams; i++) { + str += QString("%1").arg(i+1) + " "; + } + // add comment + str += theoItem->comment; + + return str; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

adds the current theory function to the text field and additionally adds a '+'. + */ +void PGetTheoryBlockDialog::addPlus() +{ + QString str = getTheoFuncString() + "\n+"; + fTheoryBlock_plainTextEdit->appendPlainText(str); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

adds the current theory function to the text field (newline == '*'). + */ +void PGetTheoryBlockDialog::addMultiply() +{ + QString str = getTheoFuncString(); + fTheoryBlock_plainTextEdit->appendPlainText(str); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of the theory block. + */ +void PGetTheoryBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetTheoryBlockDialog.h b/src/musredit_qt5/PGetTheoryBlockDialog.h new file mode 100644 index 00000000..46b1441c --- /dev/null +++ b/src/musredit_qt5/PGetTheoryBlockDialog.h @@ -0,0 +1,60 @@ +/**************************************************************************** + + PGetTheoryBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETTHEORYBLOCKDIALOG_H_ +#define _PGETTHEORYBLOCKDIALOG_H_ + +#include "PAdmin.h" +#include "ui_PGetTheoryBlockDialog.h" + +//----------------------------------------------------------------------------- +/** + *

Class handling the content of the menu: Edit/Add Block/Theory Block. + */ +class PGetTheoryBlockDialog : public QDialog, private Ui::PGetTheoryBlockDialog +{ + Q_OBJECT + + public: + PGetTheoryBlockDialog(PAdmin *admin = 0, const QString helpUrl = ""); + + QString getTheoryBlock() { return fTheoryBlock_plainTextEdit->toPlainText(); } + + private slots: + QString getTheoFuncString(); + void addPlus(); + void addMultiply(); + void helpContent(); + + private: + PAdmin *fAdmin; ///< pointer to the administration class object needed to extract the default theory set informations. + QString fHelpUrl; ///< help url for the asymmetry run block +}; + +#endif // _PGETTHEORYBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PGetTitleBlockDialog.cpp b/src/musredit_qt5/PGetTitleBlockDialog.cpp new file mode 100644 index 00000000..f80d0e6f --- /dev/null +++ b/src/musredit_qt5/PGetTitleBlockDialog.cpp @@ -0,0 +1,68 @@ +/**************************************************************************** + + PGetTitleBlockDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include + +#include "PHelp.h" +#include "PGetTitleBlockDialog.h" + +//--------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param helpUrl help url for the title. + */ +PGetTitleBlockDialog::PGetTitleBlockDialog(const QString helpUrl) : fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); +} + +//--------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description of title block. + */ +void PGetTitleBlockDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//--------------------------------------------------------------------------- +// END +//--------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PGetTitleBlockDialog.h b/src/musredit_qt5/PGetTitleBlockDialog.h new file mode 100644 index 00000000..6b2767eb --- /dev/null +++ b/src/musredit_qt5/PGetTitleBlockDialog.h @@ -0,0 +1,57 @@ +/**************************************************************************** + + PGetTitleBlockDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PGETTITLEBLOCKDIALOG_H_ +#define _PGETTITLEBLOCKDIALOG_H_ + +#include "musredit.h" +#include "ui_PGetTitleBlockDialog.h" + +//-------------------------------------------------------------------------- +/** + *

Class handling the content of the menu: Edit/Add Block/Title Block. + */ +class PGetTitleBlockDialog : public QDialog, private Ui::PGetTitleBlockDialog +{ + Q_OBJECT + + public: + PGetTitleBlockDialog(const QString helpUrl); + virtual ~PGetTitleBlockDialog() {} + + QString getTitle() { return fTitle_lineEdit->text(); } + + private slots: + void helpContent(); + + private: + QString fHelpUrl; ///< help url for the asymmetry run block +}; + +#endif // _PGETTITLEBLOCKDIALOG_H_ diff --git a/src/musredit_qt5/PHelp.cpp b/src/musredit_qt5/PHelp.cpp new file mode 100644 index 00000000..8fd2b966 --- /dev/null +++ b/src/musredit_qt5/PHelp.cpp @@ -0,0 +1,157 @@ +/**************************************************************************** + + PHelp.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include + +#include + +#include "PHelp.h" + +//--------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param url help url + */ +PHelp::PHelp(const QString &url) +{ + fProgress = 0; + + QNetworkProxyFactory::setUseSystemConfiguration(true); + + fView = new QWebView(this); + fView->load(QUrl(url)); + connect(fView, SIGNAL(loadFinished(bool)), SLOT(adjustLocation())); + connect(fView, SIGNAL(titleChanged(QString)), SLOT(adjustTitle())); + connect(fView, SIGNAL(loadProgress(int)), SLOT(setProgress(int))); + connect(fView, SIGNAL(loadFinished(bool)), SLOT(finishLoading(bool))); + + fLocationEdit = new QLineEdit(this); + fLocationEdit->setSizePolicy(QSizePolicy::Expanding, fLocationEdit->sizePolicy().verticalPolicy()); + connect(fLocationEdit, SIGNAL(returnPressed()), SLOT(changeLocation())); + + QToolBar *toolBar = addToolBar(tr("Navigation")); + toolBar->addAction(fView->pageAction(QWebPage::Back)); + toolBar->addAction(fView->pageAction(QWebPage::Forward)); + toolBar->addAction(fView->pageAction(QWebPage::Reload)); + toolBar->addAction(fView->pageAction(QWebPage::Stop)); + toolBar->addWidget(fLocationEdit); + + QMenu *exitMenu = menuBar()->addMenu(tr("&File")); + exitMenu->addAction("&Exit", this, SLOT(done()), QKeySequence(tr("Ctrl+Q"))); + + setCentralWidget(fView); + setUnifiedTitleAndToolBarOnMac(true); +} + +//--------------------------------------------------------------------------- +/** + *

Destructor + */ +PHelp::~PHelp() +{ + if (fView) { + delete fView; + fView = 0; + } + + if (fLocationEdit) { + delete fLocationEdit; + fLocationEdit = 0; + } +} + +//--------------------------------------------------------------------------- +/** + *

Called on exit (SLOT). Closes the web-browser help GUI. + */ +void PHelp::done() +{ + close(); +} + +//--------------------------------------------------------------------------- +/** + *

Called after an url is loaded (SLOT). Adjusts the url address. + */ +void PHelp::adjustLocation() +{ + fLocationEdit->setText(fView->url().toString()); +} + +//--------------------------------------------------------------------------- +/** + *

Called when the url address in the line edit changed (SLOT). Will execute + * the load of the new url. + */ +void PHelp::changeLocation() +{ + QUrl url = QUrl(fLocationEdit->text()); + fView->load(url); + fView->setFocus(); +} + +//--------------------------------------------------------------------------- +/** + *

Called when the title changed (SLOT). Will change the window title according + * to the state of the web-browser. + */ +void PHelp::adjustTitle() +{ + if (fProgress <= 0 || fProgress >= 100) + setWindowTitle(fView->title()); + else + setWindowTitle(QString("%1 (%2%)").arg(fView->title()).arg(fProgress)); +} + +//--------------------------------------------------------------------------- +/** + *

Adjusts the progess value while loading an url. Also calls adjustTitle(). + */ +void PHelp::setProgress(int p) +{ + fProgress = p; + adjustTitle(); +} + +//--------------------------------------------------------------------------- +/** + *

Ajusts the title when an url has been loaded. + */ +void PHelp::finishLoading(bool) +{ + fProgress = 100; + adjustTitle(); +} + +//--------------------------------------------------------------------------- +// end +//--------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PHelp.h b/src/musredit_qt5/PHelp.h new file mode 100644 index 00000000..85b961cd --- /dev/null +++ b/src/musredit_qt5/PHelp.h @@ -0,0 +1,67 @@ +/**************************************************************************** + + PHelp.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2015 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PHELP_H_ +#define _PHELP_H_ + +#include + +class QWebView; +QT_BEGIN_NAMESPACE +class QLineEdit; +QT_END_NAMESPACE + +//------------------------------------------------------------------------- +/** + *

Class providing the help interface for the user. It opens the wiki docu + * pages such that a user has the chance to read. + */ +class PHelp : public QMainWindow +{ + Q_OBJECT + + public: + PHelp(const QString &url); + virtual ~PHelp(); + + protected slots: + void done(); + void adjustLocation(); + void changeLocation(); + void adjustTitle(); + void setProgress(int p); + void finishLoading(bool); + + private: + QWebView *fView; ///< web viewer + QLineEdit *fLocationEdit; ///< url address line edit + int fProgress; ///< progress value (0-100) while loading an url +}; + +#endif // _PHELP_H_ diff --git a/src/musredit_qt5/PMsr2DataDialog.cpp b/src/musredit_qt5/PMsr2DataDialog.cpp new file mode 100644 index 00000000..aa47a50f --- /dev/null +++ b/src/musredit_qt5/PMsr2DataDialog.cpp @@ -0,0 +1,329 @@ +/**************************************************************************** + + PMsr2DataDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include + +#include "PHelp.h" + +#include "PMsr2DataDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param msr2DataParam data structure keeping the necessary information to feed msr2data + * \param helpUrl help url for msr2data + */ +PMsr2DataDialog::PMsr2DataDialog(PMsr2DataParam *msr2DataParam, const QString helpUrl) : fMsr2DataParam(msr2DataParam), fHelpUrl(helpUrl) +{ + setupUi(this); + + setModal(true); + + QString str; + + fRunTag = -1; + + fFirst_lineEdit->setValidator( new QIntValidator(fFirst_lineEdit) ); + if (fMsr2DataParam->firstRun != -1) { + str = QString("%1").arg(fMsr2DataParam->firstRun); + fFirst_lineEdit->setText(str); + } + + fLast_lineEdit->setValidator( new QIntValidator(fLast_lineEdit) ); + if (fMsr2DataParam->lastRun != -1) { + str = QString("%1").arg(fMsr2DataParam->lastRun); + fLast_lineEdit->setText(str); + } + + if (!fMsr2DataParam->runListFileName.isEmpty()) { + fRunListFileName_lineEdit->setText(fMsr2DataParam->runListFileName); + } + + if (!fMsr2DataParam->runList.isEmpty()) { + fRunList_lineEdit->setText(fMsr2DataParam->runList); + } + + if (!fMsr2DataParam->msrFileExtension.isEmpty()) { + fMsrFileExtension_lineEdit->setText(fMsr2DataParam->msrFileExtension); + } + + fTemplateRunNumber_lineEdit->setValidator( new QIntValidator(fTemplateRunNumber_lineEdit) ); + if (fMsr2DataParam->templateRunNo != -1) { + str = QString("%1").arg(fMsr2DataParam->templateRunNo); + fTemplateRunNumber_lineEdit->setText(str); + } + + if (!fMsr2DataParam->dbOutputFileName.isEmpty()) { + fDataOutputFileName_lineEdit->setText(fMsr2DataParam->dbOutputFileName); + } + + fWriteDataHeader_checkBox->setChecked(fMsr2DataParam->writeDbHeader); + fIgnoreDataHeaderInfo_checkBox->setChecked(fMsr2DataParam->ignoreDataHeaderInfo); + fKeepMinuit2Output_checkBox->setChecked(fMsr2DataParam->keepMinuit2Output); + fWriteColumnData_checkBox->setChecked(fMsr2DataParam->writeColumnData); + fRecreateDataFile_checkBox->setChecked(fMsr2DataParam->recreateDbFile); + fChainFit_checkBox->setChecked(fMsr2DataParam->chainFit); + fOpenFilesAfterFitting_checkBox->setChecked(fMsr2DataParam->openFilesAfterFitting); + fTitleFromData_checkBox->setChecked(fMsr2DataParam->titleFromDataFile); + fCreateMsrFileOnly_checkBox->setChecked(fMsr2DataParam->createMsrFileOnly); + fFitOnly_checkBox->setChecked(fMsr2DataParam->fitOnly); + fGlobal_checkBox->setChecked(fMsr2DataParam->global); + fGlobalPlus_checkBox->setChecked(fMsr2DataParam->globalPlus); + + connect(fGlobal_checkBox, SIGNAL(clicked(bool)), this, SLOT(globalOptionSet(bool))); + connect(fGlobalPlus_checkBox, SIGNAL(clicked(bool)), this, SLOT(globalPlusOptionSet(bool))); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the msr2data relavant parameters from the GUI. + */ +PMsr2DataParam* PMsr2DataDialog::getMsr2DataParam() +{ + if (fFirst_lineEdit->text().isEmpty()) { + fMsr2DataParam->firstRun = -1; + } else { + fMsr2DataParam->firstRun = fFirst_lineEdit->text().toInt(); + } + if (fLast_lineEdit->text().isEmpty()) { + fMsr2DataParam->lastRun = -1; + } else { + fMsr2DataParam->lastRun = fLast_lineEdit->text().toInt(); + } + fMsr2DataParam->runList = fRunList_lineEdit->text(); + fMsr2DataParam->runListFileName = fRunListFileName_lineEdit->text(); + fMsr2DataParam->msrFileExtension = fMsrFileExtension_lineEdit->text(); + if (fTemplateRunNumber_lineEdit->text().isEmpty()) { + fMsr2DataParam->templateRunNo = -1; + } else { + fMsr2DataParam->templateRunNo = fTemplateRunNumber_lineEdit->text().toInt(); + } + fMsr2DataParam->dbOutputFileName = fDataOutputFileName_lineEdit->text(); + fMsr2DataParam->writeDbHeader = fWriteDataHeader_checkBox->isChecked(); + fMsr2DataParam->ignoreDataHeaderInfo = fIgnoreDataHeaderInfo_checkBox->isChecked(); + fMsr2DataParam->keepMinuit2Output = fKeepMinuit2Output_checkBox->isChecked(); + fMsr2DataParam->writeColumnData = fWriteColumnData_checkBox->isChecked(); + fMsr2DataParam->recreateDbFile = fRecreateDataFile_checkBox->isChecked(); + fMsr2DataParam->chainFit = fChainFit_checkBox->isChecked(); + fMsr2DataParam->openFilesAfterFitting = fOpenFilesAfterFitting_checkBox->isChecked(); + fMsr2DataParam->titleFromDataFile = fTitleFromData_checkBox->isChecked(); + fMsr2DataParam->createMsrFileOnly = fCreateMsrFileOnly_checkBox->isChecked(); + fMsr2DataParam->fitOnly = fFitOnly_checkBox->isChecked(); + fMsr2DataParam->global = fGlobal_checkBox->isChecked(); + fMsr2DataParam->globalPlus = fGlobalPlus_checkBox->isChecked(); + + return fMsr2DataParam; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when in the 'Run List Input', the 'First' text field is activated. It clears any + * entries in 'Run List' and 'Run List File Name'. It furthermore sets the run tag. + * + * \param str string content of the QTextEdit field. + */ +void PMsr2DataDialog::runFirstEntered(const QString &str) +{ + + if (str.length() == 0) + return; + + fRunTag = 0; + + if (!fRunList_lineEdit->text().isEmpty()) + fRunList_lineEdit->clear(); + if (!fRunListFileName_lineEdit->text().isEmpty()) + fRunListFileName_lineEdit->clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when in the 'Run List Input', the 'Last' text field is activated. It clears any + * entries in 'Run List' and 'Run List File Name'. It furthermore sets the run tag. + * + * \param str string content of the QTextEdit field. + */ +void PMsr2DataDialog::runLastEntered(const QString &str) +{ + if (str.length() == 0) + return; + + fRunTag = 0; + + if (!fRunList_lineEdit->text().isEmpty()) + fRunList_lineEdit->clear(); + if (!fRunListFileName_lineEdit->text().isEmpty()) + fRunListFileName_lineEdit->clear(); + + if (fLast_lineEdit->text().length() == 1) + fLast_lineEdit->update(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when in the 'Run List Input', the 'Run List' text field is activated. It clears any + * entries in 'First', 'Last', and 'Run List File Name'. It furthermore sets the run tag. + * + * \param str string content of the QTextEdit field. + */ +void PMsr2DataDialog::runListEntered(const QString &str) +{ + if (str.length() == 0) + return; + + fRunTag = 1; + + if (!fFirst_lineEdit->text().isEmpty()) + fFirst_lineEdit->clear(); + if (!fLast_lineEdit->text().isEmpty()) + fLast_lineEdit->clear(); + if (!fRunListFileName_lineEdit->text().isEmpty()) + fRunListFileName_lineEdit->clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when in the 'Run List Input', the 'Run List File Name' text field is activated. It clears any + * entries in 'First', 'Last', and 'Run List'. It furthermore sets the run tag. + * + * \param str string content of the QTextEdit field. + */ +void PMsr2DataDialog::runListFileNameEntered(const QString &str) +{ + if (str.length() == 0) + return; + + fRunTag = 2; + + if (!fFirst_lineEdit->text().isEmpty()) + fFirst_lineEdit->clear(); + if (!fLast_lineEdit->text().isEmpty()) + fLast_lineEdit->clear(); + if (!fRunList_lineEdit->text().isEmpty()) + fRunList_lineEdit->clear(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when in 'Template Run Input', the 'Template Run Number' text field is activated. + * It set at the same time the fit-only flag to false. + * + * \param str string content of the QTextEdit field. + */ +void PMsr2DataDialog::templateRunEntered(const QString &str) +{ + if (!str.isEmpty()) + fFitOnly_checkBox->setChecked(false); + fTemplateRunNumber_lineEdit->setText(str); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the 'Create msr-File only' QCheckBox under 'Options' is activated. + * Sets at the same time the fit-only flag to false. + * + * \param buttonState state of the button. + */ +void PMsr2DataDialog::createMsrFileOnlyChanged(int buttonState) +{ + if (buttonState == Qt::Checked) { + fFitOnly_checkBox->setChecked(false); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the 'Fit Only' QCheckBox under 'Options' is activated. + * Sets at the same time the create-msr-file-only and global flags to false. Clears the 'Template Run Number' + * field. + * + * \param buttonState state of the button. + */ +void PMsr2DataDialog::fitOnlyChanged(int buttonState) +{ + if (buttonState == Qt::Checked) { + fCreateMsrFileOnly_checkBox->setChecked(false); + fTemplateRunNumber_lineEdit->clear(); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Generates a help content window showing the description for msr2data. + */ +void PMsr2DataDialog::helpContent() +{ + if (fHelpUrl.isEmpty()) { + QMessageBox::information(this, "**INFO**", "Will eventually show a help window"); + } else { + #ifdef _WIN32GCC + QMessageBox::information(this, "**INFO**", "If a newer Qt version was available, a help window would be shown!"); + #else + PHelp *help = new PHelp(fHelpUrl); + help->show(); + #endif // _WIN32GCC + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Unchecks global+ if global is checked since global/global+ are excluding options + * + * \param checked true, if the check-box is checked + */ +void PMsr2DataDialog::globalOptionSet(bool checked) +{ + if (checked) { + if (fGlobalPlus_checkBox->isChecked()) + fGlobalPlus_checkBox->setChecked(false); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Unchecks global if global+ is checked since global/global+ are excluding options + * + * \param checked true, if the check-box is checked + */ +void PMsr2DataDialog::globalPlusOptionSet(bool checked) +{ + if (checked) { + if (fGlobal_checkBox->isChecked()) + fGlobal_checkBox->setChecked(false); + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PMsr2DataDialog.h b/src/musredit_qt5/PMsr2DataDialog.h new file mode 100644 index 00000000..7892e2ea --- /dev/null +++ b/src/musredit_qt5/PMsr2DataDialog.h @@ -0,0 +1,73 @@ +/**************************************************************************** + + PMsr2DataDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PMSR2DATADIALOG_H_ +#define _PMSR2DATADIALOG_H_ + +#include +#include + +#include "musredit.h" +#include "ui_PMsr2DataDialog.h" + +/** + *

Class handling the content of the MusrFit/Msr2Data GUI. It collects the input + * for B.M. Wojek's msr2data program. + */ +class PMsr2DataDialog : public QDialog, private Ui::PMsr2DataDialog +{ + Q_OBJECT + + public: + PMsr2DataDialog(PMsr2DataParam *msr2DataParam, const QString helpUrl); + + virtual int getRunTag() { return fRunTag; } + virtual PMsr2DataParam* getMsr2DataParam(); + + public slots: + void runFirstEntered(const QString&); + void runLastEntered(const QString&); + void runListEntered(const QString&); + void runListFileNameEntered(const QString&); + void templateRunEntered(const QString&); + void createMsrFileOnlyChanged(int); + void fitOnlyChanged(int); + void helpContent(); + + private slots: + void globalOptionSet(bool checked); + void globalPlusOptionSet(bool checked); + + private: + int fRunTag; ///< -1 = not valid, 0 = first last, 1 = run list, 2 = run list file name + PMsr2DataParam *fMsr2DataParam; ///< data structure used to handle the necessary input for msr2data. + QString fHelpUrl; ///< help url for the Fourier block +}; + +#endif // _PMSR2DATADIALOG_H_ diff --git a/src/musredit_qt5/PMusrEditAbout.cpp b/src/musredit_qt5/PMusrEditAbout.cpp new file mode 100644 index 00000000..ad6789fb --- /dev/null +++ b/src/musredit_qt5/PMusrEditAbout.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** + + PMusrEditAbout.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "PMusrEditAbout.h" + +//--------------------------------------------------------------------------- +/** + *

Handles the musredit about popup. + */ +PMusrEditAbout::PMusrEditAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) +{ + setupUi(this); + + setModal(true); +} + +//--------------------------------------------------------------------------- +// END +//--------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PMusrEditAbout.h b/src/musredit_qt5/PMusrEditAbout.h new file mode 100644 index 00000000..0efde479 --- /dev/null +++ b/src/musredit_qt5/PMusrEditAbout.h @@ -0,0 +1,46 @@ +/**************************************************************************** + + PMusrEditAbout.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PMUSREDITABOUT_H_ +#define _PMUSREDITABOUT_H_ + +#include "musredit.h" +#include "ui_PMusrEditAbout.h" + +class PMusrEditAbout : public QDialog, private Ui::PMusrEditAbout +{ + Q_OBJECT + + public: + PMusrEditAbout(QWidget *parent = 0, Qt::WindowFlags f = 0); + virtual ~PMusrEditAbout() {} + +}; + +#endif // _PMUSREDITABOUT_H_ diff --git a/src/musredit_qt5/PPrefsDialog.cpp b/src/musredit_qt5/PPrefsDialog.cpp new file mode 100644 index 00000000..a6fb9ca3 --- /dev/null +++ b/src/musredit_qt5/PPrefsDialog.cpp @@ -0,0 +1,110 @@ +/**************************************************************************** + + PPrefsDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "PPrefsDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param fAdmin keeps all the needed flags + */ +PPrefsDialog::PPrefsDialog(PAdmin *admin) : fAdmin(admin) +{ + if (!fAdmin) + return; + + setupUi(this); + + setModal(true); + + fKeepMn2Output_checkBox->setChecked(fAdmin->getKeepMinuit2OutputFlag()); + + if (fAdmin->getDumpAsciiFlag() && !fAdmin->getDumpRootFlag()) { + fDumpAscii_checkBox->setChecked(true); + fDumpRoot_checkBox->setChecked(false); + } else if (!fAdmin->getDumpAsciiFlag() && fAdmin->getDumpRootFlag()) { + fDumpAscii_checkBox->setChecked(false); + fDumpRoot_checkBox->setChecked(true); + } else { + fDumpAscii_checkBox->setChecked(false); + fDumpRoot_checkBox->setChecked(false); + } + + fTitleFromData_checkBox->setChecked(fAdmin->getTitleFromDataFileFlag()); + fEnableMusrT0_checkBox->setChecked(fAdmin->getEnableMusrT0Flag()); + fPerRunBlockChisq_checkBox->setChecked(fAdmin->getChisqPerRunBlockFlag()); + fEstimateN0_checkBox->setChecked(fAdmin->getEstimateN0Flag()); + fFourier_checkBox->setChecked(fAdmin->getMusrviewShowFourierFlag()); + + fTimeout_lineEdit->setText(QString("%1").arg(fAdmin->getTimeout())); + fTimeout_lineEdit->setValidator(new QIntValidator(fTimeout_lineEdit)); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the dump flag (see the '--dump' option of musrfit). 0 == no dump, 1 == ascii dump, 2 == root dump + */ +int PPrefsDialog::getDump() +{ + int result = 0; + + if (fDumpAscii_checkBox->isChecked()) + result = 1; + else if (fDumpRoot_checkBox->isChecked()) + result = 2; + + return result; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the QCheckBox 'dump ascii' is selected. Will uncheck 'dump root' since these + * two options are mutually exclusive. + */ +void PPrefsDialog::dumpAscii() +{ + if (fDumpAscii_checkBox->isChecked()) + fDumpRoot_checkBox->setChecked(false); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the QCheckBox 'dump root' is selected. Will uncheck 'dump ascii' since these + * two options are mutually exclusive. + */ +void PPrefsDialog::dumpRoot() +{ + if (fDumpRoot_checkBox->isChecked()) + fDumpAscii_checkBox->setChecked(false); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PPrefsDialog.h b/src/musredit_qt5/PPrefsDialog.h new file mode 100644 index 00000000..5f113eb1 --- /dev/null +++ b/src/musredit_qt5/PPrefsDialog.h @@ -0,0 +1,66 @@ +/**************************************************************************** + + PPrefsDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PPREFSDIALOG_H_ +#define _PPREFSDIALOG_H_ + +#include + +#include + +#include "ui_PPrefsDialog.h" + +/** + *

Class handling the content of the MusrFit/Preferences. + */ +class PPrefsDialog : public QDialog, private Ui::PPrefsDialog +{ + Q_OBJECT + + public: + PPrefsDialog(PAdmin *admin); + + bool getMusrviewShowFourierFlag() { return fFourier_checkBox->isChecked(); } + bool getKeepMinuit2OutputFlag() { return fKeepMn2Output_checkBox->isChecked(); } + bool getTitleFromDataFileFlag() { return fTitleFromData_checkBox->isChecked(); } + bool getEnableMusrT0Flag() { return fEnableMusrT0_checkBox->isChecked(); } + bool getKeepRunPerBlockChisqFlag() { return fPerRunBlockChisq_checkBox->isChecked(); } + bool getEstimateN0Flag() { return fEstimateN0_checkBox->isChecked(); } + int getDump(); + int getTimeout() { return fTimeout_lineEdit->text().toInt(); } + + public slots: + void dumpAscii(); + void dumpRoot(); + + private: + PAdmin *fAdmin; +}; + +#endif // _PPREFSDIALOG_H_ diff --git a/src/musredit_qt5/PReplaceConfirmationDialog.cpp b/src/musredit_qt5/PReplaceConfirmationDialog.cpp new file mode 100644 index 00000000..c00f8ac4 --- /dev/null +++ b/src/musredit_qt5/PReplaceConfirmationDialog.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** + + PReplaceConfirmationDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "PReplaceConfirmationDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param parent pointer to the parent object + * \param f qt windows flags + */ +PReplaceConfirmationDialog::PReplaceConfirmationDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) +{ + setupUi(this); + + setModal(true); +} diff --git a/src/musredit_qt5/PReplaceConfirmationDialog.h b/src/musredit_qt5/PReplaceConfirmationDialog.h new file mode 100644 index 00000000..edb46d26 --- /dev/null +++ b/src/musredit_qt5/PReplaceConfirmationDialog.h @@ -0,0 +1,47 @@ +/**************************************************************************** + + PReplaceConfirmationDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PREPLACECONFIRMATIONDIALOG_H_ +#define _PREPLACECONFIRMATIONDIALOG_H_ + +#include +#include + +#include "ui_PReplaceConfirmationDialog.h" + +class PReplaceConfirmationDialog : public QDialog, public Ui::PReplaceConfirmationDialog +{ + Q_OBJECT + + public: + PReplaceConfirmationDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); + virtual ~PReplaceConfirmationDialog() {} +}; + +#endif // _PREPLACECONFIRMATIONDIALOG_H_ diff --git a/src/musredit_qt5/PReplaceDialog.cpp b/src/musredit_qt5/PReplaceDialog.cpp new file mode 100644 index 00000000..bc82843f --- /dev/null +++ b/src/musredit_qt5/PReplaceDialog.cpp @@ -0,0 +1,109 @@ +/**************************************************************************** + + PReplaceDialog.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include + +#include "PReplaceDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param data find/replace data structure + * \param selection if true, find/replace only of the selection + * \param parent pointer to the parent object + * \param f qt windows flag + */ +PReplaceDialog::PReplaceDialog(PFindReplaceData *data, const bool selection, QWidget *parent, Qt::WindowFlags f) : + QDialog(parent, f), fData(data) +{ + setupUi(this); + + setModal(true); + + // if only empty text, disable find button + if (fData->findText == "") { + fReplace_pushButton->setEnabled(false); + } + + // if there is no selection, disable that option + if (!selection) { + fSelectedText_checkBox->setChecked(false); + fSelectedText_checkBox->setEnabled(false); + } + + fFind_comboBox->setItemText(0, fData->findText); + fReplacementText_comboBox->setItemText(0, fData->replaceText); + fCaseSensitive_checkBox->setChecked(fData->caseSensitive); + fWholeWordsOnly_checkBox->setChecked(fData->wholeWordsOnly); + fFromCursor_checkBox->setChecked(fData->fromCursor); + fFindBackwards_checkBox->setChecked(fData->findBackwards); + fPromptOnReplace_checkBox->setChecked(fData->promptOnReplace); + + if (selection) { + fSelectedText_checkBox->setChecked(fData->selectedText); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the pointer to the find/replace data structure which is updated from the GUI content. + */ +PFindReplaceData* PReplaceDialog::getData() +{ + fData->findText = fFind_comboBox->currentText(); + fData->replaceText = fReplacementText_comboBox->currentText(); + fData->caseSensitive = fCaseSensitive_checkBox->isChecked(); + fData->wholeWordsOnly = fWholeWordsOnly_checkBox->isChecked(); + fData->fromCursor = fFromCursor_checkBox->isChecked(); + fData->findBackwards = fFindBackwards_checkBox->isChecked(); + if (fSelectedText_checkBox->isEnabled()) + fData->selectedText = fSelectedText_checkBox->isChecked(); + fData->promptOnReplace = fPromptOnReplace_checkBox->isChecked(); + + return fData; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called on find text available. + */ +void PReplaceDialog::onFindTextAvailable(const QString&) +{ + if (fFind_comboBox->currentText() != "") + fReplace_pushButton->setEnabled(true); + else + fReplace_pushButton->setEnabled(false); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PReplaceDialog.h b/src/musredit_qt5/PReplaceDialog.h new file mode 100644 index 00000000..1e3a053c --- /dev/null +++ b/src/musredit_qt5/PReplaceDialog.h @@ -0,0 +1,53 @@ +/**************************************************************************** + + PReplaceDialog.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PREPLACEDIALOG_H_ +#define _PREPLACEDIALOG_H_ + +#include "musredit.h" +#include "ui_PReplaceDialog.h" + +class PReplaceDialog : public QDialog, private Ui::PReplaceDialog +{ + Q_OBJECT + + public: + PReplaceDialog(PFindReplaceData *data, const bool selection, QWidget *parent = 0, Qt::WindowFlags f = 0); + virtual ~PReplaceDialog() {} + + virtual PFindReplaceData *getData(); + + protected slots: + virtual void onFindTextAvailable(const QString&); + + private: + PFindReplaceData *fData; ///< pointer to the find/replace data +}; + +#endif // _PREPLACEDIALOG_H_ diff --git a/src/musredit_qt5/PSubTextEdit.cpp b/src/musredit_qt5/PSubTextEdit.cpp new file mode 100644 index 00000000..eabe8724 --- /dev/null +++ b/src/musredit_qt5/PSubTextEdit.cpp @@ -0,0 +1,534 @@ +/**************************************************************************** + + PSubTextEdit.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "PAdmin.h" +#include "PSubTextEdit.h" +#include "PGetTitleBlockDialog.h" +#include "PGetParameterBlockDialog.h" +#include "PGetTheoryBlockDialog.h" +#include "PGetFunctionsBlockDialog.h" +#include "PGetAsymmetryRunBlockDialog.h" +#include "PGetSingleHistoRunBlockDialog.h" +#include "PGetNonMusrRunBlockDialog.h" +#include "PGetFourierBlockDialog.h" +#include "PGetPlotBlockDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor. + * + * \param admin pointer to the musredit internal administration object. + * \param parent pointer to the parent object. + */ +PSubTextEdit::PSubTextEdit(PAdmin *admin, QWidget *parent) : + QPlainTextEdit(parent), + fAdmin(admin) +{ +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-title input dialog window. + */ +void PSubTextEdit::insertTitle() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetTitleBlockDialog *dlg = new PGetTitleBlockDialog(fAdmin->getHelpUrl("title")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + QString title = dlg->getTitle(); + insertPlainText(title+"\n"); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-fit-parameter input dialog window. + */ +void PSubTextEdit::insertParameterBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetParameterBlockDialog *dlg = new PGetParameterBlockDialog(fAdmin->getHelpUrl("parameters")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + insertPlainText(dlg->getParams()); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Inserts the selected theory item. + * + * \param name of the theory item to be added. + */ +void PSubTextEdit::insertTheoryFunction(QString name) +{ + QString str = "????"; + + int idx = -1; + for (unsigned int i=0; igetTheoryCounts(); i++) { + if (name == fAdmin->getTheoryItem(i)->label) { + idx = i; + break; + } + } + + if (idx == -1) + return; + + PTheory *theoItem = fAdmin->getTheoryItem(idx); + if (theoItem == 0) + return; + + // add theory function name + str = theoItem->name + " "; + if (theoItem->name == "userFcn") { + str += "libMyLibrary.so TMyFunction "; + } + + // add pseudo parameters + for (int i=0; iparams; i++) { + str += QString("%1").arg(i+1) + " "; + } + + // add comment + str += theoItem->comment; + + // add newline + str += "\n"; + + insertPlainText(str); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-theory input dialog window. + */ +void PSubTextEdit::insertTheoryBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetTheoryBlockDialog *dlg = new PGetTheoryBlockDialog(fAdmin, fAdmin->getHelpUrl("theory")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + insertPlainText(dlg->getTheoryBlock()); + insertPlainText("\n"); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-functions input dialog window. + */ +void PSubTextEdit::insertFunctionBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetFunctionsBlockDialog *dlg = new PGetFunctionsBlockDialog(fAdmin->getHelpUrl("functions")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + insertPlainText(dlg->getFunctionsBlock()); + insertPlainText("\n\n"); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-asymmetry-run input dialog window. + */ +void PSubTextEdit::insertAsymRunBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetAsymmetryRunBlockDialog *dlg = new PGetAsymmetryRunBlockDialog(fAdmin->getHelpUrl("run")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + QString str, workStr; + bool valid = true, present = true; + // check if there is already a run block present, necessary because of the '####' line + // STILL MISSING + + // add run line + str += dlg->getRunHeaderInfo(); + + // add fittype + str += "fittype 2 (asymmetry fit)\n"; + + // add alpha if present + workStr = dlg->getAlphaParameter(present); + if (present) { + str += workStr; + } + + // add beta if present + workStr = dlg->getBetaParameter(present); + if (present) { + str += workStr; + } + + // add map + workStr = dlg->getMap(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Given map not valid, will add a default map line", + QMessageBox::Ok, QMessageBox::NoButton); + str += "map 0 0 0 0 0 0 0 0 0 0\n"; + } + + // add forward + str += dlg->getForward(); + + // add backward + str += dlg->getBackward(); + + // add background or backgr.fix + workStr = dlg->getBackground(valid); + str += workStr; + if (!valid) { + QMessageBox::critical(this, "**ERROR**", + "Either background or backgr.fix is needed!\nWill set background to 0..10, please correct!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add data + workStr = dlg->getData(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Not all Data entries are present.Fix is needed!\nWill not set anything!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add t0 if present + workStr = dlg->getT0(present); + if (present) { + str += workStr; + } else { + QMessageBox::warning(this, "**ERROR**", + "T0's not given, assume that they are present in the data file!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add fit range + workStr = dlg->getFitRange(valid); + str += workStr; + if (!valid) { + QMessageBox::critical(this, "**ERROR**", + "No valid fit range is given.Fix is needed!\nWill add a default one!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add packing + workStr = dlg->getPacking(present); + str += workStr; + if (!present) { + QMessageBox::critical(this, "**ERROR**", + "No valid packing/binning is given.Fix is needed!\nWill add a default one!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // insert Asymmetry Run Block at the current cursor position + insertPlainText(str); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-single-historgram-run input dialog window. + */ +void PSubTextEdit::insertSingleHistRunBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetSingleHistoRunBlockDialog *dlg = new PGetSingleHistoRunBlockDialog(fAdmin->getHelpUrl("run")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + QString str, workStr; + bool valid = true, present = true; + // check if there is already a run block present, necessary because of the '####' line + // STILL MISSING + + // add run line + str += dlg->getRunHeaderInfo(); + + // add fittype + str += "fittype 0 (single histogram fit)\n"; + + // add map + workStr = dlg->getMap(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Given map not valid, will add a default map line", + QMessageBox::Ok, QMessageBox::NoButton); + str += "map 0 0 0 0 0 0 0 0 0 0\n"; + } + + // add forward + str += dlg->getForward(); + + // add norm + str += dlg->getNorm(); + + // add lifetime parameter + workStr = dlg->getMuonLifetimeParam(present); + if (present) { + str += workStr; + } + + // add lifetime correction flag if present + workStr = dlg->getLifetimeCorrection(present); + if (present) { + str += workStr; + } + + // add background, backgr.fix or backgr.fit + workStr = dlg->getBackground(valid); + str += workStr; + if (!valid) { + QMessageBox::critical(this, "**ERROR**", + "Either background, backgr.fix, or backgr.fit is needed!\nWill set background to 0..10, please correct!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add t0 if present + workStr = dlg->getT0(present); + if (present) { + str += workStr; + } else { + QMessageBox::warning(this, "**ERROR**", + "T0's not given, assume that they are present in the data file!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add data + workStr = dlg->getData(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Not all Data entries are present.Fix is needed!\nWill not set anything!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add fit range + workStr = dlg->getFitRange(valid); + str += workStr; + if (!valid) { + QMessageBox::critical(this, "**ERROR**", + "No valid fit range is given.Fix is needed!\nWill add a default one!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add packing + workStr = dlg->getPacking(present); + str += workStr; + if (!present) { + QMessageBox::critical(this, "**ERROR**", + "No valid packing/binning is given.Fix is needed!\nWill add a default one!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // insert Single Histogram Run Block at the current cursor position + insertPlainText(str); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-nonMusr-run input dialog window. + */ +void PSubTextEdit::insertNonMusrRunBlock() +{ + PGetNonMusrRunBlockDialog *dlg = new PGetNonMusrRunBlockDialog(fAdmin->getHelpUrl("run")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + QString str, workStr; + bool valid = true; + // check if there is already a run block present, necessary because of the '####' line + // STILL MISSING + + // add run line + str += dlg->getRunHeaderInfo(); + + // add fittype + str += "fittype 8 (non musr fit)\n"; + + // add map + workStr = dlg->getMap(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Given map not valid, will add a default map line", + QMessageBox::Ok, QMessageBox::NoButton); + str += "map 0 0 0 0 0 0 0 0 0 0\n"; + } + + // add xy-data + workStr = dlg->getXYData(valid); + if (valid) { + str += workStr; + } else { + QMessageBox::critical(this, "**ERROR**", + "Not all xy-data entries are present.Fix is needed!\nWill not set anything!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add fit range + workStr = dlg->getFitRange(valid); + str += workStr; + if (!valid) { + QMessageBox::critical(this, "**ERROR**", + "No valid fit range is given.Fix is needed!\nWill add a default one!", + QMessageBox::Ok, QMessageBox::NoButton); + } + + // add packing + str += "packing 1\n"; + + // insert NonMusr Run Block at the current cursor position + insertPlainText(str); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Insert the command block. + */ +void PSubTextEdit::insertCommandBlock() +{ + insertPlainText("###############################################################\n"); + insertPlainText("COMMANDS\n"); + insertPlainText("SET BATCH\n"); + insertPlainText("STRATEGY 1\n"); + insertPlainText("MINIMIZE\n"); + insertPlainText("#MINOS\n"); + insertPlainText("SAVE\n"); + insertPlainText("END RETURN\n\n"); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-Fourier input dialog window. + */ +void PSubTextEdit::insertFourierBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetFourierBlockDialog *dlg = new PGetFourierBlockDialog(fAdmin->getHelpUrl("fourier")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + insertPlainText(dlg->getFourierBlock()+"\n"); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the msr-plot input dialog window. + */ +void PSubTextEdit::insertPlotBlock() +{ + // for the time being the url's are hard coded but should be transfered to the XML startup + PGetPlotBlockDialog *dlg = new PGetPlotBlockDialog(fAdmin->getHelpUrl("plot")); + + if (dlg == 0) + return; + + if (dlg->exec() == QDialog::Accepted) { + insertPlainText(dlg->getPlotBlock()+"\n"); + } + + delete dlg; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Insert a default msr-statistics block. + */ +void PSubTextEdit::insertStatisticBlock() +{ + QDateTime dt = QDateTime::currentDateTime(); + insertPlainText("###############################################################\n"); + insertPlainText("STATISTIC --- " + dt.toString("yyyy-MM-dd hh:mm:ss") + "\n"); + insertPlainText("chisq = ????, NDF = ????, chisq/NDF = ????\n\n"); +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PSubTextEdit.h b/src/musredit_qt5/PSubTextEdit.h new file mode 100644 index 00000000..9d8234c4 --- /dev/null +++ b/src/musredit_qt5/PSubTextEdit.h @@ -0,0 +1,68 @@ +/**************************************************************************** + + PSubTextEdit.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2009-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PSUBTEXTEDIT_H_ +#define _PSUBTEXTEDIT_H_ + +#include +#include + +#include "PAdmin.h" + +//------------------------------------------------------------------------------------------ +/** + *

Class handling a single text edit tab within musredit. + */ +class PSubTextEdit : public QPlainTextEdit +{ + Q_OBJECT + + public: + PSubTextEdit(PAdmin *admin = 0, QWidget *parent = 0); + virtual ~PSubTextEdit() {} + + public slots: + void insertTitle(); + void insertParameterBlock(); + void insertTheoryFunction(QString name); + void insertTheoryBlock(); + void insertFunctionBlock(); + void insertAsymRunBlock(); + void insertSingleHistRunBlock(); + void insertNonMusrRunBlock(); + void insertCommandBlock(); + void insertFourierBlock(); + void insertPlotBlock(); + void insertStatisticBlock(); + + private: + PAdmin *fAdmin; ///< pointer to the administration object which holds working-, executable-paths etc. +}; + +#endif // _PSUBTEXTEDIT_H_ diff --git a/src/musredit_qt5/PTextEdit.cpp b/src/musredit_qt5/PTextEdit.cpp new file mode 100644 index 00000000..eb9bdcb9 --- /dev/null +++ b/src/musredit_qt5/PTextEdit.cpp @@ -0,0 +1,2637 @@ +/**************************************************************************** + + PTextEdit.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +using namespace std; + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "PTextEdit.h" +#include "PHelp.h" +#include "PSubTextEdit.h" +#include "PAdmin.h" +#include "PFindDialog.h" +#include "PReplaceDialog.h" +#include "PReplaceConfirmationDialog.h" +#include "PFitOutputHandler.h" +#include "PDumpOutputHandler.h" +#include "PPrefsDialog.h" +#include "PGetMusrFTOptionsDialog.h" +#include "PGetDefaultDialog.h" +#include "PMusrEditAbout.h" +#include "PMsr2DataDialog.h" + +//---------------------------------------------------------------------------------------------------- +/** + *

Constructor + * + * \param parent pointer to the parent object + * \param f qt windows flags + */ +PTextEdit::PTextEdit( QWidget *parent, Qt::WindowFlags f ) + : QMainWindow( parent, f ) +{ + // reads and manages the conents of the xml-startup (musredit_startup.xml) file + fAdmin = new PAdmin(); + + // enable file system watcher. Needed to get notification if the msr-file is changed outside of musrfit at runtime + fFileSystemWatcherActive = true; + fFileSystemWatcher = new QFileSystemWatcher(); + if (fFileSystemWatcher == 0) { + QMessageBox::information(this, "**ERROR**", "Couldn't invoke QFileSystemWatcher!"); + } else { + connect( fFileSystemWatcher, SIGNAL(fileChanged(const QString&)), this, SLOT(fileChanged(const QString&))); + } + + // initialize stuff + fMusrT0Action = 0; + + fMsr2DataParam = 0; + fFindReplaceData = 0, + + // setup menus + setupFileActions(); + setupEditActions(); + setupTextActions(); + setupMusrActions(); + setupHelpActions(); + + fTabWidget = new QTabWidget( this ); + fTabWidget->setMovable(true); // allows to shuffle around tabs + setCentralWidget( fTabWidget ); + + textFamily(fAdmin->getFontName()); + textSize(QString("%1").arg(fAdmin->getFontSize())); + fFontChanging = false; + + QPixmap image0(":/images/musrfit.xpm"); + setWindowIcon( image0 ); + + // if arguments are give, try to load those files, otherwise create an empty new file + if ( qApp->arguments().size() != 1 ) { + for ( int i = 1; i < qApp->arguments().size(); ++i ) + load( qApp->arguments()[ i ] ); + } else { + fileNew(); + } + + connect( fTabWidget, SIGNAL( currentChanged(QWidget*) ), this, SLOT( applyFontSettings(QWidget*) )); + + fLastDirInUse = fAdmin->getDefaultSavePath(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

This slot is called if the main application is on the way to quit. This ensures that allocated + * memory indeed can be free'd. + */ +void PTextEdit::aboutToQuit() +{ + if (fAdmin) { + delete fAdmin; + fAdmin = 0; + } + if (fMusrT0Action) { + delete fMusrT0Action; + fMusrT0Action = 0; + } + if (fMsr2DataParam) { + delete fMsr2DataParam; + fMsr2DataParam = 0; + } + if (fFindReplaceData) { + delete fFindReplaceData; + fFindReplaceData = 0; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the file menu and the necessary actions. + */ +void PTextEdit::setupFileActions() +{ + QToolBar *tb = new QToolBar( this ); + tb->setWindowTitle( "File Actions" ); + addToolBar( tb ); + + QMenu *menu = new QMenu( tr( "F&ile" ), this ); + menuBar()->addMenu( menu ); + + QAction *a; + + a = new QAction( QIcon( QPixmap(":/images/filenew.xpm") ), tr( "&New..." ), this ); + a->setShortcut( tr("Ctrl+N") ); + a->setStatusTip( tr("Create a new msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileNew() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap(":/images/fileopen.xpm" ) ), tr( "&Open..." ), this ); + a->setShortcut( tr("Ctrl+O") ); + a->setStatusTip( tr("Opens a msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileOpen() ) ); + tb->addAction(a); + menu->addAction(a); + + fRecentFilesMenu = menu->addMenu( tr("Recent Files") ); + for (int i=0; isetVisible(false); + connect( fRecentFilesAction[i], SIGNAL(triggered()), this, SLOT(fileOpenRecent())); + fRecentFilesMenu->addAction(fRecentFilesAction[i]); + } + fillRecentFiles(); + + a = new QAction( QIcon( QPixmap(":/images/filereload.xpm") ), tr( "Reload..." ), this ); + a->setShortcut( tr("F5") ); + a->setStatusTip( tr("Reload msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileReload() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( tr( "Open Prefs..." ), this); + connect( a, SIGNAL( triggered() ), this, SLOT( fileOpenPrefs() ) ); + menu->addAction(a); + + menu->addSeparator(); + + a = new QAction( QIcon( QPixmap(":/images/filesave.xpm") ), tr( "&Save..." ), this ); + a->setShortcut( tr("Ctrl+S") ); + a->setStatusTip( tr("Save msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileSave() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( tr( "Save &As..." ), this ); + a->setStatusTip( tr("Save msr-file As") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileSaveAs() ) ); + menu->addAction(a); + + a = new QAction( tr( "Save Prefs..." ), this ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileSavePrefs() ) ); + menu->addAction(a); + + menu->addSeparator(); + + a = new QAction( QIcon( QPixmap(":/images/fileprint.xpm") ), tr( "&Print..." ), this ); + a->setShortcut( tr("Ctrl+P") ); + a->setStatusTip( tr("Print msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( filePrint() ) ); + tb->addAction(a); + menu->addAction(a); + + menu->addSeparator(); + + a = new QAction( tr( "&Close" ), this ); + a->setShortcut( tr("Ctrl+W") ); + a->setStatusTip( tr("Close msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileClose() ) ); + menu->addAction(a); + + a = new QAction( tr( "Close &All" ), this ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileCloseAll() ) ); + menu->addAction(a); + + a = new QAction( tr( "Clo&se All Others" ), this ); + a->setShortcut( tr("Ctrl+Shift+W") ); + a->setStatusTip( tr("Close All Other Tabs") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileCloseAllOthers() ) ); + menu->addAction(a); + + menu->addSeparator(); + + a = new QAction( tr( "E&xit" ), this ); + a->setShortcut( tr("Ctrl+Q") ); + a->setStatusTip( tr("Exit Program") ); + connect( a, SIGNAL( triggered() ), this, SLOT( fileExit() ) ); + menu->addAction(a); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the edit menu and the necessary actions. + */ +void PTextEdit::setupEditActions() +{ + QToolBar *tb = new QToolBar( this ); + tb->setWindowTitle( "Edit Actions" ); + addToolBar( tb ); + + QMenu *menu = new QMenu( tr( "&Edit" ), this ); + menuBar()->addMenu( menu ); + + QAction *a; + + a = new QAction( QIcon( QPixmap( ":/images/editundo.xpm" ) ), tr( "&Undo" ), this ); + a->setShortcut( tr("Ctrl+Z") ); + a->setStatusTip( tr("Edit Undo") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editUndo() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/editredo.xpm" ) ), tr( "&Redo" ), this ); + a->setShortcut( tr("Ctrl+Y") ); + a->setStatusTip( tr("Edit Redo") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editRedo() ) ); + tb->addAction(a); + menu->addAction(a); + menu->addSeparator(); + + a = new QAction( tr( "Select &All" ), this ); + a->setShortcut( tr("Ctrl+A") ); + a->setStatusTip( tr("Edit Select All") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editSelectAll() ) ); + menu->addAction(a); + + menu->addSeparator(); + tb->addSeparator(); + + a = new QAction( QIcon( QPixmap( ":/images/editcopy.xpm" ) ), tr( "&Copy" ), this ); + a->setShortcut( tr("Ctrl+C") ); + a->setStatusTip( tr("Edit Copy") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editCopy() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/editcut.xpm" ) ), tr( "Cu&t" ), this ); + a->setShortcut( tr("Ctrl+X") ); + a->setStatusTip( tr("Edit Cut") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editCut() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/editpaste.xpm" ) ), tr( "&Paste" ), this ); + a->setShortcut( tr("Ctrl+V") ); + a->setStatusTip( tr("Edit Paste") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editPaste() ) ); + tb->addAction(a); + menu->addAction(a); + + menu->addSeparator(); + tb->addSeparator(); + + a = new QAction( QIcon( QPixmap( ":/images/editfind.xpm" ) ), tr( "&Find" ), this ); + a->setShortcut( tr("Ctrl+F") ); + a->setStatusTip( tr("Edit Find") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editFind() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/editnext.xpm" ) ), tr( "Find &Next" ), this ); + a->setShortcut( tr("F3") ); + a->setStatusTip( tr("Edit Find Next") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editFindNext() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/editprevious.xpm" ) ) , tr( "Find Pre&vious" ), this ); + a->setShortcut( tr("Shift+F4") ); + a->setStatusTip( tr("Edit Find Previous") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editFindPrevious() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( tr( "Replace..." ), this ); + a->setShortcut( tr("Ctrl+R") ); + a->setStatusTip( tr("Edit Replace") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editFindAndReplace() ) ); + menu->addAction(a); + menu->addSeparator(); + + QMenu *addSubMenu = new QMenu( tr ("Add Block"), this); + + a = new QAction( tr("Title Block"), this ); + a->setStatusTip( tr("Invokes MSR Title Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertTitle() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Parameter Block"), this ); + a->setStatusTip( tr("Invokes MSR Parameter Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertParameterBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Theory Block"), this ); + a->setStatusTip( tr("Invokes MSR Theory Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertTheoryBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Function Block"), this ); + a->setStatusTip( tr("Invokes MSR Function Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertFunctionBlock() )); + addSubMenu->addAction(a); + + // feed the theoryFunctions popup menu + QMenu *theoryFunctions = new QMenu( tr("Add Theory Function"), this ); + for (unsigned int i=0; igetTheoryCounts(); i++) { + PTheory *theoryItem = fAdmin->getTheoryItem(i); + a = new QAction( theoryItem->label, this); + theoryFunctions->addAction(a); + } + connect( theoryFunctions, SIGNAL( triggered(QAction*)), this, SLOT( insertTheoryFunction(QAction*) ) ); + + a = new QAction( tr("Asymmetry Run Block"), this ); + a->setStatusTip( tr("Invokes MSR Asymmetry Run Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertAsymRunBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Single Histo Run Block"), this ); + a->setStatusTip( tr("Invokes MSR Single Histo Run Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertSingleHistRunBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("NonMuSR Run Block"), this ); + a->setStatusTip( tr("Invokes MSR NonMuSR Run Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertNonMusrRunBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Command Block"), this ); + a->setStatusTip( tr("Invokes MSR Command Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertCommandBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Fourier Block"), this ); + a->setStatusTip( tr("Invokes MSR Fourier Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertFourierBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Plot Block"), this ); + a->setStatusTip( tr("Invokes MSR Plot Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertPlotBlock() )); + addSubMenu->addAction(a); + + a = new QAction( tr("Statistic Block"), this ); + a->setStatusTip( tr("Invokes MSR Statistic Block Dialog") ); + connect( a, SIGNAL( triggered() ), this, SLOT( insertStatisticBlock() )); + addSubMenu->addAction(a); + + menu->addMenu(addSubMenu); + menu->addMenu(theoryFunctions); + menu->addSeparator(); + + a = new QAction( tr( "Co&mment" ), this ); + a->setShortcut( tr("Ctrl+M") ); + a->setStatusTip( tr("Edit Comment Selected Lines") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editComment() ) ); + menu->addAction(a); + + a = new QAction( tr( "Unco&mment" ), this ); + a->setShortcut( tr("Ctrl+Shift+M") ); + a->setStatusTip( tr("Edit Uncomment Selected Lines") ); + connect( a, SIGNAL( triggered() ), this, SLOT( editUncomment() ) ); + menu->addAction(a); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the font/font size menu. + */ +void PTextEdit::setupTextActions() +{ + QToolBar *tb = new QToolBar( this ); + tb->setWindowTitle( "Format Actions" ); + addToolBar( tb ); + + fComboFont = new QComboBox(); + fComboFont->setEditable(true); + QFontDatabase db; + fComboFont->addItems( db.families() ); + connect( fComboFont, SIGNAL( activated( const QString & ) ), + this, SLOT( textFamily( const QString & ) ) ); + QLineEdit *edit = fComboFont->lineEdit(); + if (edit == 0) { + return; + } + edit->setText( fAdmin->getFontName() ); + tb->addWidget(fComboFont); + + fComboSize = new QComboBox( tb ); + fComboSize->setEditable(true); + QList sizes = db.standardSizes(); + QList::Iterator it = sizes.begin(); + for ( ; it != sizes.end(); ++it ) + fComboSize->addItem( QString::number( *it ) ); + connect( fComboSize, SIGNAL( activated( const QString & ) ), + this, SLOT( textSize( const QString & ) ) ); + edit = fComboSize->lineEdit(); + if (edit == 0) { + return; + } + edit->setText( QString("%1").arg(fAdmin->getFontSize()) ); + tb->addWidget(fComboSize); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the musrfit menu and the necessary actions. + */ +void PTextEdit::setupMusrActions() +{ + addToolBarBreak(); + + QToolBar *tb = new QToolBar( this ); + tb->setWindowTitle( "Musr Actions" ); + addToolBar( tb ); + + QMenu *menu = new QMenu( tr( "&MusrFit" ), this ); + menuBar()->addMenu( menu ); + + QAction *a; + a = new QAction( QIcon( QPixmap( ":/images/musrasym.xpm" ) ), tr( "&Asymmetry Default" ), this ); + a->setShortcut( tr("Alt+A") ); + a->setStatusTip( tr("Get Default Asymmetry msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrGetAsymmetryDefault() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/musrsinglehisto.xpm" ) ), tr( "Single &Histogram Default" ), this ); + a->setShortcut( tr("Alt+H") ); + a->setStatusTip( tr("Get Default Single Histogram msr-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrGetSingleHistoDefault() ) ); + tb->addAction(a); + menu->addAction(a); + + menu->addSeparator(); + tb->addSeparator(); + + a = new QAction( QIcon( QPixmap( ":/images/musrcalcchisq.xpm" ) ), tr( "Calculate Chisq" ), this ); + a->setShortcut( tr("Alt+C") ); + a->setStatusTip( tr("Calculate Chi Square (Log Max Likelihood)") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrCalcChisq() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/musrfit.xpm" ) ), tr( "&Fit" ), this ); + a->setShortcut( tr("Alt+F") ); + a->setStatusTip( tr("Fit") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrFit() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/musrswap.xpm" ) ), tr( "&Swap Msr <-> Mlog" ), this ); + a->setShortcut( tr("Alt+S") ); + a->setStatusTip( tr("Swap msr-file <-> mlog-file") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrSwapMsrMlog() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/musrmsr2data.xpm" ) ), tr( "&Msr2Data" ), this ); + a->setShortcut( tr("Alt+M") ); + a->setStatusTip( tr("Start msr2data interface") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrMsr2Data() ) ); + tb->addAction(a); + menu->addAction(a); + + menu->addSeparator(); + tb->addSeparator(); + + a = new QAction( QIcon( QPixmap( ":/images/musrview.xpm" ) ), tr( "&View" ), this ); + a->setShortcut( tr("Alt+V") ); + a->setStatusTip( tr("Start musrview") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrView() ) ); + tb->addAction(a); + menu->addAction(a); + + fMusrT0Action = new QAction( QIcon( QPixmap( ":/images/musrt0.xpm" ) ), tr( "&T0" ), this ); + fMusrT0Action->setStatusTip( tr("Start musrt0") ); + connect( fMusrT0Action, SIGNAL( triggered() ), this, SLOT( musrT0() ) ); + tb->addAction(fMusrT0Action); + menu->addAction(fMusrT0Action); + fMusrT0Action->setEnabled(fAdmin->getEnableMusrT0Flag()); + + a = new QAction( QIcon( QPixmap (":/images/musrFT.xpm") ), tr( "Raw Fourier" ), this ); + a->setStatusTip( tr("Start musrFT") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrFT() ) ); + tb->addAction(a); + menu->addAction(a); + + a = new QAction( QIcon( QPixmap( ":/images/musrprefs.xpm" ) ), tr( "&Preferences" ), this ); + a->setStatusTip( tr("Show Preferences") ); + connect( a, SIGNAL( triggered() ), this, SLOT( musrPrefs() ) ); + tb->addAction(a); + menu->addAction(a); + + menu->addSeparator(); + tb->addSeparator(); + + a = new QAction( QIcon( QPixmap(":/images/musrdump.xpm")), tr( "&Dump Header"), this); + a->setStatusTip( tr("Dumps muSR File Header Information") ); + connect( a, SIGNAL(triggered()), this, SLOT(musrDump())); + tb->addAction(a); + menu->addAction(a); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the help menu and the necessary actions. + */ +void PTextEdit::setupHelpActions() +{ + QMenu *menu = new QMenu( tr( "&Help" ), this ); + menuBar()->addMenu( menu); + + QAction *a; + a = new QAction(tr( "Contents ..." ), this ); + a->setStatusTip( tr("Help Contents") ); + connect( a, SIGNAL( triggered() ), this, SLOT( helpContents() )); + menu->addAction(a); + + a = new QAction(tr( "About ..." ), this ); + a->setStatusTip( tr("Help About") ); + connect( a, SIGNAL( triggered() ), this, SLOT( helpAbout() )); + menu->addAction(a); + + a = new QAction(tr( "About Qt..." ), this ); + a->setStatusTip( tr("Help About Qt") ); + connect( a, SIGNAL( triggered() ), this, SLOT( helpAboutQt() )); + menu->addAction(a); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

load an msr-file. + * + * \param f filename + * \param index if == -1, add the file as a new tab, otherwise, replace the contents of the tab at index. + */ +void PTextEdit::load( const QString &f, const int index ) +{ + // check if the file exists + if ( !QFile::exists( f ) ) + return; + + // create a new text edit object + PSubTextEdit *edit = new PSubTextEdit( fAdmin ); + edit->setFont(QFont(fAdmin->getFontName(), fAdmin->getFontSize())); + + // place the text edit object at the appropriate tab position + if (index == -1) + fTabWidget->addTab( edit, QFileInfo( f ).fileName() ); + else + fTabWidget->insertTab( index, edit, QFileInfo( f ).fileName() ); + QFile file( f ); + if ( !file.open( QIODevice::ReadOnly ) ) + return; + + // add file name to recent file names + fAdmin->addRecentFile(f); // keep it in admin + fillRecentFiles(); // update menu + + // add the msr-file to the file system watchersssss + fFileSystemWatcher->addPath(f); + + // read the file + QTextStream ts( &file ); + QString txt = ts.readAll(); + edit->setPlainText( txt ); + doConnections( edit ); // add all necessary signal/slot connections + + // set the tab widget to the current tab + fTabWidget->setCurrentIndex(fTabWidget->indexOf(edit)); + edit->viewport()->setFocus(); + + // update the filename mapper + fFilenames.remove( edit ); + fFilenames.insert( edit, f ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

returns the currently tab selected textedit object. + */ +PSubTextEdit *PTextEdit::currentEditor() const +{ + if ( fTabWidget->currentWidget() ) { + if (fTabWidget->currentWidget()->inherits( "PSubTextEdit" )) { + return (PSubTextEdit*)fTabWidget->currentWidget(); + } + } + + return 0; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Setup the necessray signal/slot connections for the textedit object. + * + * \param e textedit object + */ +void PTextEdit::doConnections( PSubTextEdit *e ) +{ +// connect( e, SIGNAL( currentFontChanged( const QFont & ) ), +// this, SLOT( fontChanged( const QFont & ) ) ); + + connect( e, SIGNAL( textChanged() ), this, SLOT( textChanged() )); + + connect( e, SIGNAL( cursorPositionChanged() ), this, SLOT( currentCursorPosition() )); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Validates a given runlist. + * + * \param runList run list string which should be a space separated list of run numbers. + */ +bool PTextEdit::validRunList(const QString runList) +{ + bool success = true; + + int i = 0; + QString subStr; + bool done = false; + int val = 0; + bool ok; + while (!done) { + subStr = runList.section(' ', i, i, QString::SectionSkipEmpty); + if (subStr.isEmpty()) { + done = true; + continue; + } + i++; + val = subStr.toInt(&ok); + if (!ok) { + done = true; + success = false; + } + } + + if (i == 0) { // no token found + success = false; + } + + return success; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file title. See also https://intranet.psi.ch/MUSR/MusrFit#4_1_The_Title + */ +void PTextEdit::insertTitle() +{ + currentEditor()->insertTitle(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file fit-parameter block. See also https://intranet.psi.ch/MUSR/MusrFit#4_2_The_FITPARAMETER_Block + */ +void PTextEdit::insertParameterBlock() +{ + currentEditor()->insertParameterBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file theory block. See also https://intranet.psi.ch/MUSR/MusrFit#4_3_The_THEORY_Block + */ +void PTextEdit::insertTheoryBlock() +{ + currentEditor()->insertTheoryBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Insert a selected theory function. See also https://intranet.psi.ch/MUSR/MusrFit#4_3_The_THEORY_Block + * + * \param a action of the selected theory function + */ +void PTextEdit::insertTheoryFunction(QAction *a) +{ + currentEditor()->insertTheoryFunction(a->text()); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file function block. See also https://intranet.psi.ch/MUSR/MusrFit#4_4_The_FUNCTIONS_Block + */ +void PTextEdit::insertFunctionBlock() +{ + currentEditor()->insertFunctionBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file asymmetry run block. See also https://intranet.psi.ch/MUSR/MusrFit#4_5_The_RUN_Block + */ +void PTextEdit::insertAsymRunBlock() +{ + currentEditor()->insertAsymRunBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file single histogram run block. See also https://intranet.psi.ch/MUSR/MusrFit#4_5_The_RUN_Block + */ +void PTextEdit::insertSingleHistRunBlock() +{ + currentEditor()->insertSingleHistRunBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file nonMusr run block. See also https://intranet.psi.ch/MUSR/MusrFit#4_5_The_RUN_Block + */ +void PTextEdit::insertNonMusrRunBlock() +{ + currentEditor()->insertNonMusrRunBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Inserts a default command block. See also https://intranet.psi.ch/MUSR/MusrFit#4_6_The_COMMANDS_Block + */ +void PTextEdit::insertCommandBlock() +{ + currentEditor()->insertCommandBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file Fourier block. See also https://intranet.psi.ch/MUSR/MusrFit#4_7_The_FOURIER_Block + */ +void PTextEdit::insertFourierBlock() +{ + currentEditor()->insertFourierBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Start the dialog to enter a msr-file plot block. See also https://intranet.psi.ch/MUSR/MusrFit#4_7_The_PLOT_Block + */ +void PTextEdit::insertPlotBlock() +{ + currentEditor()->insertPlotBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Inserts a default statistics block. See also https://intranet.psi.ch/MUSR/MusrFit#4_9_The_STATISTIC_Block + */ +void PTextEdit::insertStatisticBlock() +{ + currentEditor()->insertStatisticBlock(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when File/New is selected. Will generate an empty tab-textedit field in musredit. + */ +void PTextEdit::fileNew() +{ + PSubTextEdit *edit = new PSubTextEdit( fAdmin ); + edit->setFont(QFont(fAdmin->getFontName(), fAdmin->getFontSize())); + doConnections( edit ); + fTabWidget->addTab( edit, tr( "noname" ) ); + fTabWidget->setCurrentIndex(fTabWidget->indexOf(edit)); + fFilenames.insert(edit, tr("noname")); + edit->viewport()->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when File/Open is selected. Will open an msr-/mlog-file. It checks if the file is + * already open, and if so will just select the current tab. If you want to reload the file use the + * fileReload() slot. + */ +void PTextEdit::fileOpen() +{ + QStringList flns = QFileDialog::getOpenFileNames( this, tr("Open msr-/mlog-File"), + fLastDirInUse, + tr( "msr-Files (*.msr);;msr-Files (*.msr *.mlog);;All Files (*)" )); + + QStringList::Iterator it = flns.begin(); + QFileInfo finfo1, finfo2; + QString tabFln; + bool alreadyOpen = false; + + // if flns are present, keep the corresponding directory + if (flns.size() > 0) { + finfo1.setFile(flns.at(0)); + fLastDirInUse = finfo1.absoluteFilePath(); + } + + while( it != flns.end() ) { + // check if the file is not already open + finfo1.setFile(*it); + for (int i=0; icount(); i++) { + tabFln = *fFilenames.find( dynamic_cast(fTabWidget->widget(i))); + finfo2.setFile(tabFln); + if (finfo1.absoluteFilePath() == finfo2.absoluteFilePath()) { + alreadyOpen = true; + fTabWidget->setCurrentIndex(i); + break; + } + } + + if (!alreadyOpen) + load(*it); + else + fileReload(); + + ++it; + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

This slot will open the file from the recent file list. If already open, it will reload it. + */ +void PTextEdit::fileOpenRecent() +{ + QAction *action = qobject_cast(sender()); + if (action) { + // check if this file is already open and if so, switch the tab + QFileInfo finfo1, finfo2; + QString tabFln; + bool alreadyOpen = false; + finfo1.setFile(action->text()); + + for (int i=0; icount(); i++) { + tabFln = *fFilenames.find( dynamic_cast(fTabWidget->widget(i))); + finfo2.setFile(tabFln); + if (finfo1.absoluteFilePath() == finfo2.absoluteFilePath()) { + alreadyOpen = true; + fTabWidget->setCurrentIndex(i); + break; + } + } + + if (!alreadyOpen) + load(action->text()); + else + fileReload(); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will reload the currently selected msr-file. + */ +void PTextEdit::fileReload() +{ + if ( fFilenames.find( currentEditor() ) == fFilenames.end() ) { + QMessageBox::critical(this, "**ERROR**", "Cannot reload a file not previously saved ;-)"); + } else { + int index = fTabWidget->currentIndex(); + QString fln = *fFilenames.find( currentEditor() ); + fileClose(false); + load(fln, index); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will save the currently selected file. + */ +void PTextEdit::fileOpenPrefs() +{ + QString fln = QFileDialog::getOpenFileName( this, tr("Open Prefs"), + fLastDirInUse, + tr( "xml-Files (*.xml);; All Files (*)" )); + + if (fAdmin->loadPrefs(fln)) + QMessageBox::information(0, "Prefs", "Prefs Loaded."); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will save the currently selected file. + */ +void PTextEdit::fileSave() +{ + if ( !currentEditor() ) + return; + + fFileSystemWatcherActive = false; + + if ( *fFilenames.find( currentEditor() ) == QString("noname") ) { + fileSaveAs(); + } else { + QFile file( *fFilenames.find( currentEditor() ) ); + if ( !file.open( QIODevice::WriteOnly ) ) + return; + QTextStream ts( &file ); + ts << currentEditor()->toPlainText(); + + // remove trailing '*' modification indicators + QString fln = *fFilenames.find( currentEditor() ); + fTabWidget->setTabText(fTabWidget->indexOf( currentEditor() ), QFileInfo(fln).fileName()); + } + + fileSystemWatcherActivation(); // delayed activation of fFileSystemWatcherActive +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will open a file selector dialog to obtain a file name, and then save the file under the newly + * selected file name. + */ +void PTextEdit::fileSaveAs() +{ + if ( !currentEditor() ) + return; + + fFileSystemWatcherActive = false; + + QString fn = QFileDialog::getSaveFileName( this, + tr( "Save msr-/mlog-file As" ), *fFilenames.find( currentEditor() ), + tr( "msr-Files (*.msr *.mlog);;All Files (*)" ) ); + if ( !fn.isEmpty() ) { + fFilenames.remove( currentEditor() ); + fFilenames.insert( currentEditor(), fn ); + fileSave(); + fTabWidget->setTabText(fTabWidget->indexOf( currentEditor() ), QFileInfo(fn).fileName()); + } + + fileSystemWatcherActivation(); // delayed activation of fFileSystemWatcherActive +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will save the current preferences. + */ +void PTextEdit::fileSavePrefs() +{ + QString fn = QFileDialog::getSaveFileName( this, + tr( "Save Prefs As" ), "musredit_startup.xml", + tr( "xml-Files (*.xml);;All Files (*)" ) ); + + if ( !fn.isEmpty() ) { + fAdmin->savePrefs(fn); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will call a print dialog and print the msr-file. + */ +void PTextEdit::filePrint() +{ + if ( !currentEditor() ) + return; +#ifndef QT_NO_PRINTER + QPrinter printer( QPrinter::HighResolution ); + printer.setFullPage(true); + QPrintDialog dialog(&printer, this); + if (dialog.exec()) { // printer dialog + statusBar()->showMessage( "Printing..." ); + + QPainter p( &printer ); + // Check that there is a valid device to print to. + if ( !p.device() ) + return; + + QFont font( currentEditor()->QWidget::font() ); + font.setPointSize( 10 ); // we define 10pt to be a nice base size for printing + p.setFont( font ); + + int yPos = 0; // y-position for each line + QFontMetrics fm = p.fontMetrics(); + int dpiy = printer.logicalDpiY(); + int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins + + // print msr-file + QString fln = *fFilenames.find(currentEditor()); + QString header1(fln); + QFileInfo flnInfo(fln); + QString header2 = QString("last modified: ") + flnInfo.lastModified().toString("dd.MM.yyyy - hh:mm:ss"); + QString line("-------------------------------------"); + QStringList strList = currentEditor()->toPlainText().split("\n"); + for (QStringList::Iterator it = strList.begin(); it != strList.end(); ++it) { + // new page needed? + if ( margin + yPos > printer.height() - margin ) { + printer.newPage(); // no more room on this page + yPos = 0; // back to top of page + } + + if (yPos == 0) { // print header + font.setPointSize( 8 ); + p.setFont( font ); + + p.drawText(margin, margin+yPos, printer.width(), fm.lineSpacing(), + Qt::TextExpandTabs | Qt::TextDontClip, header1); + yPos += fm.lineSpacing(); + p.drawText(margin, margin+yPos, printer.width(), fm.lineSpacing(), + Qt::TextExpandTabs | Qt::TextDontClip, header2); + yPos += fm.lineSpacing(); + p.drawText(margin, margin+yPos, printer.width(), fm.lineSpacing(), + Qt::TextExpandTabs | Qt::TextDontClip, line); + yPos += 1.5*fm.lineSpacing(); + + font.setPointSize( 10 ); + p.setFont( font ); + } + + // print data + p.drawText(margin, margin+yPos, printer.width(), fm.lineSpacing(), + Qt::TextExpandTabs | Qt::TextDontClip, *it); + yPos += fm.lineSpacing(); + } + + p.end(); + } +#endif +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will remove a textedit tab from musredit. Depending on check it will done with or without checking + * if the file has been saved before. + * + * \param check if set to true, a warning dialog will popup if the file is not saved yet. + */ +void PTextEdit::fileClose(const bool check) +{ + // check if the has modification + int idx = fTabWidget->currentIndex(); + if ((fTabWidget->tabText(idx).indexOf("*")>0) && check) { + int result = QMessageBox::warning(this, "**WARNING**", + "Do you really want to close this file.\nChanges will be lost", + "Close", "Cancel"); + if (result == 1) // Cancel + return; + } + + QString str = *fFilenames.find(currentEditor()); + fFileSystemWatcher->removePath(str); + + delete currentEditor(); + + if ( currentEditor() ) + currentEditor()->viewport()->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Removes all textedit tabs from musredit. It checks if the files haven't been saved, and if so it will + * popup a warning dialog. + */ +void PTextEdit::fileCloseAll() +{ + // check if any editor tab is present, if not: get out of here + if ( !currentEditor() ) + return; + + // check if there are any unsaved tabs + for (int i=0; icount(); i++) { + if (fTabWidget->tabText(i).indexOf("*") > 0) { + int result = QMessageBox::warning(this, "**WARNING**", + "Do you really want to close all files.\nChanges of unsaved files will be lost", + "Close", "Cancel"); + if (result == 1) // Cancel + return; + break; + } + } + + // close all editor tabs + QString str; + do { + // remove file from file system watcher + str = *fFilenames.find(currentEditor()); + fFileSystemWatcher->removePath(str); + + delete currentEditor(); + + if ( currentEditor() ) + currentEditor()->viewport()->setFocus(); + } while ( currentEditor() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will close all textedit tabs but the selected one. It checks if the files haven't been saved, and if so it will + * popup a warning dialog. + */ +void PTextEdit::fileCloseAllOthers() +{ + // check if any editor tab is present, if not: get out of here + if ( !currentEditor() ) + return; + + // check if there are any unsaved tabs + for (int i=0; icount(); i++) { + if (fTabWidget->tabText(i).indexOf("*") > 0) { + int result = QMessageBox::warning(this, "**WARNING**", + "Do you really want to close all files.\nChanges of unsaved files will be lost", + "Close", "Cancel"); + if (result == 1) // Cancel + return; + break; + } + } + + // keep label of the current editor + QString label = fTabWidget->tabText(fTabWidget->currentIndex()); + + // check if only the current editor is present. If yes: nothing to be done + if (fTabWidget->count() == 1) + return; + + // close all editor tabs + int i=0; + QString str; + do { + if (fTabWidget->tabText(i) != label) { + // remove file from file system watcher + str = *fFilenames.find(dynamic_cast(fTabWidget->widget(i))); + fFileSystemWatcher->removePath(str); + + delete fTabWidget->widget(i); + } else { + i++; + } + } while ( fTabWidget->count() > 1 ); + + currentEditor()->viewport()->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Will quit musredit. + */ +void PTextEdit::fileExit() +{ + // check if there are still some modified files open + for (int i=0; i < fTabWidget->count(); i++) { + if (fTabWidget->tabText(i).indexOf("*") > 0) { + int result = QMessageBox::warning(this, "**WARNING**", + "Do you really want to exit from the applcation.\nChanges will be lost", + "Exit", "Cancel"); + if (result == 1) // Cancel + return; + break; + } + } + + qApp->quit(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Text undo of the current textedit tab. + */ +void PTextEdit::editUndo() +{ + if ( !currentEditor() ) + return; + currentEditor()->undo(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Text redo of the current textedit tab + */ +void PTextEdit::editRedo() +{ + if ( !currentEditor() ) + return; + currentEditor()->redo(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Select all text of the current textedit tab. + */ +void PTextEdit::editSelectAll() +{ + if ( !currentEditor() ) + return; + currentEditor()->selectAll(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Cut the selection of the current textedit tab. + */ +void PTextEdit::editCut() +{ + if ( !currentEditor() ) + return; + currentEditor()->cut(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Copy the selection of the current textedit tab. + */ +void PTextEdit::editCopy() +{ + if ( !currentEditor() ) + return; + currentEditor()->copy(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Paste at the cursor position of the current textedit tab. + */ +void PTextEdit::editPaste() +{ + if ( !currentEditor() ) + return; + currentEditor()->paste(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts a find dialog, and searches for a find string. + */ +void PTextEdit::editFind() +{ + if ( !currentEditor() ) + return; + + // check if first time called, and if yes create find and replace data structure + if (fFindReplaceData == 0) { + fFindReplaceData = new PFindReplaceData(); + fFindReplaceData->findText = QString(""); + fFindReplaceData->replaceText = QString(""); + fFindReplaceData->caseSensitive = true; + fFindReplaceData->wholeWordsOnly = false; + fFindReplaceData->fromCursor = true; + fFindReplaceData->findBackwards = false; + fFindReplaceData->selectedText = false; + fFindReplaceData->promptOnReplace = true; + } + + if (fFindReplaceData == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke find data structure, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + PFindDialog *dlg = new PFindDialog(fFindReplaceData, currentEditor()->textCursor().hasSelection()); + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke find dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + dlg->exec(); + + if (dlg->result() != QDialog::Accepted) { + delete dlg; + return; + } + + fFindReplaceData = dlg->getData(); + + delete dlg; + dlg = 0; + + // try to find the search text + if (!fFindReplaceData->fromCursor) + currentEditor()->textCursor().setPosition(0); + + QTextDocument::FindFlags flags = 0; + if (fFindReplaceData->caseSensitive) + flags |= QTextDocument::FindCaseSensitively; + else if (fFindReplaceData->findBackwards) + flags |= QTextDocument::FindBackward; + else if (fFindReplaceData->wholeWordsOnly) + flags |= QTextDocument::FindWholeWords; + + currentEditor()->find(fFindReplaceData->findText, flags); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Searches for a find string in the forward direction. + */ +void PTextEdit::editFindNext() +{ + QTextDocument::FindFlags flags = 0; + if (fFindReplaceData->caseSensitive) + flags |= QTextDocument::FindCaseSensitively; + else if (fFindReplaceData->wholeWordsOnly) + flags |= QTextDocument::FindWholeWords; + + currentEditor()->find(fFindReplaceData->findText, flags); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Searches for a find string in the backward direction. + */ +void PTextEdit::editFindPrevious() +{ + QTextDocument::FindFlags flags = 0; + if (fFindReplaceData->caseSensitive) + flags |= QTextDocument::FindCaseSensitively; + else if (fFindReplaceData->wholeWordsOnly) + flags |= QTextDocument::FindWholeWords; + + flags |= QTextDocument::FindBackward; + + currentEditor()->find(fFindReplaceData->findText, flags); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts a find/replace dialog, and searches for a find string and replaces it depending of the replace options. + */ +void PTextEdit::editFindAndReplace() +{ + if ( !currentEditor() ) + return; + + // check if first time called, and if yes create find and replace data structure + if (fFindReplaceData == 0) { + fFindReplaceData = new PFindReplaceData(); + fFindReplaceData->findText = QString(""); + fFindReplaceData->replaceText = QString(""); + fFindReplaceData->caseSensitive = true; + fFindReplaceData->wholeWordsOnly = false; + fFindReplaceData->fromCursor = true; + fFindReplaceData->findBackwards = false; + fFindReplaceData->selectedText = false; + fFindReplaceData->promptOnReplace = true; + } + + if (fFindReplaceData == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke find&replace data structure, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + PReplaceDialog *dlg = new PReplaceDialog(fFindReplaceData, currentEditor()->textCursor().hasSelection()); + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke find&replace dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + dlg->exec(); + + if (dlg->result() != QDialog::Accepted) { + delete dlg; + return; + } + + fFindReplaceData = dlg->getData(); + + delete dlg; + dlg = 0; + + if (fFindReplaceData->promptOnReplace) { + editFindNext(); + + PReplaceConfirmationDialog confirmDlg(this); + + // connect all the necessary signals/slots + QObject::connect(confirmDlg.fReplace_pushButton, SIGNAL(clicked()), this, SLOT(replace())); + QObject::connect(confirmDlg.fReplaceAndClose_pushButton, SIGNAL(clicked()), this, SLOT(replaceAndClose())); + QObject::connect(confirmDlg.fReplaceAll_pushButton, SIGNAL(clicked()), this, SLOT(replaceAll())); + QObject::connect(confirmDlg.fFindNext_pushButton, SIGNAL(clicked()), this, SLOT(editFindNext())); + QObject::connect(this, SIGNAL(close()), &confirmDlg, SLOT(accept())); + + confirmDlg.exec(); + } else { + replaceAll(); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Comment a selection, i.e. add a '#' character in front of each line of the selection. + * (Multiple selections not yet supported). + */ +void PTextEdit::editComment() +{ + if ( !currentEditor() ) + return; + + + QTextCursor curs = currentEditor()->textCursor(); + + if (curs.hasComplexSelection()) { // multiple selections + // multiple selections (STILL MISSING) + } else if (curs.hasSelection()) { // simple selection + int pos = curs.position(); + int secStart = curs.selectionStart(); // keep start position of the selection + int secEnd = curs.selectionEnd(); // keep end position of the selection + curs.clearSelection(); + curs.setPosition(secStart); // set the anchor to the start of the selection + curs.movePosition(QTextCursor::StartOfBlock); + do { + curs.insertText("#"); + } while (curs.movePosition(QTextCursor::NextBlock) && (curs.position() <= secEnd)); + curs.setPosition(pos+1); + } else { // no selection + int pos = curs.position(); + curs.clearSelection(); + curs.movePosition(QTextCursor::StartOfLine); + curs.insertText("#"); + curs.setPosition(pos+1); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Uncomment a selection, i.e. remove a '#' character in front of each line of the selection. + * (Multiple selections not yet supported). + */ +void PTextEdit::editUncomment() +{ + if ( !currentEditor() ) + return; + + + QTextCursor curs = currentEditor()->textCursor(); + + if (curs.hasComplexSelection()) { + // multiple selections (STILL MISSING) + } else if (curs.hasSelection()) { + int pos = curs.position(); + int secStart = curs.selectionStart(); // keep start position of the selection + int secEnd = curs.selectionEnd(); // keep end position of the selection + curs.clearSelection(); + curs.setPosition(secStart); // set the anchor to the start of the selection + curs.movePosition(QTextCursor::StartOfBlock); + while (curs.position() < secEnd) { + QString line = curs.block().text(); + if (line.startsWith("#")) { + line.remove(0, 1); + curs.select(QTextCursor::BlockUnderCursor); + curs.removeSelectedText(); + curs.insertText("\n"+line); + pos -= 1; + } + curs.movePosition(QTextCursor::NextBlock); + } + curs.setPosition(pos); + currentEditor()->setTextCursor(curs); // needed to update document cursor + } else { // no selection + int pos = curs.position(); + curs.clearSelection(); + curs.movePosition(QTextCursor::StartOfLine, QTextCursor::MoveAnchor, 1); + QString line = curs.block().text(); + if (line.startsWith("#")) { + line.remove(0, 1); + curs.select(QTextCursor::BlockUnderCursor); + curs.removeSelectedText(); + if (currentEditor()->textCursor().columnNumber() == 0) + curs.insertText(line); + else + curs.insertText("\n"+line); + pos -= 1; + } + curs.setPosition(pos); + currentEditor()->setTextCursor(curs); // needed to update document cursor + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Chances the font. + * + * \param f font name + */ +void PTextEdit::textFamily( const QString &f ) +{ + fAdmin->setFontName(f); + + if ( !currentEditor() ) + return; + + currentEditor()->setFont(QFont(f,fAdmin->getFontSize())); + currentEditor()->viewport()->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Chances the font size. + * + * \param p font size in points. + */ +void PTextEdit::textSize( const QString &p ) +{ + fAdmin->setFontSize(p.toInt()); + + if ( !currentEditor() ) + return; + + currentEditor()->setFont(QFont(fAdmin->getFontName(), p.toInt())); + currentEditor()->viewport()->setFocus(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Loads a default asymmetry msr-file. + */ +void PTextEdit::musrGetAsymmetryDefault() +{ + QString runFileName, beamline, institute, fileFormat; + + PGetDefaultDialog *dlg = new PGetDefaultDialog(fAdmin->getHelpUrl("main")); + + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke get default dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + // set defaults + dlg->setBeamline(fAdmin->getBeamline()); + dlg->setInstitute(fAdmin->getInstitute()); + dlg->setFileFormat(fAdmin->getFileFormat()); + + dlg->exec(); + + if (dlg->result() != QDialog::Accepted) { + delete dlg; + dlg = 0; + return; + } + + runFileName = dlg->getRunFileName(); + beamline = dlg->getBeamline(); + institute = dlg->getInstitute(); + fileFormat = dlg->getFileFormat(); + delete dlg; + dlg = 0; + + QFile file(fAdmin->getMsrDefaultFilePath()+"/asymDefault.msr"); + if (file.open(QIODevice::ReadOnly)) { + // make a new file tab + fileNew(); + QTextStream ts( &file ); + QString line; + while ( !ts.atEnd() ) { + line = ts.readLine(); // line of text excluding '\n' + if (line.startsWith("RUN")) { + QString runHeader = "RUN " + runFileName + " " + beamline.toUpper() + " " + institute + " " + fileFormat.toUpper() + " (name beamline institute data-file-format)\n"; + currentEditor()->insertPlainText(runHeader); + } else { // just copy the text + currentEditor()->insertPlainText(line+"\n"); + } + } + currentEditor()->textCursor().setPosition(0); + + file.close(); + } else { + QMessageBox::critical(this, "**ERROR**", + "Couldn't find default asymmetry file template :-(", + QMessageBox::Ok, QMessageBox::NoButton); + } + +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Loads a default single histogram msr-file. + */ +void PTextEdit::musrGetSingleHistoDefault() +{ + QString runFileName, beamline, institute, fileFormat; + + PGetDefaultDialog *dlg = new PGetDefaultDialog(); + + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke get default dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + // set defaults + dlg->setBeamline(fAdmin->getBeamline()); + dlg->setInstitute(fAdmin->getInstitute().toLower()); + dlg->setFileFormat(fAdmin->getFileFormat().toLower()); + + dlg->exec(); + + if (dlg->result() != QDialog::Accepted) { + delete dlg; + dlg = 0; + return; + } + + runFileName = dlg->getRunFileName(); + beamline = dlg->getBeamline(); + institute = dlg->getInstitute(); + fileFormat = dlg->getFileFormat(); + delete dlg; + dlg = 0; + + QFile file(fAdmin->getMsrDefaultFilePath()+"/singleHistoDefault.msr"); + if (file.open(QIODevice::ReadOnly)) { + // make a new file tab + fileNew(); + QTextStream ts( &file ); + QString line; + while ( !ts.atEnd() ) { + line = ts.readLine(); // line of text excluding '\n' + if (line.startsWith("RUN")) { + QString runHeader = "RUN " + runFileName + " " + beamline.toUpper() + " " + institute + " " + fileFormat.toUpper() + " (name beamline institute data-file-format)\n"; + currentEditor()->insertPlainText(runHeader); + } else { // just copy the text + currentEditor()->insertPlainText(line+"\n"); + } + } + currentEditor()->textCursor().setPosition(0); + + file.close(); + } else { + QMessageBox::critical(this, "**ERROR**", + "Couldn't find default single histogram file template :-(", + QMessageBox::Ok, QMessageBox::NoButton); + } + +} + +//---------------------------------------------------------------------------------------------------- +/** + *

calls musrfit --chisq-only . + */ +void PTextEdit::musrCalcChisq() +{ + if ( !currentEditor() ) + return; + + QString tabLabel = fTabWidget->tabText(fTabWidget->currentIndex()); + if (tabLabel == "noname") { + QMessageBox::critical(this, "**ERROR**", "For a fit a real msr-file is needed."); + return; + } else if (tabLabel == "noname*") { + fileSaveAs(); + } else if (tabLabel.indexOf("*") > 0) { + fileSave(); + } + + QVector cmd; + QString str; + str = fAdmin->getExecPath() + "/musrfit"; + + cmd.append(str); + cmd.append(QFileInfo(*fFilenames.find( currentEditor())).fileName() ); + cmd.append("--chisq-only"); + cmd.append("--estimateN0"); + cmd.append("no"); + PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd); + fitOutputHandler.setModal(true); + fitOutputHandler.exec(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

calls musrfit . can be set in the MusrFit/Preferences. + */ +void PTextEdit::musrFit() +{ + if ( !currentEditor() ) + return; + + QString tabLabel = fTabWidget->tabText(fTabWidget->currentIndex()); + if (tabLabel == "noname") { + QMessageBox::critical(this, "**ERROR**", "For a fit a real msr-file is needed."); + return; + } else if (tabLabel == "noname*") { + fileSaveAs(); + } else if (tabLabel.indexOf("*") > 0) { + fileSave(); + } + + QVector cmd; + QString str; + str = fAdmin->getExecPath() + "/musrfit"; + + cmd.append(str); + cmd.append(QFileInfo(*fFilenames.find( currentEditor())).fileName() ); + + // check if keep minuit2 output is wished + if (fAdmin->getKeepMinuit2OutputFlag()) + cmd.append("--keep-mn2-output"); + + // check if title of the data file should be used to replace the msr-file title + if (fAdmin->getTitleFromDataFileFlag()) + cmd.append("--title-from-data-file"); + + // check if dump files are wished + if (fAdmin->getDumpAsciiFlag()) { + cmd.append("--dump"); + cmd.append("ascii"); + } + if (fAdmin->getDumpRootFlag()) { + cmd.append("--dump"); + cmd.append("root"); + } + + // check estimate N0 flag + if (fAdmin->getEstimateN0Flag()) { + cmd.append("--estimateN0"); + cmd.append("yes"); + } else { + cmd.append("--estimateN0"); + cmd.append("no"); + } + + // check per-run-block-chisq flag + if (fAdmin->getChisqPerRunBlockFlag()) { + cmd.append("--per-run-block-chisq"); + cmd.append("yes"); + } else { + cmd.append("--per-run-block-chisq"); + cmd.append("no"); + } + + // add timeout + cmd.append("--timeout"); + QString numStr; + numStr.setNum(fAdmin->getTimeout()); + cmd.append(numStr); + + PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd); + fitOutputHandler.setModal(true); + fFileSystemWatcherActive = false; + fitOutputHandler.exec(); + + // handle the reloading of the files + + // get current file name + QString currentFileName = *fFilenames.find( currentEditor() ); + QString complementFileName; + // check if it is a msr-, mlog-, or another file + int idx; + if ((idx = currentFileName.indexOf(".msr")) > 0) { // msr-file + complementFileName = currentFileName; + complementFileName.replace(idx, 5, ".mlog"); + } else if ((idx = currentFileName.indexOf(".mlog")) > 0) { // mlog-file + complementFileName = currentFileName; + complementFileName.replace(idx, 5, ".msr "); + complementFileName = complementFileName.trimmed(); + } else { // neither a msr- nor a mlog-file + QMessageBox::information( this, "musrFit", + "This is neither a msr- nor a mlog-file, hence no idea what to be done.\n", + QMessageBox::Ok ); + return; + } + + int currentIdx = fTabWidget->currentIndex(); + + // reload current file + fileClose(); + load(currentFileName, currentIdx); + + // check if swap file is open as well, and if yes, reload it + idx = -1; + for (int i=0; icount(); i++) { + if (fTabWidget->tabText(i).indexOf(complementFileName) >= 0) { + idx = i; + break; + } + } + if (idx >= 0) { // complement file is open + fTabWidget->setCurrentIndex(idx); + fileClose(); + load(complementFileName, idx); + fTabWidget->setCurrentIndex(currentIdx); + } + + fileSystemWatcherActivation(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts a msr2data input dialog which collects all the necessary data before calling msr2data. + */ +void PTextEdit::musrMsr2Data() +{ + if (fMsr2DataParam == 0) { + fMsr2DataParam = new PMsr2DataParam(); + *fMsr2DataParam = fAdmin->getMsr2DataParam(); + } + + // init fMsr2DataParam + fMsr2DataParam->keepMinuit2Output = fAdmin->getKeepMinuit2OutputFlag(); + fMsr2DataParam->titleFromDataFile = fAdmin->getTitleFromDataFileFlag(); + + PMsr2DataDialog *dlg = new PMsr2DataDialog(fMsr2DataParam, fAdmin->getHelpUrl("msr2data")); + + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR**", "Couldn't invoke msr2data dialog, sorry :-(", QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + if (dlg->exec() == QDialog::Accepted) { + QString first, last; + QString runList; + QString runListFileName; + QFileInfo fi; + QString str; + int i, end; + + fMsr2DataParam = dlg->getMsr2DataParam(); + fAdmin->setKeepMinuit2OutputFlag(fMsr2DataParam->keepMinuit2Output); + fAdmin->setTitleFromDataFileFlag(fMsr2DataParam->titleFromDataFile); + + // analyze parameters + switch (dlg->getRunTag()) { + case -1: // not valid + QMessageBox::critical(this, "**ERROR**", + "No valid run list input found :-(\nCannot do anything.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + break; + case 0: // first last + first = QString("%1").arg(fMsr2DataParam->firstRun); + last = QString("%1").arg(fMsr2DataParam->lastRun); + if (first.isEmpty() || last.isEmpty()) { + QMessageBox::critical(this, "**ERROR**", + "If you choose the first/last option,\nfirst AND last needs to be provided.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + break; + case 1: // run list + runList = fMsr2DataParam->runList; + if (!validRunList(runList)) { + QMessageBox::critical(this, "**ERROR**", + "Invalid Run List!\nThe run list needs to be a space separated list of run numbers.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + } + break; + case 2: // run list file name + runListFileName = fMsr2DataParam->runListFileName; + fi.setFile(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + runListFileName); + if (!fi.exists()) { + str = QString("Run List File '%1' doesn't exist.").arg(runListFileName); + QMessageBox::critical(this, "**ERROR**", + str, QMessageBox::Ok, QMessageBox::NoButton); + return; + } + break; + default: // never should reach this point + QMessageBox::critical(this, "**ERROR**", + "No idea how you could reach this point.\nPlease contact the developers.", + QMessageBox::Ok, QMessageBox::NoButton); + return; + break; + } + + // form command + QVector cmd; + + str = fAdmin->getExecPath() + "/msr2data"; + cmd.append(str); + + // run list argument + switch (dlg->getRunTag()) { + case 0: + cmd.append(first); + cmd.append(last); + break; + case 1: + end = 0; + while (!runList.section(' ', end, end, QString::SectionSkipEmpty).isEmpty()) { + end++; + } + // first element + if (end == 1) { + str = "[" + runList + "]"; + cmd.append(str); + } else { + str = "[" + runList.section(' ', 0, 0, QString::SectionSkipEmpty); + cmd.append(str); + // middle elements + for (i=1; imsrFileExtension; + if (str.isEmpty()) + cmd.append(""); + else + cmd.append(str); + + // options + + // no header flag? + if (!fMsr2DataParam->writeDbHeader) + cmd.append("noheader"); + + // ignore data header info flag present? + if (fMsr2DataParam->ignoreDataHeaderInfo) + cmd.append("nosummary"); + + // template run no fitting but: (i) no fit only flag, (ii) no create msr-file only flag + if ((fMsr2DataParam->templateRunNo != -1) && !fMsr2DataParam->fitOnly && !fMsr2DataParam->createMsrFileOnly) { + str = QString("%1").arg(fMsr2DataParam->templateRunNo); + str = "fit-" + str; + if (!fMsr2DataParam->chainFit) { + str += "!"; + } + cmd.append(str); + } + + // template run no AND create msr-file only flag + if ((fMsr2DataParam->templateRunNo != -1) && fMsr2DataParam->createMsrFileOnly) { + str = QString("%1").arg(fMsr2DataParam->templateRunNo); + str = "msr-" + str; + cmd.append(str); + } + + // fit only + if (fMsr2DataParam->fitOnly) { + str = "fit"; + cmd.append(str); + } + + // keep minuit2 output + if (fMsr2DataParam->keepMinuit2Output) { + cmd.append("-k"); + } + + // replace msr-file title by data file title. Add flag only if a fit is done + if (fMsr2DataParam->titleFromDataFile && (fMsr2DataParam->fitOnly || fMsr2DataParam->templateRunNo != -1)) { + cmd.append("-t"); + } + + // DB output wished + if (!fMsr2DataParam->dbOutputFileName.isEmpty()) { + str = "-o" + fMsr2DataParam->dbOutputFileName; + cmd.append(str); + } + + // write column data + if (fMsr2DataParam->writeColumnData) { + cmd.append("data"); + } + + // global flag check + if (fMsr2DataParam->global) { + cmd.append("global"); + } + + // global+ flag check + if (fMsr2DataParam->globalPlus) { + if (fMsr2DataParam->chainFit) { + cmd.append("global+"); + } else { + cmd.append("global+!"); + } + } + + // recreate db file + if (fMsr2DataParam->recreateDbFile) { + cmd.append("new"); + } + + PFitOutputHandler fitOutputHandler(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath(), cmd); + fitOutputHandler.setModal(true); + fFileSystemWatcherActive = false; + fitOutputHandler.exec(); + + // check if it is necessary to load msr-files + if (fMsr2DataParam->openFilesAfterFitting) { + QString fln; + QFile *file; + QTextStream *stream; + + if (!fMsr2DataParam->global) { // standard fits + + switch(dlg->getRunTag()) { + case 0: // first run / last run list + if (fMsr2DataParam->firstRun != -1) { + for (int i=fMsr2DataParam->firstRun; i<=fMsr2DataParam->lastRun; i++) { + if (fMsr2DataParam->msrFileExtension.isEmpty()) + fln = QString("%1").arg(i) + ".msr"; + else + fln = QString("%1").arg(i) + fMsr2DataParam->msrFileExtension + ".msr"; + + load(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fln); + } + } + break; + case 1: // run list + end = 0; + while (!runList.section(' ', end, end, QString::SectionSkipEmpty).isEmpty()) { + end++; + } + for (int i=0; imsrFileExtension.isEmpty()) + fln += ".msr"; + else + fln += fMsr2DataParam->msrFileExtension + ".msr"; + + load(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fln); + } + break; + case 2: // run list file + file = new QFile(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fMsr2DataParam->runListFileName); + if (!file->open(QIODevice::ReadOnly)) { + str = QString("Couldn't open run list file %1, sorry.").arg(fMsr2DataParam->runListFileName); + QMessageBox::critical(this, "**ERROR**", str.toLatin1(), QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + stream = new QTextStream(file); + while ( !stream->atEnd() ) { + str = stream->readLine(); // line of text excluding '\n' + str.trimmed(); + if (!str.isEmpty() && !str.startsWith("#") && !str.startsWith("run", Qt::CaseInsensitive)) { + fln = str.section(' ', 0, 0, QString::SectionSkipEmpty); + if (fMsr2DataParam->msrFileExtension.isEmpty()) + fln += ".msr"; + else + fln += fMsr2DataParam->msrFileExtension + ".msr"; + + load(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fln); + } + } + + file->close(); + + // clean up + delete stream; + delete file; + break; + default: + break; + } + } else { // global tag set + // get the first run number needed to build the global fit file name + fln = QString(""); + switch(dlg->getRunTag()) { + case 0: // first/last run + fln = QString("%1").arg(fMsr2DataParam->firstRun) + QString("+global") + fMsr2DataParam->msrFileExtension + QString(".msr"); + break; + case 1: // run list + fln = runList.section(" ", 0, 0, QString::SectionSkipEmpty) + QString("+global") + fMsr2DataParam->msrFileExtension + QString(".msr"); + break; + case 2: // run list file name + file = new QFile(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fMsr2DataParam->runListFileName); + if (!file->open(QIODevice::ReadOnly)) { + str = QString("Couldn't open run list file %1, sorry.").arg(fMsr2DataParam->runListFileName); + QMessageBox::critical(this, "**ERROR**", str.toLatin1(), QMessageBox::Ok, QMessageBox::NoButton); + return; + } + + stream = new QTextStream(file); + while ( !stream->atEnd() ) { + str = stream->readLine(); // line of text excluding '\n' + str.trimmed(); + if (!str.isEmpty() && !str.startsWith("#") && !str.startsWith("run", Qt::CaseInsensitive)) { + fln = str.section(' ', 0, 0, QString::SectionSkipEmpty); + break; + } + } + + file->close(); + + fln += QString("+global") + fMsr2DataParam->msrFileExtension + QString(".msr"); + + // clean up + delete stream; + delete file; + break; + default: + break; + } + + load(QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "/" + fln); + } + } + } + + delete dlg; + dlg = 0; + + fileSystemWatcherActivation(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Calls musrview . + */ +void PTextEdit::musrView() +{ + if ( !currentEditor() ) + return; + + QString tabLabel = fTabWidget->tabText(fTabWidget->currentIndex()); + if (tabLabel == "noname") { + QMessageBox::critical(this, "**ERROR**", "For a view a real mlog/msr-file is needed."); + return; + } else if (tabLabel == "noname*") { + fileSaveAs(); + } else if (tabLabel.indexOf("*") > 0) { + fileSave(); + } + + QString cmd; + QString str; + + str = "cd \"" + QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "\"; "; + + str += fAdmin->getExecPath() + "/musrview"; + cmd = str + " \""; + + str = *fFilenames.find( currentEditor() ); + QString numStr; + numStr.setNum(fAdmin->getTimeout()); + cmd += str + "\" --timeout " + numStr; + if (fAdmin->getMusrviewShowFourierFlag()) + cmd += " -f "; + cmd += " &"; + + int status=system(cmd.toLatin1()); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Callse musrt0 . + */ +void PTextEdit::musrT0() +{ + if ( !currentEditor() ) + return; + + QString tabLabel = fTabWidget->tabText(fTabWidget->currentIndex()); + if (tabLabel == "noname") { + QMessageBox::critical(this, "**ERROR**", "For a view a real mlog/msr-file is needed."); + return; + } else if (tabLabel == "noname*") { + fileSaveAs(); + } else if (tabLabel.indexOf("*") > 0) { + fileSave(); + } + + QString cmd; + QString str; + + str = fAdmin->getExecPath() + "/musrt0"; + cmd = str + " \""; + + str = *fFilenames.find( currentEditor() ); + QString numStr; + numStr.setNum(fAdmin->getTimeout()); + cmd += str + "\" --timeout " + numStr + " &"; + + int status=system(cmd.toLatin1()); + + QString fln = *fFilenames.find( currentEditor() ); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Calls musrFT via selection/option dialog. It will ask the user if he/she wants to overwrite some + * of the default settings. + */ +void PTextEdit::musrFT() +{ + + PGetMusrFTOptionsDialog *dlg = new PGetMusrFTOptionsDialog(*fFilenames.find( currentEditor() ), fMusrFTPrevCmd, fAdmin->getHelpUrl("musrFT")); + + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR** musrFT", "Couldn't invoke musrFT Options Dialog."); + return; + } + + if (dlg->exec() == QDialog::Accepted) { + fMusrFTPrevCmd = dlg->getMusrFTOptions(); + QProcess proc(this); + proc.setStandardOutputFile("musrFT.log"); + proc.setStandardErrorFile("musrFT.log"); + QString cmd = fAdmin->getExecPath() + "/musrFT"; + proc.startDetached(cmd, fMusrFTPrevCmd); + } + + delete dlg; + dlg = 0; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Calls the preferences dialog which is used to set some global options. + */ +void PTextEdit::musrPrefs() +{ + PPrefsDialog *dlg = new PPrefsDialog(fAdmin); + + if (dlg == 0) { + QMessageBox::critical(this, "**ERROR** musrPrefs", "Couldn't invoke Preferences Dialog."); + return; + } + + if (dlg->exec() == QDialog::Accepted) { + fAdmin->setMusrviewShowFourierFlag(dlg->getMusrviewShowFourierFlag()); + fAdmin->setKeepMinuit2OutputFlag(dlg->getKeepMinuit2OutputFlag()); + fAdmin->setTitleFromDataFileFlag(dlg->getTitleFromDataFileFlag()); + fAdmin->setEnableMusrT0Flag(dlg->getEnableMusrT0Flag()); + fMusrT0Action->setEnabled(fAdmin->getEnableMusrT0Flag()); + if (dlg->getDump() == 1) { + fAdmin->setDumpAsciiFlag(true); + fAdmin->setDumpRootFlag(false); + } else if (dlg->getDump() == 2) { + fAdmin->setDumpAsciiFlag(false); + fAdmin->setDumpRootFlag(true); + } else { + fAdmin->setDumpAsciiFlag(false); + fAdmin->setDumpRootFlag(false); + } + fAdmin->setTimeout(dlg->getTimeout()); + fAdmin->setChisqPerRunBlockFlag(dlg->getKeepRunPerBlockChisqFlag()); + fAdmin->setEstimateN0Flag(dlg->getEstimateN0Flag()); + } + + delete dlg; + dlg = 0; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Swaps the currently open msr-file with its mlog-file (if present) and updates musredit accordingly. + */ +void PTextEdit::musrSwapMsrMlog() +{ + if ( !currentEditor() ) + return; + + // get current file name + QString currentFileName = *fFilenames.find( currentEditor() ); + QString swapFileName; + QString tempFileName = QString("__swap__.msr"); + + // check if it is a msr-, mlog-, or another file + int idx; + if ((idx = currentFileName.indexOf(".msr")) > 0) { // msr-file + swapFileName = currentFileName; + swapFileName.replace(idx, 5, ".mlog"); + } else if ((idx = currentFileName.indexOf(".mlog")) > 0) { // mlog-file + swapFileName = currentFileName; + swapFileName.replace(idx, 5, ".msr "); + swapFileName = swapFileName.trimmed(); + } else { // neither a msr- nor a mlog-file + QMessageBox::information( this, "musrSwapMsrMlog", + "This is neither a msr- nor a mlog-file, hence nothing to be swapped.\n", + QMessageBox::Ok ); + return; + } + + // check if the swapFile exists + if (!QFile::exists(swapFileName)) { + QString msg = "swap file '" + swapFileName + "' doesn't exist.\nCannot swap anything."; + QMessageBox::warning( this, "musrSwapMsrMlog", + msg, QMessageBox::Ok, QMessageBox::NoButton ); + return; + } + + // check if the file needs to be saved + if (fTabWidget->tabText(fTabWidget->currentIndex()).indexOf("*") > 0) { // needs to be saved first + fileSave(); + } + + // swap files + QString cmd; + cmd = QString("cp \"") + currentFileName + QString("\" \"") + tempFileName + QString("\""); + int status=system(cmd.toLatin1()); + cmd = QString("cp \"") + swapFileName + QString("\" \"") + currentFileName + QString("\""); + status=system(cmd.toLatin1()); + cmd = QString("cp \"") + tempFileName + QString("\" \"") + swapFileName + QString("\""); + status=system(cmd.toLatin1()); + cmd = QString("rm \"") + tempFileName + QString("\""); + status=system(cmd.toLatin1()); + + int currentIdx = fTabWidget->currentIndex(); + + // reload current file + fileClose(); + load(currentFileName); + + // check if swap file is open as well, and if yes, reload it + idx = -1; + for (int i=0; icount(); i++) { + if (fTabWidget->tabText(i).indexOf(swapFileName) >= 0) { + idx = i; + break; + } + } + if (idx >= 0) { // swap file is open + fTabWidget->setCurrentIndex(idx); + fileClose(); + load(swapFileName); + fTabWidget->setCurrentIndex(currentIdx); + } +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Dumps the run header information of a selected muSR data file. + */ +void PTextEdit::musrDump() +{ + // select a muSR data filename + QString fileName = QFileDialog::getOpenFileName(this, tr("Select muSR Data File"), "./", tr("muSR Data Files (*.root *.bin *.msr *.nxs)")); + if (fileName.isEmpty()) + return; + + QVector cmd; + QString str = fAdmin->getExecPath() + "/dump_header"; + cmd.append(str); + cmd.append(fileName); + + PDumpOutputHandler dumpOutputHandler(cmd); + dumpOutputHandler.setModal(false); + dumpOutputHandler.exec(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the help content browser. + */ +void PTextEdit::helpContents() +{ + PHelp *help = new PHelp(fAdmin->getHelpUrl("main")); + help->show(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the help about info box. + */ +void PTextEdit::helpAbout() +{ + PMusrEditAbout *about = new PMusrEditAbout(); + about->show(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Starts the help about Qt info box. + */ +void PTextEdit::helpAboutQt() +{ + QMessageBox::aboutQt(this); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the font shall be changed. + * + * \param f font object + */ +void PTextEdit::fontChanged( const QFont &f ) +{ + fFontChanging = true; + fComboFont->lineEdit()->setText( f.family() ); + fComboSize->lineEdit()->setText( QString::number( f.pointSize() ) ); + + if (!currentEditor()) + return; + + currentEditor()->setFont(f); + currentEditor()->setWindowModified(false); + currentEditor()->viewport()->setFocus(); + fFontChanging = false; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the text of the document has changed. It adds a star to the tab label if the + * document has been modified. + * + * \param forced + */ +void PTextEdit::textChanged(const bool forced) +{ + + if (!currentEditor()) + return; + + if (fFontChanging) + return; + + QString tabLabel = fTabWidget->tabText(fTabWidget->currentIndex()); + + if ((fTabWidget->tabText(fTabWidget->currentIndex()).indexOf("*") > 0) && + !currentEditor()->document()->isModified()) { + tabLabel.truncate(tabLabel.length()-1); + fTabWidget->setTabText(fTabWidget->currentIndex(), tabLabel); + } + + if ((fTabWidget->tabText(fTabWidget->currentIndex()).indexOf("*") < 0) && + currentEditor()->document()->isModified()) { + fTabWidget->setTabText(fTabWidget->currentIndex(), tabLabel+"*"); + } + + if ((fTabWidget->tabText(fTabWidget->currentIndex()).indexOf("*") < 0) && + forced) + fTabWidget->setTabText(fTabWidget->currentIndex(), tabLabel+"*"); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: called when the cursor position has changed. Updates the status bar with the current + * cursor position. + */ +void PTextEdit::currentCursorPosition() +{ + QString str; + int line=0, pos=0; + + pos = currentEditor()->textCursor().columnNumber(); + line = currentEditor()->textCursor().blockNumber(); + + str = QString("cursor pos: %1, %2").arg(line+1).arg(pos+1); + statusBar()->showMessage(str); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: handles the replaced command. + */ +void PTextEdit::replace() +{ + currentEditor()->insertPlainText(fFindReplaceData->replaceText); + + editFindNext(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: handles the repalce and close command. + */ +void PTextEdit::replaceAndClose() +{ + currentEditor()->insertPlainText(fFindReplaceData->replaceText); + + emit close(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: handles the replace all command. + */ +void PTextEdit::replaceAll() +{ + // set the cursor to the start of the document + currentEditor()->moveCursor(QTextCursor::Start); + + // construct search flags + QTextDocument::FindFlags flags = 0; + if (fFindReplaceData->caseSensitive) + flags |= QTextDocument::FindCaseSensitively; + else if (fFindReplaceData->findBackwards) + flags |= QTextDocument::FindBackward; + else if (fFindReplaceData->wholeWordsOnly) + flags |= QTextDocument::FindWholeWords; + + while (currentEditor()->find(fFindReplaceData->findText, flags)) { + currentEditor()->insertPlainText(fFindReplaceData->replaceText); + } + + emit close(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

SLOT: updates the fonts if the textedit tab has changed. + */ +void PTextEdit::applyFontSettings(QWidget*) +{ + QFont font(fAdmin->getFontName(), fAdmin->getFontSize()); + fontChanged(font); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Called when an open file is changing outside the editor (SLOT). + * + * \param fileName file name of the changed file. + */ +void PTextEdit::fileChanged(const QString &fileName) +{ + if (!fFileSystemWatcherActive) + return; + + fFileSystemWatcherActive = false; + + QString str = "File '" + fileName + "' changed on the system.\nDo you want to reload it?"; + int result = QMessageBox::question(this, "**INFO**", str, QMessageBox::Yes, QMessageBox::No); + if (result == QMessageBox::Yes) { + // find correct file + int idx = -1; + for (int i=0; icount(); i++) { + if (fTabWidget->tabText(i) == QFileInfo(fileName).fileName()) { + idx = i; + break; + } + } + + if (idx == -1) { + fileSystemWatcherActivation(); + return; + } + + // remove file from file system watcher + fFileSystemWatcher->removePath(fileName); + + // close tab + fTabWidget->removeTab(idx); + // load it + load(fileName, idx); + } + + fileSystemWatcherActivation(); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

Delayed reactivation of file system watcher, needed when saving files. At the moment the delay + * is set to 2000 ms. + */ +void PTextEdit::fileSystemWatcherActivation() +{ + if (fFileSystemWatcherTimeout.isActive()) + return; + + fFileSystemWatcherTimeout.singleShot(2000, this, SLOT(setFileSystemWatcherActive())); +} + +//---------------------------------------------------------------------------------------------------- +/** + *

slot needed to reactivate the file system watcher. It is called by PTextEdit::fileSystemWatcherActivation() + * after some given timeout. + */ +void PTextEdit::setFileSystemWatcherActive() +{ + fFileSystemWatcherActive = true; +} + +//---------------------------------------------------------------------------------------------------- +/** + *

fill the recent file list in the menu. + */ +void PTextEdit::fillRecentFiles() +{ + for (int i=0; igetNumRecentFiles(); i++) { + fRecentFilesAction[i]->setText(fAdmin->getRecentFile(i)); + fRecentFilesAction[i]->setVisible(true); + } +} + +//---------------------------------------------------------------------------------------------------- +// END +//---------------------------------------------------------------------------------------------------- diff --git a/src/musredit_qt5/PTextEdit.h b/src/musredit_qt5/PTextEdit.h new file mode 100644 index 00000000..149ab0bf --- /dev/null +++ b/src/musredit_qt5/PTextEdit.h @@ -0,0 +1,182 @@ +/**************************************************************************** + + PTextEdit.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _PTEXTEDIT_H_ +#define _PTEXTEDIT_H_ + +#include +#include +#include +#include +#include + +#include + + +#include "musredit.h" + +class PSubTextEdit; +class PAdmin; +class QFileSystemWatcher; +class QAction; +class QComboBox; +class QTabWidget; +class QTextEdit; +class QMenu; + +//---------------------------------------------------------------------------------------------- +/** + *

Main class for musredit. + */ +class PTextEdit : public QMainWindow +{ + Q_OBJECT + +public: + PTextEdit( QWidget *parent = 0, Qt::WindowFlags f = 0 ); + virtual ~PTextEdit() {} + +public slots: + void aboutToQuit(); + +signals: + void close(); + +private: + void setupFileActions(); + void setupEditActions(); + void setupTextActions(); + void setupMusrActions(); + void setupHelpActions(); + void load( const QString &f, const int index=-1 ); + PSubTextEdit *currentEditor() const; + void doConnections( PSubTextEdit *e ); + bool validRunList(const QString runList); + void fileSystemWatcherActivation(); + +private slots: + void insertTitle(); + void insertParameterBlock(); + void insertTheoryBlock(); + void insertTheoryFunction(QAction *a); + void insertFunctionBlock(); + void insertAsymRunBlock(); + void insertSingleHistRunBlock(); + void insertNonMusrRunBlock(); + void insertCommandBlock(); + void insertFourierBlock(); + void insertPlotBlock(); + void insertStatisticBlock(); + + void fileNew(); + void fileOpen(); + void fileOpenRecent(); + void fileReload(); + void fileOpenPrefs(); + void fileSave(); + void fileSaveAs(); + void fileSavePrefs(); + void filePrint(); + void fileClose( const bool check = true ); + void fileCloseAll(); + void fileCloseAllOthers(); + void fileExit(); + + void editUndo(); + void editRedo(); + void editSelectAll(); + void editCut(); + void editCopy(); + void editPaste(); + void editFind(); + void editFindNext(); + void editFindPrevious(); + void editFindAndReplace(); + void editComment(); + void editUncomment(); + + void textFamily( const QString &f ); + void textSize( const QString &p ); + + void musrGetAsymmetryDefault(); + void musrGetSingleHistoDefault(); + void musrCalcChisq(); + void musrFit(); + void musrMsr2Data(); + void musrView(); + void musrT0(); + void musrFT(); + void musrPrefs(); + void musrSwapMsrMlog(); + void musrDump(); + + void helpContents(); + void helpAboutQt(); + void helpAbout(); + + void fontChanged( const QFont &f ); + void textChanged(const bool forced = false); + void currentCursorPosition(); + + void replace(); + void replaceAndClose(); + void replaceAll(); + + void applyFontSettings(QWidget*); + void fileChanged(const QString &fileName); + void setFileSystemWatcherActive(); + +private: + PAdmin *fAdmin; ///< pointer to the xml-startup file informations. Needed for different purposes like default working- and executable directories etc. + QFileSystemWatcher *fFileSystemWatcher; ///< checks if msr-files are changing on the disk while being open in musredit. + bool fFileSystemWatcherActive; ///< flag to enable/disable the file system watcher + QTimer fFileSystemWatcherTimeout; ///< timer used to re-enable file system watcher. Needed to delay the re-enabling + QString fLastDirInUse; ///< string holding the path from where the last file was loaded. + QStringList fMusrFTPrevCmd; + + QAction *fMusrT0Action; + + PMsr2DataParam *fMsr2DataParam; ///< structure holding the necessary input information for msr2data + PFindReplaceData *fFindReplaceData; ///< structure holding the ncessary input for find/replace + + QComboBox *fComboFont; ///< combo box for the font selector + QComboBox *fComboSize; ///< combo box for the font size + bool fFontChanging; ///< flag needed to prevent some textChanged feature to occure when only the font changed + + QTabWidget *fTabWidget; ///< tab widget in which the text editor(s) are placed + QMap fFilenames; ///< mapper between tab widget object and filename + + QMenu *fRecentFilesMenu; ///< recent file menu + QAction *fRecentFilesAction[MAX_RECENT_FILES]; ///< array of the recent file actions + + void fillRecentFiles(); +}; + + +#endif // _PTEXTEDIT_H_ diff --git a/src/musredit_qt5/README b/src/musredit_qt5/README new file mode 100644 index 00000000..061bb915 --- /dev/null +++ b/src/musredit_qt5/README @@ -0,0 +1,10 @@ +#--------------------------------------------------------------------- +# README +# Andreas Suter, 2015/10/26 +#--------------------------------------------------------------------- + +musredit_qt5 requires Qt 5.4.x or newer. + +#--------------------------------------------------------------------- +# this is the end ... +#--------------------------------------------------------------------- diff --git a/src/musredit_qt5/forms/PFindDialog.ui b/src/musredit_qt5/forms/PFindDialog.ui new file mode 100644 index 00000000..b47be748 --- /dev/null +++ b/src/musredit_qt5/forms/PFindDialog.ui @@ -0,0 +1,215 @@ + + + PFindDialog + + + + 0 + 0 + 349 + 271 + + + + Find Text - musredit + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 0 + 0 + 342 + 264 + + + + + + + Find + + + + + + + + Text to find: + + + + + + + true + + + + + + + + + + + + Options + + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + + + + + + C&ase Sensitive + + + + + + + Find &backwards + + + + + + + &Whole words only + + + + + + + &Selected text + + + + + + + From c&ursor + + + + + + + + + + + + Qt::Horizontal + + + + + + + + + Qt::Horizontal + + + + 168 + 20 + + + + + + + + &Find + + + + + + + &Close + + + + + + + + + + fFind_comboBox + fCaseSensitive_checkBox + fWholeWordsOnly_checkBox + fFromCursor_checkBox + fFindBackwards_checkBox + fSelectedText_checkBox + fFind_pushButton + fClose_pushButton + + + + + + + fClose_pushButton + clicked() + PFindDialog + reject() + + + 287 + 205 + + + 344 + 228 + + + + + fFind_pushButton + clicked() + PFindDialog + accept() + + + 208 + 211 + + + 171 + 211 + + + + + fFind_comboBox + editTextChanged(QString) + PFindDialog + onFindTextAvailable(QString) + + + 126 + 58 + + + 105 + 218 + + + + + + onFindTextAvailable(QString) + + diff --git a/src/musredit_qt5/forms/PGetAsymmetryRunBlockDialog.ui b/src/musredit_qt5/forms/PGetAsymmetryRunBlockDialog.ui new file mode 100644 index 00000000..8a7053cf --- /dev/null +++ b/src/musredit_qt5/forms/PGetAsymmetryRunBlockDialog.ui @@ -0,0 +1,707 @@ + + + PGetAsymmetryRunBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 462 + 506 + + + + Get Asymmetry Run Block Parameters + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 0 + 441 + 121 + + + + Run Header Info + + + + + 20 + 30 + 91 + 16 + + + + Run File Name + + + + + + 20 + 60 + 71 + 16 + + + + Beamline + + + + + + 20 + 90 + 56 + 16 + + + + Institute + + + + + + 260 + 90 + 91 + 16 + + + + File Format + + + + + + 120 + 26 + 311 + 26 + + + + + + + 120 + 56 + 113 + 26 + + + + + + + 120 + 86 + 77 + 25 + + + + + PSI + + + + + RAL + + + + + TRIUMF + + + + + JPARC + + + + + + + 336 + 86 + 91 + 25 + + + + + NeXuS + + + + + ROOT-NPP + + + + + ROOT-PPC + + + + + PSI-BIN + + + + + PSI-MDU + + + + + MUD + + + + + MDU-ASCII + + + + + ASCII + + + + + DB + + + + + + + + 10 + 120 + 441 + 241 + + + + Required Entries + + + + + 20 + 30 + 56 + 16 + + + + Map + + + + + + 20 + 60 + 111 + 16 + + + + Forward Histo No + + + + + + 240 + 60 + 121 + 16 + + + + Backward Histo No + + + + + + 20 + 90 + 81 + 16 + + + + Data Range + + + + + + 20 + 120 + 111 + 16 + + + + Background Fix + + + + + + 310 + 120 + 31 + 16 + + + + + 75 + true + + + + OR + + + + + + 20 + 150 + 121 + 16 + + + + Background Range + + + + + + 20 + 180 + 71 + 16 + + + + Fit Range + + + + + + 60 + 26 + 371 + 26 + + + + 0 0 0 0 0 0 0 0 0 + + + + + + 150 + 56 + 71 + 26 + + + + + + + 360 + 56 + 71 + 26 + + + + + + + 150 + 86 + 71 + 26 + + + + + + + 220 + 86 + 71 + 26 + + + + + + + 290 + 86 + 71 + 26 + + + + + + + 360 + 86 + 71 + 26 + + + + + + + 150 + 116 + 71 + 26 + + + + + + + 220 + 116 + 71 + 26 + + + + + + + 150 + 146 + 71 + 26 + + + + + + + 220 + 146 + 71 + 26 + + + + + + + 290 + 146 + 71 + 26 + + + + + + + 360 + 146 + 71 + 26 + + + + + + + 150 + 176 + 71 + 26 + + + + + + + 220 + 176 + 71 + 26 + + + + + + + 150 + 206 + 71 + 26 + + + + 1 + + + + + + 20 + 210 + 111 + 16 + + + + Packing/Binning + + + + + + + 10 + 360 + 441 + 91 + + + + Optional Entries + + + + + 20 + 30 + 131 + 16 + + + + Alpha (default = 1.0) + + + + + + 240 + 30 + 121 + 16 + + + + Beta (default = 1.0) + + + + + + 20 + 60 + 241 + 16 + + + + t0 (reqired if not given in the data file) + + + + + + 150 + 26 + 71 + 26 + + + + + + + + + + 360 + 26 + 71 + 26 + + + + + + + + + + 290 + 56 + 71 + 26 + + + + + + + 360 + 56 + 71 + 26 + + + + + + + + 10 + 460 + 441 + 39 + + + + + + + Qt::Horizontal + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 188 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + + + + + fCancel_pushButton + clicked() + PGetAsymmetryRunBlockDialog + reject() + + + 458 + 434 + + + 471 + 415 + + + + + fOk_pushButton + clicked() + PGetAsymmetryRunBlockDialog + accept() + + + 394 + 438 + + + 407 + 406 + + + + + fHelp_pushButton + clicked() + PGetAsymmetryRunBlockDialog + helpContent() + + + 47 + 437 + + + 70 + 398 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PGetDefaultDialog.ui b/src/musredit_qt5/forms/PGetDefaultDialog.ui new file mode 100644 index 00000000..899ddd5e --- /dev/null +++ b/src/musredit_qt5/forms/PGetDefaultDialog.ui @@ -0,0 +1,291 @@ + + + PGetDefaultDialog + + + Qt::WindowModal + + + + 0 + 0 + 400 + 168 + + + + Run + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 130 + 381 + 27 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + 12 + 12 + 84 + 111 + + + + + + + Run File Name + + + + + + + + 68 + 0 + + + + Beamline + + + + + + + + 68 + 0 + + + + Institute + + + + + + + + 68 + 0 + + + + File Format + + + + + + + + + 99 + 12 + 291 + 111 + + + + + + + + + + + + + + 80 + 0 + + + + + PSI + + + + + RAL + + + + + TRIUMF + + + + + JPARC + + + + + + + + + NeXuS + + + + + ROOT-NPP + + + + + ROOT-PPC + + + + + PSI-BIN + + + + + MDU + + + + + MDU-ASCII + + + + + MUD + + + + + WKM + + + + + ASCII + + + + + DB + + + + + + + + + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetDefaultDialog + reject() + + + 337 + 272 + + + 355 + 225 + + + + + fOk_pushButton + clicked() + PGetDefaultDialog + accept() + + + 286 + 265 + + + 243 + 227 + + + + + fHelp_pushButton + clicked() + PGetDefaultDialog + helpContent() + + + 50 + 273 + + + 115 + 221 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PGetFourierBlockDialog.ui b/src/musredit_qt5/forms/PGetFourierBlockDialog.ui new file mode 100644 index 00000000..fb742e99 --- /dev/null +++ b/src/musredit_qt5/forms/PGetFourierBlockDialog.ui @@ -0,0 +1,399 @@ + + + PGetFourierBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 367 + 269 + + + + Get Fourier + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 230 + 351 + 32 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + 10 + 10 + 61 + 17 + + + + Units + + + + + + 10 + 45 + 91 + 17 + + + + Fourier Power + + + + + + 10 + 75 + 141 + 17 + + + + Apodization + + + + + + 10 + 110 + 61 + 17 + + + + Plot + + + + + + 10 + 140 + 61 + 17 + + + + Phase + + + + + + 0 + 160 + 111 + 41 + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:8pt;">Phase Correction</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:8pt;">Range</span></p></body></html> + + + + + + 10 + 200 + 61 + 17 + + + + Range + + + + + + 130 + 5 + 111 + 26 + + + + + Gauss + + + + + Tesla + + + + + MHz + + + + + Mc/s + + + + + + + 130 + 40 + 113 + 22 + + + + + + + 130 + 70 + 111 + 26 + + + + + None + + + + + Weak + + + + + Medium + + + + + Strong + + + + + + + 130 + 105 + 111 + 26 + + + + + Power + + + + + Real + + + + + Imag + + + + + Real & Imag + + + + + Phase + + + + + + + 130 + 140 + 113 + 22 + + + + + + + 130 + 170 + 113 + 22 + + + + + + + 250 + 170 + 113 + 22 + + + + + + + 130 + 200 + 113 + 22 + + + + + + + 250 + 200 + 113 + 22 + + + + + + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetFourierBlockDialog + reject() + + + 337 + 272 + + + 355 + 225 + + + + + fOk_pushButton + clicked() + PGetFourierBlockDialog + accept() + + + 286 + 265 + + + 243 + 227 + + + + + fHelp_pushButton + clicked() + PGetFourierBlockDialog + helpContent() + + + 50 + 273 + + + 115 + 221 + + + + + fOk_pushButton + clicked() + PGetFourierBlockDialog + fillFourierBlock() + + + 247 + 274 + + + 175 + 264 + + + + + + helpContent() + fillFourierBlock() + + diff --git a/src/musredit_qt5/forms/PGetFunctionsBlockDialog.ui b/src/musredit_qt5/forms/PGetFunctionsBlockDialog.ui new file mode 100644 index 00000000..2b0913a6 --- /dev/null +++ b/src/musredit_qt5/forms/PGetFunctionsBlockDialog.ui @@ -0,0 +1,259 @@ + + + PGetFunctionsBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 636 + 604 + + + + Get Functions + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 0 + 570 + 631 + 32 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + 0 + 10 + 631 + 201 + + + + true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<table style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> +<tr> +<td style="border: none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:10pt;">Supported basic arithmetics: </span><span style=" font-family:'Courier New,courier'; font-size:10pt;">+, -, *, /, ()</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:10pt;">Supported built-in functions; </span><span style=" font-family:'Courier New,courier'; font-size:10pt;">cos(), sin(), tan(), acos(), asin(), atan(), cosh(), sinh(), tanh(), acosh(), asinh(), atanh(), exp(), log(), ln()</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:10pt;">Supported pre-defined constants</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; font-size:10pt;">gamma_mu = 0.0135538817 (MHz/G)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; font-size:10pt;">pi = 3.1415926535897932846</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:10pt;">Parameters and Maps are reached via parX, mapY, where X, Y are numbers, e.g. par1, map3</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:10pt;">Examples:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; font-size:10pt;">fun1 = gamma_mu * par3</span><span style=" font-family:'Lucida Grande'; font-size:10pt;"> valid</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; font-size:10pt;">fun2 = par2/map4 * sin(par3*par5)</span><span style=" font-family:'Lucida Grande'; font-size:10pt;"> valid</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; font-size:10pt;">fun3 = fun1 + par6</span><span style=" font-family:'Lucida Grande'; font-size:10pt;"> invalid, since functions cannot be used with the functions definition</span></p></td></tr></table></body></html> + + + + + + 0 + 210 + 631 + 101 + + + + Input + + + + + 90 + 30 + 521 + 22 + + + + + + + 20 + 30 + 71 + 17 + + + + Function: + + + + + + 500 + 60 + 113 + 32 + + + + Add + + + + + + + 0 + 310 + 631 + 251 + + + + ##################################################### +FUNCTIONS + + + + + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetFunctionsBlockDialog + reject() + + + 629 + 584 + + + 368 + 565 + + + + + fOk_pushButton + clicked() + PGetFunctionsBlockDialog + accept() + + + 538 + 577 + + + 265 + 583 + + + + + fHelp_pushButton + clicked() + PGetFunctionsBlockDialog + helpContent() + + + 41 + 585 + + + 111 + 582 + + + + + fAdd_pushButton + clicked() + PGetFunctionsBlockDialog + addFunction() + + + 555 + 289 + + + 410 + 591 + + + + + fFunctionInput_lineEdit + returnPressed() + PGetFunctionsBlockDialog + addFunction() + + + 399 + 252 + + + 413 + 570 + + + + + + helpContent() + addFunction() + + diff --git a/src/musredit_qt5/forms/PGetMusrFTOptionsDialog.ui b/src/musredit_qt5/forms/PGetMusrFTOptionsDialog.ui new file mode 100644 index 00000000..75966be9 --- /dev/null +++ b/src/musredit_qt5/forms/PGetMusrFTOptionsDialog.ui @@ -0,0 +1,863 @@ + + + PGetMusrFTOptionsDialog + + + Qt::WindowModal + + + + 0 + 0 + 711 + 650 + + + + musrFT Options + + + + + 20 + 400 + 671 + 201 + + + + + 75 + true + + + + Fourier + + + + + 21 + 31 + 641 + 156 + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Options</span></p></body></html> + + + + + + + + UnDef + + + + + real + + + + + imag + + + + + real+imag + + + + + power + + + + + phase + + + + + + + + + + Qt::Horizontal + + + + 218 + 20 + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Units</span></p></body></html> + + + + + + + + UnDef + + + + + Gauss + + + + + Tesla + + + + + MHz + + + + + Mc/s + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Power</span></p></body></html> + + + + + + + + + + + + Qt::Horizontal + + + + 88 + 20 + + + + + + + + + + Lifetime Correction + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Range</span></p></body></html> + + + + + + + + + Start + + + + + + + + + + + + + + End + + + + + + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + + + + + Average All + + + + + + + Average per Data Set + + + + + + + Qt::Horizontal + + + + 88 + 20 + + + + + + + + Create msr-File + + + + + + + + + + + Title + + + + + + + + + + + + + + + 20 + 160 + 671 + 231 + + + + + 75 + true + + + + Histo Info + + + + + 20 + 30 + 641 + 188 + + + + + + + + + + 75 + true + + + + Background Range (in Bins) + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">StartBin</p></body></html> + + + + + + + + + + + + + + EndBin: + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Background List</span></p></body></html> + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Apodization</span></p></body></html> + + + + + + + + none + + + + + weak + + + + + medium + + + + + strong + + + + + + + + + + + + Packing + + + + + + + + + + + + Qt::Horizontal + + + + 168 + 20 + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Time Range (usec)</p></body></html> + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Start</p></body></html> + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">End</p></body></html> + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Histo List</p></body></html> + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">T0's</p></body></html> + + + + + + + + + + + + + + + 20 + 10 + 671 + 141 + + + + + 75 + true + + + + File Selection + + + + + 19 + 31 + 641 + 96 + + + + + + + + + Current msr-File + + + + + + + ALL msr-Files + + + + + + + Qt::Horizontal + + + + 318 + 20 + + + + + + + + + + + + Select msr-File(s) + + + + + + + + 0 + 23 + + + + + + + + clear msr-file name list + + + Clear + + + + + + + + + + + Select data-File(s) + + + + + + + + 0 + 23 + + + + + + + + clear data-file name list + + + Clear + + + + + + + + + + + + 20 + 610 + 671 + 29 + + + + + + + Help + + + + + + + Qt::Horizontal + + + + 78 + 20 + + + + + + + + + 75 + true + + + + Reset All + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + fCurrentMsrFile_checkBox + fAllMsrFiles_checkBox + fMsrFileSelector_pushButton + fMsrFileSelector_lineEdit + fMsrFileNameClear_pushButton + fDataFileSelector_pushButton + fDataFileSelector_lineEdit + fDataFileNameClear_pushButton + fBkgRangeStartBin_lineEdit + fBkgRangeEndBin_lineEdit + fBkgList_lineEdit + fApodization_comboBox + fPacking_lineEdit + fTimeRangeStart_lineEdit + fTimeRangeEnd_lineEdit + fHistoList_lineEdit + fT0_lineEdit + fFourierOption_comboBox + fFourierUnits_comboBox + fFourierPower_lineEdit + fLifetimeCorrection_lineEdit + fFourierRangeStart_lineEdit + fFourierRangeEnd_lineEdit + fAveragedView_checkBox + fCreateMsrFile_checkBox + fFourierTitle_lineEdit + fResetAll_pushButton + fHelp_pushButton + buttonBox + + + + + buttonBox + accepted() + PGetMusrFTOptionsDialog + accept() + + + 683 + 611 + + + 157 + 274 + + + + + buttonBox + rejected() + PGetMusrFTOptionsDialog + reject() + + + 689 + 611 + + + 286 + 274 + + + + + fHelp_pushButton + clicked() + PGetMusrFTOptionsDialog + helpContent() + + + 85 + 627 + + + 147 + 624 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PGetNonMusrRunBlockDialog.ui b/src/musredit_qt5/forms/PGetNonMusrRunBlockDialog.ui new file mode 100644 index 00000000..cc4dd4f7 --- /dev/null +++ b/src/musredit_qt5/forms/PGetNonMusrRunBlockDialog.ui @@ -0,0 +1,465 @@ + + + PGetNonMusrRunBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 419 + 307 + + + + Get NonMusr Run Block Parameters + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 0 + 401 + 131 + + + + Run Header Info + + + + + 10 + 30 + 381 + 28 + + + + + + + Run File Name + + + + + + + + + + + + 11 + 60 + 381 + 28 + + + + + + + Beamline + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 23 + 20 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + 10 + 91 + 381 + 27 + + + + + + + Institute + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 34 + 20 + + + + + + + + + PSI + + + + + RAL + + + + + TRIUMF + + + + + JPARC + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + File Format + + + + + + + + ASCII + + + + + DB + + + + + + + + + + + 10 + 130 + 401 + 131 + + + + Required Entries + + + + + 10 + 30 + 381 + 28 + + + + + + + Map + + + + + + + 0 0 0 0 0 0 0 0 0 0 + + + + + + + + + 11 + 60 + 281 + 28 + + + + + + + xy-Data + + + + + + + Qt::Horizontal + + + + 37 + 20 + + + + + + + + + + + + + + + + 10 + 92 + 291 + 28 + + + + + + + + 0 + 0 + + + + Fit Range + + + + + + + + 0 + 0 + + + + + 105 + 0 + + + + + 105 + 16777215 + + + + + + + + + 0 + 0 + + + + + 105 + 0 + + + + + 105 + 16777215 + + + + + + + + + + + 10 + 270 + 401 + 27 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + fRunFileName_lineEdit + fBeamline_lineEdit + fInstitute_comboBox + fFileFormat_comboBox + fMap_lineEdit + fXData_lineEdit + fYData_lineEdit + fFitRangeStart_lineEdit + fFitRangeEnd_lineEdit + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetNonMusrRunBlockDialog + reject() + + + 337 + 281 + + + 364 + 216 + + + + + fOk_pushButton + clicked() + PGetNonMusrRunBlockDialog + accept() + + + 289 + 277 + + + 238 + 220 + + + + + fHelp_pushButton + clicked() + PGetNonMusrRunBlockDialog + helpContent() + + + 37 + 286 + + + 78 + 229 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PGetParameterBlockDialog.ui b/src/musredit_qt5/forms/PGetParameterBlockDialog.ui new file mode 100644 index 00000000..399a7ff0 --- /dev/null +++ b/src/musredit_qt5/forms/PGetParameterBlockDialog.ui @@ -0,0 +1,347 @@ + + + PGetParameterBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 656 + 476 + + + + Get Parameter + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 430 + 631 + 32 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + 10 + 90 + 631 + 331 + + + + ############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + + + + + + 560 + 50 + 75 + 23 + + + + &Add + + + + + + 10 + 30 + 31 + 13 + + + + No. + + + + + + 60 + 30 + 46 + 13 + + + + Name + + + + + + 180 + 30 + 46 + 13 + + + + Value + + + + + + 270 + 30 + 46 + 13 + + + + Step + + + + + + 370 + 10 + 171 + 71 + + + + Boundaries + + + + + 10 + 20 + 46 + 13 + + + + Lower + + + + + + 90 + 20 + 46 + 13 + + + + Upper + + + + + + 10 + 40 + 71 + 20 + + + + none + + + + + + 90 + 40 + 71 + 20 + + + + none + + + + + + + 10 + 50 + 42 + 22 + + + + 1 + + + 999 + + + + + + 60 + 50 + 113 + 20 + + + + + + + 180 + 50 + 81 + 20 + + + + + + + 270 + 50 + 81 + 20 + + + + + + fParamNo_spinBox + fName_lineEdit + fValue_lineEdit + fStep_lineEdit + fLower_lineEdit + fUpper_lineEdit + fAdd_pushButton + fOk_pushButton + fCancel_pushButton + fParam_plainTextEdit + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetParameterBlockDialog + reject() + + + 639 + 434 + + + 338 + 429 + + + + + fOk_pushButton + clicked() + PGetParameterBlockDialog + accept() + + + 548 + 436 + + + 448 + 438 + + + + + fAdd_pushButton + clicked() + PGetParameterBlockDialog + paramAdd() + + + 594 + 59 + + + 562 + 16 + + + + + fHelp_pushButton + clicked() + PGetParameterBlockDialog + helpContent() + + + 62 + 447 + + + 148 + 443 + + + + + + helpContent() + paramAdd() + + diff --git a/src/musredit_qt5/forms/PGetPlotBlockDialog.ui b/src/musredit_qt5/forms/PGetPlotBlockDialog.ui new file mode 100644 index 00000000..575b3f35 --- /dev/null +++ b/src/musredit_qt5/forms/PGetPlotBlockDialog.ui @@ -0,0 +1,269 @@ + + + PGetPlotBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 719 + 312 + + + + Get Plot + + + + :/musredit/musrfit.xpm:/musredit/musrfit.xpm + + + + + 10 + 10 + 702 + 292 + + + + + + + + + + + + 9 + 75 + true + + + + Type + + + + + + + + Single Histo + + + + + Asymmetry + + + + + MuMinus + + + + + NonMusr + + + + + + + + + 9 + 75 + true + + + + Run List + + + + + + + + + + + + + + + 9 + 75 + true + + + + Time-/x-Range + + + + + + + + + + + + + + 9 + 75 + true + + + + y-Range + + + + + + + + + + + + + + + &Add + + + + + + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PGetPlotBlockDialog + reject() + + + 579 + 311 + + + 355 + 225 + + + + + fOk_pushButton + clicked() + PGetPlotBlockDialog + accept() + + + 488 + 311 + + + 243 + 227 + + + + + fHelp_pushButton + clicked() + PGetPlotBlockDialog + helpContent() + + + 51 + 311 + + + 115 + 221 + + + + + fAdd_pushButton + clicked() + PGetPlotBlockDialog + addPlot() + + + 536 + 36 + + + 291 + 316 + + + + + + helpContent() + addPlot() + + diff --git a/src/musredit_qt5/forms/PGetSingleHistoRunBlockDialog.ui b/src/musredit_qt5/forms/PGetSingleHistoRunBlockDialog.ui new file mode 100644 index 00000000..7d823aa3 --- /dev/null +++ b/src/musredit_qt5/forms/PGetSingleHistoRunBlockDialog.ui @@ -0,0 +1,654 @@ + + + PGetSingleHistoRunBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 440 + 592 + + + + Get Single Histogram Run Block Parameters + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 0 + 421 + 121 + + + + Run Header Info + + + + + 20 + 30 + 91 + 16 + + + + Run File Name + + + + + + 20 + 60 + 71 + 16 + + + + Beamline + + + + + + 20 + 90 + 56 + 16 + + + + Institute + + + + + + 240 + 90 + 91 + 16 + + + + File Format + + + + + + 120 + 26 + 291 + 26 + + + + + + + 120 + 56 + 113 + 26 + + + + + + + 120 + 86 + 77 + 25 + + + + + PSI + + + + + RAL + + + + + TRIUMF + + + + + JPARC + + + + + + + 316 + 86 + 91 + 25 + + + + + NeXuS + + + + + ROOT-NPP + + + + + ROOT-PPC + + + + + PSI-BIN + + + + + PSI-MDU + + + + + MUD + + + + + MDU-ASCII + + + + + ASCII + + + + + DB + + + + + + + + 10 + 120 + 421 + 301 + + + + Required Entries + + + + + 20 + 30 + 56 + 16 + + + + Map + + + + + + 20 + 60 + 111 + 20 + + + + Forward Histo No + + + + + + 20 + 120 + 81 + 16 + + + + Data Range + + + + + + 20 + 150 + 111 + 16 + + + + Background Fix + + + + + + 240 + 150 + 31 + 16 + + + + + 75 + true + + + + OR + + + + + + 20 + 210 + 121 + 16 + + + + Background Range + + + + + + 20 + 240 + 71 + 16 + + + + Fit Range + + + + + + 60 + 26 + 351 + 26 + + + + 0 0 0 0 0 0 0 0 0 + + + + + + 150 + 56 + 71 + 26 + + + + + + + 150 + 116 + 71 + 26 + + + + + + + 220 + 116 + 71 + 26 + + + + + + + 150 + 146 + 71 + 26 + + + + + + + 150 + 206 + 71 + 26 + + + + + + + 220 + 206 + 71 + 26 + + + + + + + 150 + 236 + 71 + 26 + + + + + + + 220 + 236 + 71 + 26 + + + + + + + 150 + 266 + 71 + 26 + + + + 1 + + + + + + 20 + 270 + 111 + 16 + + + + Packing/Binning + + + + + + 20 + 90 + 56 + 20 + + + + Norm + + + + + + 150 + 86 + 71 + 26 + + + + + + + 20 + 180 + 101 + 16 + + + + Background Fit + + + + + + 150 + 176 + 71 + 26 + + + + + + + + 10 + 420 + 421 + 121 + + + + Optional Entries + + + + + 20 + 30 + 241 + 16 + + + + t0 (reqired if not given in the data file) + + + + + + 260 + 26 + 71 + 26 + + + + + + + 20 + 60 + 211 + 16 + + + + Muon Lifetime Parameter + + + + + + 180 + 56 + 71 + 26 + + + + + + + 18 + 90 + 151 + 23 + + + + Lifetime Correction + + + + + + + 10 + 545 + 421 + 39 + + + + + + + Qt::Horizontal + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 188 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + + + + + fCancel_pushButton + clicked() + PGetSingleHistoRunBlockDialog + reject() + + + 458 + 434 + + + 471 + 415 + + + + + fOk_pushButton + clicked() + PGetSingleHistoRunBlockDialog + accept() + + + 394 + 438 + + + 407 + 406 + + + + + fHelp_pushButton + clicked() + PGetSingleHistoRunBlockDialog + helpContent() + + + 47 + 437 + + + 70 + 398 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PGetTheoryBlockDialog.ui b/src/musredit_qt5/forms/PGetTheoryBlockDialog.ui new file mode 100644 index 00000000..5dce995a --- /dev/null +++ b/src/musredit_qt5/forms/PGetTheoryBlockDialog.ui @@ -0,0 +1,264 @@ + + + PGetTheoryBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 698 + 546 + + + + Get Theory + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 10 + 681 + 211 + + + + true + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> +<tr> +<td style="border: none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Every theory function has to be written on a single line. It starts with the theory function name or its abbreviation followed by the parameters. Consecutive lines of theory functions will be multiplied. If theory functions need to be added, a line with a '+' has to separate them. The parameters are given as the numbers assigned to them in the FITPARAMETER-block.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Example:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">asymmetry 2</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">simplExpo 3</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">TFieldCos map1 fun2</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">+</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">asymmetry 6</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">simplExpo 7</p></td></tr></table></body></html> + + + + + + 10 + 220 + 681 + 71 + + + + Theory Input Line + + + + + 10 + 20 + 541 + 41 + + + + + + + 560 + 30 + 51 + 25 + + + + + + + + + + + 620 + 30 + 51 + 25 + + + + * + + + + + + + 10 + 300 + 681 + 201 + + + + ##################################################### +THEORY + + + + + + 10 + 510 + 681 + 29 + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 178 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + fTheoryFunction_comboBox + fPlus_pushButton + fMultiply_pushButton + fTheoryBlock_plainTextEdit + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + fDescription_textEdit + + + + + + + fCancel_pushButton + clicked() + PGetTheoryBlockDialog + reject() + + + 539 + 502 + + + 492 + 411 + + + + + fOk_pushButton + clicked() + PGetTheoryBlockDialog + accept() + + + 458 + 502 + + + 380 + 472 + + + + + fHelp_pushButton + clicked() + PGetTheoryBlockDialog + helpContent() + + + 45 + 502 + + + 90 + 440 + + + + + fPlus_pushButton + clicked() + PGetTheoryBlockDialog + addPlus() + + + 434 + 257 + + + 173 + 500 + + + + + fMultiply_pushButton + clicked() + PGetTheoryBlockDialog + addMultiply() + + + 500 + 263 + + + 256 + 504 + + + + + + helpContent() + addPlus() + addMultiply() + + diff --git a/src/musredit_qt5/forms/PGetTitleBlockDialog.ui b/src/musredit_qt5/forms/PGetTitleBlockDialog.ui new file mode 100644 index 00000000..64d0086f --- /dev/null +++ b/src/musredit_qt5/forms/PGetTitleBlockDialog.ui @@ -0,0 +1,166 @@ + + + PGetTitleBlockDialog + + + Qt::WindowModal + + + + 0 + 0 + 556 + 90 + + + + Get Title + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 10 + 31 + 16 + + + + Title + + + + + + 50 + 6 + 501 + 26 + + + + + + + 10 + 40 + 541 + 47 + + + + + + + Qt::Horizontal + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 138 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + fTitle_lineEdit + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fOk_pushButton + clicked() + PGetTitleBlockDialog + accept() + + + 467 + 78 + + + 286 + 221 + + + + + fCancel_pushButton + clicked() + PGetTitleBlockDialog + reject() + + + 548 + 78 + + + 350 + 219 + + + + + fHelp_pushButton + clicked() + PGetTitleBlockDialog + helpContent() + + + 59 + 64 + + + 149 + 49 + + + + + + helpContent() + + diff --git a/src/musredit_qt5/forms/PMsr2DataDialog.ui b/src/musredit_qt5/forms/PMsr2DataDialog.ui new file mode 100644 index 00000000..1e34b16a --- /dev/null +++ b/src/musredit_qt5/forms/PMsr2DataDialog.ui @@ -0,0 +1,739 @@ + + + PMsr2DataDialog + + + Qt::WindowModal + + + + 0 + 0 + 552 + 551 + + + + msr2data input + + + + :/images/musrmsr2data.xpm:/images/musrmsr2data.xpm + + + + + 0 + 0 + 551 + 131 + + + + + 50 + false + + + + Run List Input + + + false + + + false + + + + + 10 + 30 + 531 + 97 + + + + + + + + + First + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 40 + 20 + + + + + + + + Last + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 200 + 20 + + + + + + + + <b>OR</b> + + + Qt::AutoText + + + + + + + + + + + Run List + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 28 + 20 + + + + + + + + <b>OR</b> + + + Qt::AutoText + + + + + + + + + + + Run List File Name + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 52 + 20 + + + + + + + + + + + + + 0 + 130 + 551 + 71 + + + + msr File Extension + + + + + 10 + 30 + 531 + 29 + + + + + + + Extension + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 0 + 200 + 551 + 80 + + + + Template Run Input + + + + + 10 + 30 + 531 + 29 + + + + + + + Template Run Number + + + + + + + + + + Chain Fit + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 0 + 280 + 551 + 80 + + + + Data Output File Name + + + + + 10 + 30 + 531 + 29 + + + + + + + Data Output File Name + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Preferred + + + + 40 + 20 + + + + + + + + + + + 0 + 360 + 551 + 141 + + + + Options + + + + + 6 + 20 + 541 + 116 + + + + + + + + + Write Data Header + + + + + + + Ignore Data Header Info + + + + + + + Keep Minuit2 Output + + + + + + + + + + + Write Column Data + + + + + + + Recreate Data File + + + + + + + Open Files after Fitting + + + + + + + + + + + Take Data File Title + + + + + + + Create msr-File only + + + + + + + Fit Only + + + + + + + + + Global + + + + + + + Global+ + + + + + + + + + + + + + + 5 + 500 + 541 + 51 + + + + + + + Qt::Horizontal + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 178 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + fFirst_lineEdit + fLast_lineEdit + fRunList_lineEdit + fRunListFileName_lineEdit + fMsrFileExtension_lineEdit + fTemplateRunNumber_lineEdit + fChainFit_checkBox + fDataOutputFileName_lineEdit + fWriteDataHeader_checkBox + fIgnoreDataHeaderInfo_checkBox + fKeepMinuit2Output_checkBox + fWriteColumnData_checkBox + fRecreateDataFile_checkBox + fOpenFilesAfterFitting_checkBox + fTitleFromData_checkBox + fCreateMsrFileOnly_checkBox + fFitOnly_checkBox + fGlobal_checkBox + fGlobalPlus_checkBox + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PMsr2DataDialog + reject() + + + 538 + 534 + + + 508 + 358 + + + + + fOk_pushButton + clicked() + PMsr2DataDialog + accept() + + + 456 + 541 + + + 380 + 364 + + + + + fHelp_pushButton + clicked() + PMsr2DataDialog + helpContent() + + + 59 + 534 + + + 96 + 370 + + + + + fFirst_lineEdit + textChanged(QString) + PMsr2DataDialog + runFirstEntered(QString) + + + 82 + 44 + + + 113 + 504 + + + + + fLast_lineEdit + textChanged(QString) + PMsr2DataDialog + runLastEntered(QString) + + + 229 + 44 + + + 348 + 500 + + + + + fRunList_lineEdit + textChanged(QString) + PMsr2DataDialog + runListEntered(QString) + + + 151 + 77 + + + 183 + 515 + + + + + fRunListFileName_lineEdit + textChanged(QString) + PMsr2DataDialog + runListFileNameEntered(QString) + + + 295 + 115 + + + 332 + 492 + + + + + fTemplateRunNumber_lineEdit + textChanged(QString) + PMsr2DataDialog + templateRunEntered(QString) + + + 190 + 245 + + + 137 + 516 + + + + + fFitOnly_checkBox + stateChanged(int) + PMsr2DataDialog + fitOnlyChanged(int) + + + 544 + 445 + + + 301 + 484 + + + + + fCreateMsrFileOnly_checkBox + stateChanged(int) + PMsr2DataDialog + createMsrFileOnlyChanged(int) + + + 544 + 423 + + + 150 + 487 + + + + + + helpContent() + fitOnlyChanged(int) + createMsrFileOnlyChanged(int) + runFirstEntered(QString) + runLastEntered(QString) + runListEntered(QString) + runListFileNameEntered(QString) + templateRunEntered(QString) + globalChanged(int) + + diff --git a/src/musredit_qt5/forms/PMusrEditAbout.ui b/src/musredit_qt5/forms/PMusrEditAbout.ui new file mode 100644 index 00000000..4c1fdc6d --- /dev/null +++ b/src/musredit_qt5/forms/PMusrEditAbout.ui @@ -0,0 +1,94 @@ + + + PMusrEditAbout + + + + 0 + 0 + 395 + 187 + + + + Musr Edit About + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 11 + 11 + 371 + 169 + + + + + + + + 24 + 50 + true + false + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:24pt; font-weight:400; font-style:italic;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">musredit ...</p></body></html> + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">by Andreas Suter</p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">andreas.suter@psi.ch</p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Paul Scherrer Institute</p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Switzerland</p></body></html> + + + + + + + &OK + + + + + + + + + + + + fOk_pushButton + clicked() + PMusrEditAbout + accept() + + + 178 + 271 + + + 226 + 228 + + + + + diff --git a/src/musredit_qt5/forms/PPrefsDialog.ui b/src/musredit_qt5/forms/PPrefsDialog.ui new file mode 100644 index 00000000..90f3e0b9 --- /dev/null +++ b/src/musredit_qt5/forms/PPrefsDialog.ui @@ -0,0 +1,287 @@ + + + PPrefsDialog + + + Qt::WindowModal + + + + 0 + 0 + 455 + 168 + + + + Preferences + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 0 + 5 + 451 + 161 + + + + + + + 0 + + + + general + + + + + 10 + 10 + 421 + 25 + + + + + + + + + + timeout + + + + + + + Qt::Horizontal + + + + 208 + 20 + + + + + + + + + + musrfit + + + + + 10 + 10 + 161 + 23 + + + + keep minuit2 output + + + + + + 10 + 35 + 151 + 23 + + + + dump ascii + + + + + + 10 + 60 + 131 + 23 + + + + dump root + + + + + + 170 + 10 + 171 + 23 + + + + take title from data file + + + + + + 170 + 35 + 191 + 22 + + + + keep per run block chisq + + + + + + 170 + 60 + 161 + 22 + + + + estimate N0 + + + + + + musrview + + + + + 10 + 10 + 141 + 22 + + + + start with Fourier + + + + + + musrt0 + + + + + 10 + 10 + 131 + 23 + + + + enable it + + + + + + + + + + + &Help + + + + + + + Qt::Horizontal + + + + 88 + 20 + + + + + + + + &OK + + + + + + + &Cancel + + + + + + + + + + fTabWidget + fKeepMn2Output_checkBox + fDumpAscii_checkBox + fDumpRoot_checkBox + fTitleFromData_checkBox + fOk_pushButton + fCancel_pushButton + fHelp_pushButton + + + + + + + fCancel_pushButton + clicked() + PPrefsDialog + reject() + + + 391 + 198 + + + 422 + 142 + + + + + fOk_pushButton + clicked() + PPrefsDialog + accept() + + + 331 + 199 + + + 293 + 144 + + + + + diff --git a/src/musredit_qt5/forms/PReplaceConfirmationDialog.ui b/src/musredit_qt5/forms/PReplaceConfirmationDialog.ui new file mode 100644 index 00000000..3765321c --- /dev/null +++ b/src/musredit_qt5/forms/PReplaceConfirmationDialog.ui @@ -0,0 +1,136 @@ + + + PReplaceConfirmationDialog + + + Qt::WindowModal + + + + 0 + 0 + 513 + 65 + + + + Replace Confirmation - musredit + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 10 + 10 + 461 + 16 + + + + Found an occurrence of your search term.What do you want to do? + + + + + + 7 + 20 + 521 + 20 + + + + Qt::Horizontal + + + + + + 7 + 35 + 81 + 25 + + + + &Replace + + + + + + 87 + 35 + 131 + 25 + + + + Re&place and Close + + + + + + 217 + 35 + 97 + 25 + + + + Replace &All + + + + + + 317 + 35 + 91 + 25 + + + + &Find Next + + + + + + 407 + 35 + 97 + 25 + + + + &Close + + + + + + + + + fClose_pushButton + clicked() + PReplaceConfirmationDialog + reject() + + + 457 + 58 + + + 468 + 71 + + + + + diff --git a/src/musredit_qt5/forms/PReplaceDialog.ui b/src/musredit_qt5/forms/PReplaceDialog.ui new file mode 100644 index 00000000..11131623 --- /dev/null +++ b/src/musredit_qt5/forms/PReplaceDialog.ui @@ -0,0 +1,300 @@ + + + PReplaceDialog + + + + 0 + 0 + 345 + 315 + + + + Replace Text - musredit + + + + :/images/musrfit.xpm:/images/musrfit.xpm + + + + + 0 + 0 + 341 + 81 + + + + Find + + + + + 10 + 20 + 91 + 16 + + + + Text to find: + + + + + + 10 + 40 + 321 + 31 + + + + true + + + + + + + 190 + 290 + 71 + 25 + + + + &Replace + + + + + + 270 + 290 + 71 + 25 + + + + &Close + + + + + + 0 + 160 + 341 + 121 + + + + Options + + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + + + 10 + 30 + 141 + 23 + + + + C&ase Sensitive + + + + + + 10 + 60 + 141 + 23 + + + + &Whole words only + + + + + + 10 + 90 + 141 + 23 + + + + From c&ursor + + + + + + 180 + 30 + 141 + 23 + + + + Find &backwards + + + + + + 180 + 60 + 141 + 23 + + + + &Selected text + + + + + + 180 + 90 + 151 + 23 + + + + &Prompt on replace + + + + + + + 0 + 280 + 351 + 16 + + + + Qt::Horizontal + + + + + + 0 + 80 + 341 + 81 + + + + Replace With + + + + + 10 + 20 + 111 + 16 + + + + Replacement text: + + + + + + 10 + 40 + 321 + 31 + + + + true + + + + + + fFind_comboBox + fReplacementText_comboBox + fCaseSensitive_checkBox + fWholeWordsOnly_checkBox + fFromCursor_checkBox + fFindBackwards_checkBox + fSelectedText_checkBox + fPromptOnReplace_checkBox + fReplace_pushButton + fClose_pushButton + + + + + + + fClose_pushButton + clicked() + PReplaceDialog + reject() + + + 287 + 205 + + + 344 + 228 + + + + + fReplace_pushButton + clicked() + PReplaceDialog + accept() + + + 208 + 211 + + + 171 + 211 + + + + + fFind_comboBox + editTextChanged(QString) + PReplaceDialog + onFindTextAvailable(QString) + + + 183 + 63 + + + 90 + 298 + + + + + + onFindTextAvailable(QString) + + diff --git a/src/musredit_qt5/images/MuonSpin-Avatar.gif b/src/musredit_qt5/images/MuonSpin-Avatar.gif new file mode 100644 index 00000000..c87243be Binary files /dev/null and b/src/musredit_qt5/images/MuonSpin-Avatar.gif differ diff --git a/src/musredit_qt5/images/MuonSpin-Avatar.nb b/src/musredit_qt5/images/MuonSpin-Avatar.nb new file mode 100644 index 00000000..8d33b60c --- /dev/null +++ b/src/musredit_qt5/images/MuonSpin-Avatar.nb @@ -0,0 +1,2432 @@ +(* Content-type: application/vnd.wolfram.mathematica *) + +(*** Wolfram Notebook File ***) +(* http://www.wolfram.com/nb *) + +(* CreatedBy='Mathematica 8.0' *) + +(*CacheID: 234*) +(* Internal cache information: +NotebookFileLineBreakTest +NotebookFileLineBreakTest +NotebookDataPosition[ 157, 7] +NotebookDataLength[ 142995, 2422] +NotebookOptionsPosition[ 142528, 2401] +NotebookOutlinePosition[ 142865, 2416] +CellTagsIndexPosition[ 142822, 2413] +WindowFrame->Normal*) + +(* Beginning of Notebook Content *) +Notebook[{ + +Cell[CellGroupData[{ +Cell[BoxData[ + RowBox[{"rr", " ", "=", + RowBox[{"(", + RowBox[{"1", "-", + RowBox[{ + RowBox[{"Cos", "[", "tt", "]"}], + RowBox[{ + RowBox[{"(", + RowBox[{"1", "-", + RowBox[{"2", "x"}]}], ")"}], "/", + RowBox[{"(", + RowBox[{"3", "-", + RowBox[{"2", "x"}]}], ")"}]}]}]}], ")"}]}]], "Input", + CellChangeTimes->{{3.620489478312991*^9, 3.620489596409531*^9}, { + 3.620489675621357*^9, 3.620489676632785*^9}, {3.6204898595692368`*^9, + 3.620489869999764*^9}, {3.620489902333275*^9, 3.620489907462965*^9}, { + 3.620490060833705*^9, 3.620490094471711*^9}}], + +Cell[BoxData[ + RowBox[{"1", "-", + FractionBox[ + RowBox[{ + RowBox[{"(", + RowBox[{"1", "-", + RowBox[{"2", " ", "x"}]}], ")"}], " ", + RowBox[{"Cos", "[", "tt", "]"}]}], + RowBox[{"3", "-", + RowBox[{"2", " ", "x"}]}]]}]], "Output", + CellChangeTimes->{ + 3.620489598633787*^9, 3.620489677771926*^9, 3.620489870992437*^9, + 3.62048990845961*^9, {3.6204900799170923`*^9, 3.620490095138709*^9}}] +}, Open ]], + +Cell[CellGroupData[{ + +Cell[BoxData[ + RowBox[{"PolarPlot", "[", + RowBox[{ + RowBox[{"{", + RowBox[{ + RowBox[{"rr", "/.", + RowBox[{"x", "\[Rule]", "0.5"}]}], ",", + RowBox[{"rr", "/.", + RowBox[{"x", "\[Rule]", "0.65"}]}], ",", + RowBox[{"rr", "/.", + RowBox[{"x", "\[Rule]", "0.8"}]}], ",", + RowBox[{"rr", "/.", + RowBox[{"x", "\[Rule]", "0.9"}]}], ",", + RowBox[{"rr", "/.", + RowBox[{"x", "\[Rule]", "0.99"}]}]}], "}"}], ",", + RowBox[{"{", + RowBox[{"tt", ",", "0", ",", + RowBox[{"2", "Pi"}]}], "}"}], ",", + RowBox[{"Axes", "\[Rule]", "False"}], ",", " ", + RowBox[{"PlotStyle", "\[Rule]", + RowBox[{"{", + RowBox[{ + RowBox[{"{", + RowBox[{"Blue", ",", + RowBox[{"Thickness", "[", "0.01", "]"}]}], "}"}], ",", " ", + RowBox[{"{", + RowBox[{"Cyan", ",", " ", + RowBox[{"Thickness", "[", "0.01", "]"}]}], "}"}], ",", " ", + RowBox[{"{", + RowBox[{"Green", ",", + RowBox[{"Thickness", "[", "0.01", "]"}]}], "}"}], ",", + RowBox[{"{", + RowBox[{"Orange", ",", + RowBox[{"Thickness", "[", "0.01", "]"}]}], "}"}], ",", " ", + RowBox[{"{", + RowBox[{"Red", ",", + RowBox[{"Thickness", "[", "0.01", "]"}]}], "}"}]}], "}"}]}]}], + "]"}]], "Input", + CellChangeTimes->{{3.620489601691044*^9, 3.620489656394434*^9}, { + 3.6204896894706097`*^9, 3.6204898252410297`*^9}, {3.6204898920305347`*^9, + 3.62048989541327*^9}, {3.6204899420804577`*^9, 3.6204899519892473`*^9}, { + 3.620490006961562*^9, 3.6204900151066523`*^9}, {3.620490115961823*^9, + 3.620490175106708*^9}, {3.620490214560876*^9, 3.6204902239067163`*^9}, { + 3.6204902915033712`*^9, 3.6204904451164293`*^9}, {3.620490487640355*^9, + 3.6204905052907743`*^9}, {3.620490590163651*^9, 3.620490699300071*^9}, { + 3.620490759971017*^9, 3.620490761675695*^9}, {3.62049086679007*^9, + 3.620490946980547*^9}, {3.6204909944370737`*^9, 3.6204910496397057`*^9}}], + +Cell[BoxData[ + GraphicsBox[{{{}, {}}, {}, {{}, {}, + {RGBColor[0, 0, 1], Thickness[0.01], LineBox[CompressedData[" +1:eJw1m3c41f///42KyChKpaKFFBWl3aOiYWRENLyzUkJmkbJSUih7ZCayZWbz +sHf23hzjHM45rxSlUL/X5/pdX/8ct+vFuc7r+Xw8Hs/77bpeZ6eh5TVjNhYW +lkfsLCz/e/3/P9/g/34zPHBAePkfAS/XNCgE+OuBaFym+TeSn49ceujjbwms +EDA/SLLXZ7+qqTR7WCnoyion+dX6M3yu/i5wMs8lIYrkDw9su14XvQDO0vft +tiQ7raF1NaV5wMRJ6SPnSd4vtEuA+4MXWLsoNq0h2bXwQsgFfx9wqPgdVvWX +AKGbx+VOVPjBhIjah6ckK7c8aFYpCoCi0NuDEiRrRCq9v50TBDsEZNVaVgio +bfwmbJwWAhduzS4+JPluqu2ASfx7MN0R0beK5KFfs7r3osNhWUftnPAyAekm +4oUqftHAnuBZE7ZEQBvHBvWt1R9ATuzQyw0kn8hQkPYsj4Gas+fiZ34TULja +K1e3MBbE+r5zKZNcYVw5WZobB6mfohNiFwlwjn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ff6F51kzkDilr5hElpctFav+0nAQd1D23ivJKJehHWdwSIBw7p65ZoC8Tgy +tm5a5DcBHIKmGvTFOFSL23T5f89VsppJOTkPx6JSTkSDyBIBV7dKsfglxSBl +MZuRS3LxqyD2DT4f8GOipYbCMgEPebf/FKZFoVxq3EItyefu3nXgyonAgQnJ +/vMrBHwRPn7mm3MYPjgw9DeTZAF6G+OrYijqXX9vtPkvuZ+sFsfiBINxVvIc +52OS1ZqUamxHAvCn1Rd6LckTdYmXziT74YGJEX7S4yAlKLCebeYdrj6Z9Eid +ZJmAqffPXTyxTvSv0CuSDXXbtRcFX2EgNP/JJPnaickbJsnP0Vhu3fbO/z2n ++FN37pPLUxSKSnOm/+85SGnn7bbJ1viAM0VkieR/qz81P042wP/7vhyHrqCs +WHxm8f8DJChnmQ== + "]]}, + {RGBColor[0, 1, 1], Thickness[0.01], LineBox[CompressedData[" +1:eJw123k41N/7P3BblpSSZBfZyt47IcndZivtIUmIVFJSKW3IlqgsadNCKCTZ +yXrLvu/7PrZZGDOGkmzf1+e6fr/5x/W4ZszMOee+n+ecy0X2guvJixxsbGzn +ONnY/vezteV/Dxaw/b+HXYOXZhNhn0+Gl2+HX4DQsSemVYSd112UdQu/CewB +U1L5hBf/kb0/9z6AC065yQmEGzQoqxzDfcA1gPk3lHDvjrhCpvYTmFD/tHKL +8ELa3oPuvcHwYbrh1wnCuhfVFuYgFPYmhoEy4Y2PDr3VCA8H33tzHkvNLPi5 +UhtvNxoBMw1C12sJnxvkOxOk/Qb+nl+UjiAcK2TXmRT4DoqUqoMtCZP5NU6X +9bwH5RsRmcKEX8v2LbaofoKKyvvvGppYYLCK6nUVosHnyKa3moRPndYk24TF +wL5V69O7G1nArL/z4EheLMBgcuAjwlb2HWLaI3Ggv9XDJauBBVmGS81MrXjw +v7Bwz5Sw4EYb8RKbBLhq3nSwq54F2ld4aoICEqFVUFtovI4FfnGfCti6kiBx +VEPkImFyoKl6MlsyePoc6R6oZcHLC/mOx7b9ALn9g29L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89sokVqGdxN+6bVEsUD/ +Tb6u2PkyfPr3j6XLZxbY/md7QWBNGa7mUhF5HseC0MUJ84FLpfhj2STM+xsx +380OKaKbS1A37j9lehILrHskmS11v3A6zgxOJbPA/XuXhf/9X2jQsqaXP5UF +D46vVWptL0b1dLsy9SwWMElzoWqiiKI3LJUvZbPAl+3aedVbRfjkdBP3uxwW +yGNxvlRDIWb4ZMpQc4nPj/9q0u1bgMXqbJV6RSyYeVgdlT+Vi8ZbEhsNkAXL +7seGLExzsUuZ95B+MQt4wzv/jMf+xJSG8jC5EhYkRb+tHj+Tg7FRQrax5Sw4 +QpZgv1aSiYJxW8k3K1gwKZE3mS2ZidVNq/t3V7JA9MbFP3N3MnBfrf/6vCoW +BMs5BtqppKPkpmNHXKtZ4HOSOzbQPw23+Rn9kaoh6qXvJFviYCq2rBgHX6ol +5nNv4LF4pRRM2xh1h6OORexnpbyFvcnYb11U95pwWaFOWHnId0zs2vQzqZ4F +Bq4bzqbNJeLGxFwz1QYWvPDIwFdJCUgjzR36SvjqdTZwtY3HyE37fAMaWeCn +dqmdszIOs0xaCiYJ2+b/ESy+H4sSx/ltzZqIepyTzLilHoOKej+vfCF8dU/c +4c3D0fg6IaFvjvDWxp99ASpRWNicknOgmVivRq1zv8I/YJx33L9Awr8rXHcz +5t+hmrD9l0rCCzEK0YL2b3CHX2nOCmG2reKp26oi8Itl8vbtLcT4FUXDdDXC +MfYHp9A5wn+cSc2eqiEYvifF2pswd/tsnue/p6h59AP/J8KvZWS33arywzjM +25JFWOKqaVOBqhe+4F6OLidc6Rv4xL/qNq5XswloJGyWIb85qMoR////a9XN +iOh7lGYW/B+Fs7yW + "]]}, + {RGBColor[0, 1, 0], Thickness[0.01], LineBox[CompressedData[" +1:eJw123c81f/7P3ANVEZ2paQSMrLKyOiS8S4jopBIySpFtEulomFFhDKzIoWM +yLxs2Xuvc469zzFOZfV9fW63388/bveb1znn9Xo+r+vxvM4f9l+5aWy3kYGB +4dEmBob//c5x6s126qUDw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qQlo1 +DO0k8rU26dKgPF8tzvhmCJ55+3xBlzCrdvwFyZVv6P+ZXekXYd0x2sXlCH+U +UztrMk24zP71fKTqR5zLIMny6hHXZ3Ne/LjihS5vL/TLEGYoz2csVHVH1fdN +oEG4L+yjV7mqDf7/3/M/D83v8lEuzP0/QMwvsQ== + + "]]}}, {}, {{{}, {}, {}, {}}, {}}}, + AxesOrigin->{0, 0}, + CoordinatesToolOptions:>{"DisplayFunction" -> ({ + Sqrt[Part[#, 1]^2 + Part[#, 2]^2], + Mod[ + ArcTan[ + Part[#, 1], + Part[#, 2]], 2 Pi]}& ), "CopiedValueFunction" -> ({ + Sqrt[Part[#, 1]^2 + Part[#, 2]^2], + Mod[ + ArcTan[ + Part[#, 1], + Part[#, 2]], 2 Pi]}& )}, + DisplayFunction:>Identity, + PlotRange->{{Automatic, Automatic}, {Automatic, Automatic}}, + PlotRangeClipping->True, + PlotRangePadding->Scaled[0.02]]], "Output", + CellChangeTimes->{{3.620489657702744*^9, 3.620489739957882*^9}, { + 3.620489770653817*^9, 3.620489782707429*^9}, 3.620489827142384*^9, { + 3.620489873668777*^9, 3.62048991191786*^9}, 3.620489953790297*^9, { + 3.620490009760477*^9, 3.620490015672822*^9}, {3.620490085688377*^9, + 3.620490102224215*^9}, 3.620490177264339*^9, 3.620490224928536*^9, { + 3.620490300042884*^9, 3.620490445981697*^9}, 3.620490506115926*^9, { + 3.620490639133857*^9, 3.620490700389542*^9}, 3.6204907632928457`*^9, { + 3.6204908794932337`*^9, 3.6204908942148542`*^9}, {3.6204909338818073`*^9, + 3.620490947909124*^9}, {3.6204910090289288`*^9, 3.620491017640053*^9}, + 3.62049105095186*^9}, + ImageCache->GraphicsData["CompressedBitmap", "\<\ +eJysvQW4VsX2BzxwznlpJCRMUAS7E7u5JgYWFjZ2YisgAiYYKAaKgYmBiAoq +CCiCiJQgjUgpEhLSB9Y3v5lZa9bMOdz//Z7ve567X7nn3e/ea36zZs3qOeOK +u9pec/MVd11/1RWNW9x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cAw9Y1TsXJjK7Lu4DooHj7tzJV61HqdsVjw17lxRP +7mzyZIVgTFQ9IApsPFyV8+fbpsC+m2+GRYmJUWcQ4g6Iz8yZBgCngRFCxJGq +HfwCXF9dnbso7owcNhx/IHpPj2VWuPcj20FTRh3l66iklYrsDVGLI2OfPD6y +W8BPwgInTlitk+uMFwVW7Nlj50iXq3nz7ICEBi6NYMLkr7lG25Fojg+oC2rL +JZtrw30aOTnkCr9jX0RyZ8zQxq96bajpvJqkcMGdUSEQowKU8fSsmzbNtFfG +EcPwoB4QGnUUgdLX12pf3B/xhD71kAJ1cseOFdRnHCQ1rWxkkclKpzH7+3// +v92IXwGZkTrZ\ +\>"]] +}, Open ]] +}, +WindowSize->{740, 867}, +WindowMargins->{{146, Automatic}, {Automatic, 27}}, +FrontEndVersion->"8.0 for Linux x86 (64-bit) (October 10, 2011)", +StyleDefinitions->"Default.nb" +] +(* End of Notebook Content *) + +(* Internal cache information *) +(*CellTagsOutline +CellTagsIndex->{} +*) +(*CellTagsIndex +CellTagsIndex->{} +*) +(*NotebookFileOutline +Notebook[{ +Cell[CellGroupData[{ +Cell[579, 22, 601, 16, 29, "Input"], +Cell[1183, 40, 417, 12, 45, "Output"] +}, Open ]], +Cell[CellGroupData[{ +Cell[1637, 57, 1948, 46, 84, "Input"], +Cell[3588, 105, 138924, 2293, 327, 96939, 1604, "CachedBoxData", "BoxData", \ +"Output"] +}, Open ]] +} +] +*) + +(* End of internal cache information *) + diff --git a/src/musredit_qt5/images/editcopy.xpm b/src/musredit_qt5/images/editcopy.xpm new file mode 100644 index 00000000..cc6fb7a6 --- /dev/null +++ b/src/musredit_qt5/images/editcopy.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c #8b8bfd", +"X c #3c3cfd", +"o c #000082", +"O c Gray0", +"+ c None", +"@ c Gray0", +"# c Gray0", +/* pixels */ +"++++++++++++++++++++++", +"++++++++++++++++++++++", +"OOOOOOOO++++++++++++++", +"O OO+++++++++++++", +"O OOOO O O++++++++++++", +"O O O+++++++++++", +"O OOOO Ooooooooo++++++", +"O Oo oo+++++", +"O OOOOO o OOOO oXo++++", +"O o o.Xo+++", +"O OOOOO o OOOO o .Xo++", +"O o oooooo+", +"O OOOOO o OOOO o+", +"O o o+", +"O OOOOO o OOOOOOOOO o+", +"O o o+", +"OOOOOOOOo OOOOOOOOO o+", +"++++++++o o+", +"++++++++o OOOOOOOOO o+", +"++++++++o o+", +"++++++++ooooooooooooo+", +"++++++++++++++++++++++" +}; diff --git a/src/musredit_qt5/images/editcut.xpm b/src/musredit_qt5/images/editcut.xpm new file mode 100644 index 00000000..2391adda --- /dev/null +++ b/src/musredit_qt5/images/editcut.xpm @@ -0,0 +1,32 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 4 1", +" c Gray100", +". c #000082", +"X c Gray0", +"o c None", +/* pixels */ +"oooooooooooooooooooooo", +"oooooooXoooooXoooooooo", +"oooooooXoooooXoooooooo", +"oooooooXoooooXoooooooo", +"oooooooXooooXXoooooooo", +"oooooooXXoooXooooooooo", +"ooooooooXoooXooooooooo", +"ooooooooXXoXXooooooooo", +"oooooooooXXXoooooooooo", +"oooooooooXXXoooooooooo", +"ooooooooooXooooooooooo", +"ooooooooo.X.oooooooooo", +"oooooooo..o...oooooooo", +"ooooooo.o.o.oo.ooooooo", +"oooooo.oo.o.ooo.oooooo", +"ooooo.ooo.o.oooo.ooooo", +"oooo.oooo.o.oooo.ooooo", +"oooo.oooo.oo.ooo.ooooo", +"oooo.oooo.oo.oo.oooooo", +"oooo.ooo.oooo..ooooooo", +"ooooo...oooooooooooooo", +"oooooooooooooooooooooo" +}; diff --git a/src/musredit_qt5/images/editfind.xpm b/src/musredit_qt5/images/editfind.xpm new file mode 100644 index 00000000..f5790f34 --- /dev/null +++ b/src/musredit_qt5/images/editfind.xpm @@ -0,0 +1,202 @@ +/* XPM */ +static char * editfind_xpm[] = { +"22 22 177 2", +" c None", +". c #59595A", +"+ c #3B3B3C", +"@ c #3E3E3F", +"# c #3C3C3D", +"$ c #404041", +"% c #585859", +"& c #979797", +"* c #5B5B5B", +"= c #FFFFFF", +"- c #5D5D5E", +"; c #49494A", +"> c #868787", +", c #AFB4B4", +"' c #BBC4C6", +") c #BBC5C6", +"! c #B2B7B7", +"~ c #7A7A7B", +"{ c #1D1D1D", +"] c #474747", +"^ c #3D3D3D", +"/ c #444445", +"( c #7B7879", +"_ c #CFDADA", +": c #E5F0F2", +"< c #DCF2F5", +"[ c #DDF4FA", +"} c #D7F3F8", +"| c #CCEFF7", +"1 c #DCE7E9", +"2 c #6F6F70", +"3 c #434343", +"4 c #E4E4E4", +"5 c #4C4C4D", +"6 c #7D7E7D", +"7 c #E9F8FA", +"8 c #C6EDF5", +"9 c #BDE7F0", +"0 c #A5DCEA", +"a c #9BD6E2", +"b c #BBE7EE", +"c c #444444", +"d c #8A8A8A", +"e c #767676", +"f c #C5CFD2", +"g c #B1E2EC", +"h c #9DD9E6", +"i c #8ACDD9", +"j c #81C9D6", +"k c #AFE1EC", +"l c #CED9D9", +"m c #29292A", +"n c #818181", +"o c #6C6C6C", +"p c #4A4A4A", +"q c #5C5C5C", +"r c #A2A7A7", +"s c #E5F4F8", +"t c #C3E9F0", +"u c #ACE0EB", +"v c #99D8E6", +"w c #87CDDC", +"x c #6CBACB", +"y c #7BC4D4", +"z c #9DA2A1", +"A c #626262", +"B c #727272", +"C c #535353", +"D c #494949", +"E c #BAC0C1", +"F c #E7F3F6", +"G c #CBE9F2", +"H c #86D1E1", +"I c #6CC3D9", +"J c #50A6B9", +"K c #6AB5C3", +"L c #B2C7CB", +"M c #454545", +"N c #4F4F4F", +"O c #4B4B4B", +"P c #373737", +"Q c #E3F2F4", +"R c #C5E7EC", +"S c #A8E1EB", +"T c #96D7E7", +"U c #74C8DD", +"V c #5BB1C4", +"W c #4399A8", +"X c #54ACB9", +"Y c #0C0C0C", +"Z c #D3D3D3", +"` c #464646", +" . c #434344", +".. c #A6ABAA", +"+. c #D8EDF1", +"@. c #B1DBE4", +"#. c #96D5E5", +"$. c #4DBACE", +"%. c #449AA9", +"&. c #3D8996", +"*. c #63B5C4", +"=. c #ABDFEA", +"-. c #232323", +";. c #FCFCFC", +">. c #78C3D3", +",. c #68BDCF", +"'. c #4CB7CB", +"). c #4298A7", +"!. c #398491", +"~. c #489EAD", +"{. c #404647", +"]. c #484848", +"^. c #797A79", +"/. c #D7F0F4", +"(. c #A4DBE9", +"_. c #79BFCC", +":. c #60B3C5", +"<. c #52A7B3", +"[. c #4496A5", +"}. c #50A3B5", +"|. c #8ACFE1", +"1. c #000000", +"2. c #8E8E8E", +"3. c #5C5D5C", +"4. c #BAE4EF", +"5. c #99D4E0", +"6. c #87CAD6", +"7. c #BDE6F0", +"8. c #414648", +"9. c #AC993F", +"0. c #6C6D6C", +"a. c #7B7C7B", +"b. c #79989C", +"c. c #A9C7CE", +"d. c #B3CAD0", +"e. c #88A8AD", +"f. c #6B7274", +"g. c #DECE9D", +"h. c #635920", +"i. c #4D4D4E", +"j. c #595959", +"k. c #737374", +"l. c #757576", +"m. c #717172", +"n. c #707071", +"o. c #424849", +"p. c #414748", +"q. c #BDA44C", +"r. c #717171", +"s. c #686868", +"t. c #928237", +"u. c #747475", +"v. c #767677", +"w. c #373738", +"x. c #939393", +"y. c #E3E3E3", +"z. c #363637", +"A. c #777778", +"B. c #E1E1E1", +"C. c #39393A", +"D. c #3B3B3B", +"E. c #DCDCDC", +"F. c #828282", +"G. c #CECECE", +"H. c #3A3F40", +"I. c #727273", +"J. c #313131", +"K. c #575757", +"L. c #393939", +"M. c #EEEEEE", +"N. c #3D3D3E", +"O. c #9D9D9D", +"P. c #FEFEFE", +"Q. c #323233", +"R. c #7F7F80", +"S. c #0B0B0B", +"T. c #4D4D4D", +" . + @ # $ % & * = ", +" - ; > , ' ) ! ~ { ] * ^ = & ", +" / ( _ : < [ } | [ 1 2 3 4 4 * ", +" 5 6 1 7 = 7 8 9 0 a b 1 6 c d e = ", +" ; f 7 = = = 7 g h i j k l m n o * p = ", +"q r 1 < s = 7 t u v w x y k z A B * C D = ", +"; E F G G 7 t k v H I J K g L M N O M P ", +"; ' Q R b g S T H U V W X S L Y Z ` P = ", +" ...+.@.a v #.H U $.%.&.*.=.r -. ;.= ", +"o 6 _ k i j >.,.'.).!.~.#._ {.] ", +" ].^./.(._.:.<.[.&.}.|.+.z 1. ", +" 2.3.6 +.4.5.6.>.w 7.+.6 8.1.9. ", +" * 0.a.b.c.R R d.e.f.8.1.= g.h. ", +" q i.j.k.l.m.n.o.p.1.q.g.= k.$ ", +" r.i.N p D s. h.t.o.u.= v.w. ", +" x.C y. h.z.o.A.B.~ C. ", +" * D.E.F.M G. z.z.H.I.G.2 J. ", +" = = K.L.M. 1.z.o.n.G.n.N.", +"O.d e P.y. Q.z.o.n.R.$ ", +"n o * ].4 & * = 1.z.o.S.$ ", +"e * C D 4 * ^ = 1.1.$ ", +"K.T.M P = = = "}; diff --git a/src/musredit_qt5/images/editnext.xpm b/src/musredit_qt5/images/editnext.xpm new file mode 100644 index 00000000..383761ec --- /dev/null +++ b/src/musredit_qt5/images/editnext.xpm @@ -0,0 +1,49 @@ +/* XPM */ +static char * editnext_xpm[] = { +"24 24 22 1", +" c None", +". c #000000", +"+ c #FFFFFF", +"@ c #E6E6E6", +"# c #FAFAFA", +"$ c #AEAEAE", +"% c #F6F6F6", +"& c #C9C9C9", +"* c #666666", +"= c #ACACAC", +"- c #F3F3F3", +"; c #FDFDFD", +"> c #676767", +", c #AAAAAA", +"' c #888888", +") c #A5A5A5", +"! c #F0F0F0", +"~ c #525252", +"{ c #5E5E5E", +"] c #696969", +"^ c #FCFCFC", +"/ c #F9F9F9", +" ", +" ", +" ........+ ", +" . ........+ ", +" .@. . #++++++++ ", +" .@$%. .. ..........+ ", +".&$*=%..@. -;+++++++++ ", +" .>$*=&@,. ....+ ", +" .>$*')>. !;+++ ", +" .~${{>. .......+ ", +" .@']]>. !^++++++ ", +" .@,>>>>. ", +" ......... ..........+ ", +" ..........+ ", +" /++++++++++ ", +" ....+ ", +" +++++ ", +" ......+ ", +" +++++++ ", +" ........+ ", +" +++++++++ ", +" ", +" ", +" "}; diff --git a/src/musredit_qt5/images/editpaste.xpm b/src/musredit_qt5/images/editpaste.xpm new file mode 100644 index 00000000..3f775920 --- /dev/null +++ b/src/musredit_qt5/images/editpaste.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c Yellow", +"X c #c6c3c6", +"o c #848284", +"O c #848200", +"+ c #000084", +"@ c Gray0", +"# c None", +/* pixels */ +"######################", +"#######@@@@@##########", +"##@@@@@@...@@@@@@#####", +"#@@@@@@.....@@@@@@####", +"@@oOo@@.@@@.@@oOo@@###", +"@oOo@XXXXXXXXX@oOo@###", +"@OoO@XXXXXXXXX@OoO@###", +"@oOo@@@@@@@@@@@oOo@###", +"@OoOoOoOoOoOoOoOoO@###", +"@oOoOoOoOoOoOoOoOo@###", +"@OoOoOoO++++++++++@###", +"@oOoOoOo+ + +###", +"@OoOoOoO+ +++++ + +##", +"@oOoOoOo+ + +#", +"@OoOoOoO+ +++++ + +", +"@oOoOoOo+ ++++++", +"@OoOoOoO+ +++++ +", +"@oOoOoOo+ +", +"@OoOoOoO+ ++++++++++ +", +"#@@@@@@@+ +", +"########++++++++++++++", +"######################" +}; diff --git a/src/musredit_qt5/images/editprevious.xpm b/src/musredit_qt5/images/editprevious.xpm new file mode 100644 index 00000000..6dba0c52 --- /dev/null +++ b/src/musredit_qt5/images/editprevious.xpm @@ -0,0 +1,45 @@ +/* XPM */ +static char * editprevious_xpm[] = { +"24 22 20 1", +" c None", +". c #000000", +"+ c #FFFFFF", +"@ c #D6D6D6", +"# c #F0F0F0", +"$ c #FDFDFD", +"% c #B1B1B1", +"& c #969696", +"* c #696969", +"= c #FEFEFE", +"- c #A8A8A8", +"; c #888888", +"> c #5E5E5E", +", c #F7F7F7", +"' c #666666", +") c #ACACAC", +"! c #A0A0A0", +"~ c #AEAEAE", +"{ c #3B3B3B", +"] c #4C4C4C", +" ", +" ", +"........+ ", +"........+ ......... ", +"+++++++++ .@@###@. ", +"..........$ .%&*&@. ", +"++++++++++= .-;>&,. ", +"....+ .-;;'),. ", +"+++++ .!~{~'),. ", +".......+ .~..{~'),. ", +"++++++++ .. .{~]. ", +" . .{. ", +"..........$ . ", +"..........+ ", +"+++++++++++ ", +"....+ ", +"+++++ ", +"......+ ", +"+++++++ ", +"........+ ", +"+++++++++ ", +" "}; diff --git a/src/musredit_qt5/images/editredo.xpm b/src/musredit_qt5/images/editredo.xpm new file mode 100644 index 00000000..46dc0331 --- /dev/null +++ b/src/musredit_qt5/images/editredo.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c #848284", +"X c #000084", +"o c Gray0", +"O c None", +"+ c Gray0", +"@ c Gray0", +"# c Gray0", +/* pixels */ +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOO.XXXXXXOOOOOOOOOOO", +"OOOXXXXXXXXXXOOOOOOXOO", +"OO.XXOOOOOOXXXXOOOXXOO", +"OOXXOOOOOOOOOXXXOXXXOO", +"OOXXOOOOOOOOOOXXXXXXOO", +"OOXXOOOOOOOOOOOXXXXXOO", +"OOXXOOOOOOOOOOXXXXXXOO", +"OOXXOOOOOOOOOXXXXXXXOO", +"OO.XXOOOOOOOXXXXXXXXOO", +"OOOXXX.OOOOOOOOOOOOOOO", +"OOOOXXXOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO" +}; diff --git a/src/musredit_qt5/images/editundo.xpm b/src/musredit_qt5/images/editundo.xpm new file mode 100644 index 00000000..229c1636 --- /dev/null +++ b/src/musredit_qt5/images/editundo.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c #848284", +"X c #000084", +"o c Gray0", +"O c None", +"+ c Gray0", +"@ c Gray0", +"# c Gray0", +/* pixels */ +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOXXXXXX.OOOO", +"OOXOOOOOOXXXXXXXXXXOOO", +"OOXXOOOXXXXOOOOOOXX.OO", +"OOXXXOXXXOOOOOOOOOXXOO", +"OOXXXXXXOOOOOOOOOOXXOO", +"OOXXXXXOOOOOOOOOOOXXOO", +"OOXXXXXXOOOOOOOOOOXXOO", +"OOXXXXXXXOOOOOOOOOXXOO", +"OOXXXXXXXXOOOOOOOXX.OO", +"OOOOOOOOOOOOOOO.XXXOOO", +"OOOOOOOOOOOOOOOXXXOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO" +}; diff --git a/src/musredit_qt5/images/filenew.xpm b/src/musredit_qt5/images/filenew.xpm new file mode 100644 index 00000000..884d7cbb --- /dev/null +++ b/src/musredit_qt5/images/filenew.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c Gray76", +"X c Gray53", +"o c Gray36", +"O c Gray18", +"+ c Gray0", +"@ c None", +"# c Gray0", +/* pixels */ +"@@@@@@@@@@@@@@@@@@@@@@", +"@@@@++++++++++@@@@@@@@", +"@@@@+ +O+@@@@@@@", +"@@@@+ +oO+@@@@@@", +"@@@@+ +XoO+@@@@@", +"@@@@+ +.XoO+@@@@", +"@@@@+ + .XoO+@@@", +"@@@@+ +++++++@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+ +@@@", +"@@@@+++++++++++++++@@@", +"@@@@@@@@@@@@@@@@@@@@@@", +"@@@@@@@@@@@@@@@@@@@@@@" +}; diff --git a/src/musredit_qt5/images/fileopen.xpm b/src/musredit_qt5/images/fileopen.xpm new file mode 100644 index 00000000..82effcf7 --- /dev/null +++ b/src/musredit_qt5/images/fileopen.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c Yellow", +"X c #848200", +"o c Gray0", +"O c None", +"+ c Gray0", +"@ c Gray0", +"# c Gray0", +/* pixels */ +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO", +"OOOOOOOOOOOOooooOOOOoO", +"OOOOOOOOOOOoOOOOooOooO", +"OOOOOOOOOOOOOOOOOOoooO", +"OOOOOOOOOOOOOOOOOooooO", +"OooooOOOOOOOOOOOoooooO", +"o. . ooooooooooOOOOOOO", +"o . . . . . . oOOOOOOO", +"o. . . . . . .oOOOOOOO", +"o . . . . . . oOOOOOOO", +"o. . . ooooooooooooooo", +"o . . ooXXXXXXXXXXXXoo", +"o. . ooXXXXXXXXXXXXooO", +"o . ooXXXXXXXXXXXXooOO", +"o. ooXXXXXXXXXXXXooOOO", +"o ooXXXXXXXXXXXXooOOOO", +"oooXXXXXXXXXXXXooOOOOO", +"ooXXXXXXXXXXXXooOOOOOO", +"oooooooooooooooOOOOOOO", +"OOOOOOOOOOOOOOOOOOOOOO" +}; diff --git a/src/musredit_qt5/images/fileprint.xpm b/src/musredit_qt5/images/fileprint.xpm new file mode 100644 index 00000000..8701d460 --- /dev/null +++ b/src/musredit_qt5/images/fileprint.xpm @@ -0,0 +1,117 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 89 1", +" c Gray0", +". c #101008081010", +"X c #101010101010", +"o c #101010101818", +"O c #181810101818", +"+ c #181818181818", +"@ c #181818182121", +"# c #212118182121", +"$ c Gray13", +"% c #212121212929", +"& c #292921212929", +"* c Gray16", +"= c #292929293131", +"- c #313129293131", +"; c #313131313131", +": c #313131313939", +"> c #393931313939", +", c #393939393939", +"< c #393939394242", +"1 c #424239394242", +"2 c Gray26", +"3 c #4a4a4a4a5252", +"4 c #5a5a52525a5a", +"5 c #5a5a5a5a6363", +"6 c #6b6b63636b6b", +"7 c Gray42", +"8 c #6b6b6b6b7373", +"9 c #73736b6b7373", +"0 c #7b7b73737b7b", +"q c #7b7b73738484", +"w c #0808ffff0808", +"e c #2929ffff2929", +"r c #3131ffff3131", +"t c #5a5acece5a5a", +"y c #6b6bffff6363", +"u c #7b7bffff7b7b", +"i c #84847b7b8484", +"p c #84847b7b8c8c", +"a c #8c8c7b7b9494", +"s c #848484848c8c", +"d c #8c8c84848c8c", +"f c Gray55", +"g c #8c8c84849494", +"h c #8c8c8c8c9494", +"j c #94948c8c9494", +"k c #94948c8c9c9c", +"l c Gray58", +"z c #949494949c9c", +"x c #9c9c94949c9c", +"c c Gray61", +"v c #9c9c9494a5a5", +"b c #9c9c9c9ca5a5", +"n c #a5a59c9ca5a5", +"m c #a5a59c9cadad", +"M c #adad9c9cadad", +"N c #a5a5a5a5a5a5", +"B c #a5a5a5a5adad", +"V c #adada5a5adad", +"C c Gray68", +"Z c #adadadadb5b5", +"A c #b5b5adadb5b5", +"S c Gray71", +"D c Gray74", +"F c #9494c6c69494", +"G c #9c9ccecea5a5", +"H c #bdbdd6d6bdbd", +"J c #c0c0c0c0c0c0", +"K c #c6c6c6c6c6c6", +"L c #cecec6c6cece", +"P c #cececececece", +"I c #cecececed6d6", +"U c #d6d6ceced6d6", +"Y c #d6d6cecedede", +"T c Gray84", +"R c #d6d6d6d6dede", +"E c #deded6d6dede", +"W c Gray87", +"Q c #deded6d6e7e7", +"! c #dedededee7e7", +"~ c #d6d6ffffd6d6", +"^ c #e7e7dedee7e7", +"/ c #e7e7e7e7e7e7", +"( c #e7e7e7e7efef", +") c #efefe7e7efef", +"_ c #efefefefefef", +"` c #e7e7ffffe7e7", +"' c Gray97", +"] c Gray100", +"[ c None", +/* pixels */ +"[[[[[[SDPPPPKKDDCD[[[[", +"[[[[[[D_/////___WD[[[[", +"[[[[[[DKKKPPKKKKDK[[[[", +"[[[[[[SDDDDSDDSSCD[[[[", +"[[[[[KCKDKKKDDDKS[[[[[", +"[[[[[DDSDDDDDDKKS[[[[[", +"[[[[[DSKDDDDDKDKC[[[[[", +"[[[[[KDDDDDDDDDDS[[[[[", +"[[[[[CP/WWWWWWTWNNZ[[[", +"[[[Dc9STPTPTPTWWj427S[", +"[[Dziq0000000pag8<%@2N", +"[DcE(!ERRRRUYGtFn2##O<", +"Db)]]]]]]]]]~ewePa;@X#", +"V']]]]]]]]]]`yru]Q0@ #", +"BRILITRRW^!E!RHUILhO @", +"jAZVBmBnmmNmnmMvzh6o #", +"jZZmBnnnbnbbbbvxxg6o +", +"lmmnbnbbbvcvxxxvjs6O 3", +"jBnnvcvxvcvxvxzjhd8o+C", +"lsdgfgdhgdhhjhjkhg6+l[", +"S9%@$%&&&=--::>>:-:l[[", +"[[C511,:;;;**%++.2c[[[" +}; diff --git a/src/musredit_qt5/images/filereload.xpm b/src/musredit_qt5/images/filereload.xpm new file mode 100644 index 00000000..23bedb11 --- /dev/null +++ b/src/musredit_qt5/images/filereload.xpm @@ -0,0 +1,172 @@ +/* XPM */ +static char * editreload_xpm[] = { +"22 22 147 2", +" c None", +". c #215017", +"+ c #225118", +"@ c #1C3F10", +"# c #1C4110", +"$ c #213B14", +"% c #1A330D", +"& c #141400", +"* c #1D4613", +"= c #2A732F", +"- c #65C284", +"; c #D8F0D6", +"> c #B9E4BD", +", c #82CD91", +"' c #3D8F4B", +") c #477D40", +"! c #417036", +"~ c #1E4917", +"{ c #1B3E0F", +"] c #32A85D", +"^ c #FFFFFF", +"/ c #B8E2BE", +"( c #46B670", +"_ c #2F833C", +": c #112405", +"< c #121600", +"[ c #212106", +"} c #142B0A", +"| c #B2E0B8", +"1 c #47B671", +"2 c #50854A", +"3 c #686868", +"4 c #6E6E6E", +"5 c #101800", +"6 c #CBE9CB", +"7 c #63C284", +"8 c #337F3A", +"9 c #17320C", +"0 c #747474", +"a c #2A6F2B", +"b c #A3DAAE", +"c c #31843E", +"d c #676767", +"e c #7B7B7B", +"f c #296C27", +"g c #E0F3DD", +"h c #63C385", +"i c #46914F", +"j c #142908", +"k c #6D6D6D", +"l c #284919", +"m c #305020", +"n c #2FA057", +"o c #BEE5C1", +"p c #55BD7A", +"q c #32843F", +"r c #192C0B", +"s c #161600", +"t c #2C7F39", +"u c #B0E1B5", +"v c #DFF3DD", +"w c #D4F4D4", +"x c #6FC386", +"y c #419652", +"z c #378843", +"A c #7DCB8F", +"B c #CEECCE", +"C c #2C813A", +"D c #16310C", +"E c #000000", +"F c #171717", +"G c #366D2F", +"H c #32A65C", +"I c #34B464", +"J c #319E52", +"K c #3A924C", +"L c #64C280", +"M c #256022", +"N c #A0A0A0", +"O c #474747", +"P c #191919", +"Q c #2F8F46", +"R c #33B364", +"S c #6AC684", +"T c #5A5A5A", +"U c #B8B8B8", +"V c #848484", +"W c #454545", +"X c #151515", +"Y c #407438", +"Z c #2F8B40", +"` c #2D823B", +" . c #C3C3C3", +".. c #383838", +"+. c #484848", +"@. c #8D8D8D", +"#. c #4C4C4C", +"$. c #B5B5B5", +"%. c #6F6F6F", +"&. c #353535", +"*. c #222222", +"=. c #292929", +"-. c #4D4D4D", +";. c #464646", +">. c #282828", +",. c #9B9B9B", +"'. c #2A2A2A", +"). c #2F2F2F", +"!. c #2E2E2E", +"~. c #717171", +"{. c #2C2C2C", +"]. c #0A0A0A", +"^. c #030303", +"/. c #757575", +"(. c #3C3C3C", +"_. c #515151", +":. c #242424", +"<. c #010101", +"[. c #898989", +"}. c #414141", +"|. c #575757", +"1. c #252525", +"2. c #A3A3A3", +"3. c #3B3B3B", +"4. c #1A1A1A", +"5. c #AFAFAF", +"6. c #6A6A6A", +"7. c #434343", +"8. c #404040", +"9. c #070707", +"0. c #424242", +"a. c #141414", +"b. c #080808", +"c. c #0B0B0B", +"d. c #1C1C1C", +"e. c #797979", +"f. c #828282", +"g. c #505050", +"h. c #1F1F1F", +"i. c #4B4B4B", +"j. c #818181", +"k. c #A5A5A5", +"l. c #5E5E5E", +"m. c #0D0D0D", +"n. c #121212", +"o. c #212121", +"p. c #1D1D1D", +" . + @ # $ % & ", +" * = - ; > , ' ) ! ~ { ", +" * ] ^ / ( _ * : < [ & ~ } ", +" = ^ | 1 2 & & 3 4 & } 5 ", +" * - 6 7 8 9 3 0 } & ", +" a ^ b c & d e & ", +" f g h i j k ", +"& { l m n o p q r s & & ", +"& t u v w x y z A B C D E F ", +" & G H I J K L C M & E N O P ", +" & G Q R S C M & T E U k V W X ", +" & Y Z ` M & E .4 ..+.@.#.P ", +" & G M & E $.%.&.*.=.-.@.;.X ", +" & & >.,.3 W W '.).!.;.~.{.].", +" E E ^.E /.(._.:.<.E E E ", +" E [.}.|.1. ", +" E E 2.3._.4. ", +" E E E 5.6.7.8.9. ", +" E E E E E 5.V 0.+.a. ", +" b.*.c.d.E E e.5.f.g.g.{.9. ", +" E h.i.6.j.k.l.0.g.m.E ", +" ].n.P h.o.p.E "}; diff --git a/src/musredit_qt5/images/filesave.xpm b/src/musredit_qt5/images/filesave.xpm new file mode 100644 index 00000000..71cbd331 --- /dev/null +++ b/src/musredit_qt5/images/filesave.xpm @@ -0,0 +1,36 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"22 22 8 1", +" c Gray100", +". c #cab5d1", +"X c #c1c1c1", +"o c #848200", +"O c Gray0", +"+ c None", +"@ c Gray0", +"# c Gray0", +/* pixels */ +"++++++++++++++++++++++", +"+OOOOOOOOOOOOOOOOOOOO+", +"+OooOXXXXXXXXXXXXOXXO+", +"+OooOXXXXXXXXXXXXOXXO+", +"+OooOXXXXXXXXX.XXOOOO+", +"+OooOXXX..XXXXXXXOooO+", +"+OooOXXX..XXXXXXXOooO+", +"+OooOXXXXXXXXXXXXOooO+", +"+OooOXXXXXXXXXXXXOooO+", +"+OooOXXXXXXXXXXXXOooO+", +"+OooOXXXXXXXXXXXXOooO+", +"+OoooOOOOOOOOOOOOoooO+", +"+OooooooooooooooooooO+", +"+OooooooooooooooooooO+", +"+OoooOOOOOOOOOOOOOooO+", +"+OoooOOOOOOOOOXXXOooO+", +"+OoooOOOOOOOOOXXXOooO+", +"+OoooOOOOOOOOOXXXOooO+", +"+OoooOOOOOOOOOXXXOooO+", +"+OoooOOOOOOOOOXXXOooO+", +"++OOOOOOOOOOOOOOOOOO++", +"++++++++++++++++++++++" +}; diff --git a/src/musredit_qt5/images/musrFT.xpm b/src/musredit_qt5/images/musrFT.xpm new file mode 100644 index 00000000..406c21dc --- /dev/null +++ b/src/musredit_qt5/images/musrFT.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char *dummy[]={ +"22 22 3 1", +". c None", +"# c #000000", +"a c #ff0000", +"..##....###...##......", +"......................", +"######################", +"......................", +".........a............", +".........a............", +".........a............", +".........a............", +".........aa...........", +"........aaa...........", +"........aaa...........", +"........a.a...........", +"........a.a...........", +".......aa.aa..........", +".......aa..aa.........", +"a.aaa..a....aaa...aa..", +"aa.aaa.a......aaa.aaaa", +"......a..........aa...", +"######################", +"......................", +".#######.####..####...", +"......................"}; diff --git a/src/musredit_qt5/images/musrasym.xpm b/src/musredit_qt5/images/musrasym.xpm new file mode 100644 index 00000000..64bfb2f4 --- /dev/null +++ b/src/musredit_qt5/images/musrasym.xpm @@ -0,0 +1,29 @@ +/* XPM */ +static char * musrasym_xpm[] = { +"22 22 4 1", +" c None", +". c #3D20CF", +"+ c #FF0000", +"@ c #000000", +" ", +" . .. . . . .", +" . . . . . . .. ..", +". . . . . . . .", +". . .. . . . .", +"..... . . . .", +". . . . . . .", +". . .. . . .", +" ", +" ++ ", +"+ + ", +" + ", +" + ", +" + ", +" + ++ ", +" + + + +", +"@@@@@@@+@@@@+@@@@+@@+ ", +" + + ++ ", +" ++ ", +" ", +" ", +" "}; diff --git a/src/musredit_qt5/images/musrcalcchisq.xpm b/src/musredit_qt5/images/musrcalcchisq.xpm new file mode 100644 index 00000000..63088af1 --- /dev/null +++ b/src/musredit_qt5/images/musrcalcchisq.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrcalcchisq_xpm[] = { +"22 22 3 1", +" c None", +". c #FF0000", +"+ c #000000", +" ... ", +" +... . ", +" .+ ...+. ", +" ... . ... ", +" ... ... ", +" ... ... ", +"+ . . ", +" . ", +" +++ ", +" ++..+ ", +" + ..+ . ", +" .+.+ . ", +"++ + +. + ... ", +"+++ ++ + ...++... ", +" ++ ++ +++++.. ... ", +" +++ ... .+ ", +" ++ . ", +" ++ ...", +" +++ ...", +" ++ + ...", +" ++ +++ . ", +"++ +++ "}; diff --git a/src/musredit_qt5/images/musrdump.xpm b/src/musredit_qt5/images/musrdump.xpm new file mode 100644 index 00000000..f6d401f0 --- /dev/null +++ b/src/musredit_qt5/images/musrdump.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrdump_xpm[] = { +"22 22 3 1", +" c None", +". c #0000FF", +"+ c #000000", +"... . . . . ... ", +". . . . .. .. . .", +". . . . . . . . .", +". . . . . . . . .", +". . . . . . ... ", +". . . . . . . ", +"... ... . . . ", +" ", +" ", +"+++ ", +" ++++ ", +" + ", +" ++++ ", +" + ", +" ++++ ", +" + + ", +" + +++++ ", +" + +++ ", +" ++++ + ", +" +++ +++ ", +" + ++++ ", +" +++ + "}; diff --git a/src/musredit_qt5/images/musredit.icns b/src/musredit_qt5/images/musredit.icns new file mode 100644 index 00000000..ee2fe513 Binary files /dev/null and b/src/musredit_qt5/images/musredit.icns differ diff --git a/src/musredit_qt5/images/musredit.ico b/src/musredit_qt5/images/musredit.ico new file mode 100644 index 00000000..1fd7720d Binary files /dev/null and b/src/musredit_qt5/images/musredit.ico differ diff --git a/src/musredit_qt5/images/musrfit-16x16.gif b/src/musredit_qt5/images/musrfit-16x16.gif new file mode 100644 index 00000000..14aeef69 Binary files /dev/null and b/src/musredit_qt5/images/musrfit-16x16.gif differ diff --git a/src/musredit_qt5/images/musrfit-16x16.ico b/src/musredit_qt5/images/musrfit-16x16.ico new file mode 100644 index 00000000..247a09df Binary files /dev/null and b/src/musredit_qt5/images/musrfit-16x16.ico differ diff --git a/src/musredit_qt5/images/musrfit-16x16.png b/src/musredit_qt5/images/musrfit-16x16.png new file mode 100644 index 00000000..076937f1 Binary files /dev/null and b/src/musredit_qt5/images/musrfit-16x16.png differ diff --git a/src/musredit_qt5/images/musrfit-16x16.xpm b/src/musredit_qt5/images/musrfit-16x16.xpm new file mode 100644 index 00000000..7826f514 --- /dev/null +++ b/src/musredit_qt5/images/musrfit-16x16.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char * musrfit_16x16_xpm[] = { +"16 16 3 1", +" c None", +". c #FF0000", +"+ c #000000", +" ... ", +" +... . ", +" .+ ...+. ", +" ... . ... ", +" ... ... ", +" ... ... ", +"+ . .+ ", +" .+ ", +" . ", +" ... ", +"+++ + +++ ... ", +"+ + + ...+ ", +"+++ + + . + ", +"+ + + ...+", +"+ + + ... ", +" ... "}; diff --git a/src/musredit_qt5/images/musrfit.gif b/src/musredit_qt5/images/musrfit.gif new file mode 100644 index 00000000..c4a7bbc5 Binary files /dev/null and b/src/musredit_qt5/images/musrfit.gif differ diff --git a/src/musredit_qt5/images/musrfit.svg b/src/musredit_qt5/images/musrfit.svg new file mode 100644 index 00000000..461d75dc --- /dev/null +++ b/src/musredit_qt5/images/musrfit.svg @@ -0,0 +1,290 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + FIT + FIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/musredit_qt5/images/musrfit.xpm b/src/musredit_qt5/images/musrfit.xpm new file mode 100644 index 00000000..de1b652d --- /dev/null +++ b/src/musredit_qt5/images/musrfit.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrfit_xpm[] = { +"22 22 3 1", +" c None", +". c #FF0000", +"+ c #000000", +" ... ", +" +... . ", +" .+ ...+. ", +" ... . ... ", +" ... ... ", +" ... ... ", +"+ . .+ ", +" .+ ", +" . ", +" ... ", +" ... . ", +" ...+ . ", +" . + ... ", +" ...++... ", +"++++ + +++++... ... ", +"+ + + ... .+ ", +"+ + + . ", +"++++ + + ...", +"+ + + ...", +"+ + + ...", +"+ + + . ", +" "}; diff --git a/src/musredit_qt5/images/musrmsr2data.xpm b/src/musredit_qt5/images/musrmsr2data.xpm new file mode 100644 index 00000000..4aa1bd07 --- /dev/null +++ b/src/musredit_qt5/images/musrmsr2data.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrmlog2db_xpm[] = { +"22 22 3 1", +" c None", +". c #000000", +"+ c #FF0000", +" .... . ..... ", +".... . . . ", +" . . . ", +".... ... . . ", +" . . . ", +"....... . . . ", +" . . . ", +".... ", +" + ", +"... + ", +" + ", +"...... + + + ", +" +++ ", +".... + ", +" ", +".... +++ +++ ", +" + + + + ", +"..... + + + + ", +" + + +++ ", +"...... + + + + ", +" + + + + ", +".... +++ +++ "}; diff --git a/src/musredit_qt5/images/musrprefs.xpm b/src/musredit_qt5/images/musrprefs.xpm new file mode 100644 index 00000000..f52e3e32 --- /dev/null +++ b/src/musredit_qt5/images/musrprefs.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrprefs_xpm[] = { +"22 22 3 1", +" c None", +". c #3D20CF", +"+ c #000000", +"... ... ... ... ... ", +". . . . . . . ", +"... ... ... ... ... ", +". . . . . . ", +". . . ... . ... ", +" ", +" + + ", +" + + + ", +"+ ++++ ++ + ", +" + + + + ", +" + + ", +" ", +" + + ", +" + + + ++ ++ + ", +"+ + +++ + + + + + ", +" + + + + ", +" + + ", +" ", +" + + + ", +" + + + + + ", +"+ + +++++++++ + ++ +", +" + ++ ++ + + "}; diff --git a/src/musredit_qt5/images/musrsinglehisto.xpm b/src/musredit_qt5/images/musrsinglehisto.xpm new file mode 100644 index 00000000..bc1e3ec2 --- /dev/null +++ b/src/musredit_qt5/images/musrsinglehisto.xpm @@ -0,0 +1,29 @@ +/* XPM */ +static char * musrsinglehisto_xpm[] = { +"22 22 4 1", +" c None", +". c #3D20CF", +"+ c #FF0000", +"@ c #000000", +" ", +". . . .. ..... ... ", +".++ . . . . . . .", +". + . . . . . .", +"..... . .. . . .", +". +. . . . . .", +". . . . . . . .", +". .+. .. . ... ", +"@ + ", +"@ + ", +"@ + ", +"@ ++ ", +"@ + ", +"@ + ", +"@ + ", +"@ + ", +"@ ++ ", +"@ + ", +"@ ++ ", +"@ ++ ", +"@ ++ ", +"@@@@@@@@@@@@@@@@@@@+++"}; diff --git a/src/musredit_qt5/images/musrswap.xpm b/src/musredit_qt5/images/musrswap.xpm new file mode 100644 index 00000000..b95e4e9f --- /dev/null +++ b/src/musredit_qt5/images/musrswap.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrswap_xpm[] = { +"22 22 3 1", +" c None", +". c #000000", +"+ c #FF0000", +".. .. .... .... ", +".. .. . . . . ", +". . . . . . . ", +". ... . ... . . ", +". . . .. .... ", +". . . . . ", +". . . . . . ", +". . .+.. . . ", +" +++ ", +" +++++ ", +" ++ + ++ ", +" + ", +" ++ + ++ ", +" +++++ ", +".. .. .+++... ... ", +".. .. . +.. .. .. ..", +". . . . . . . . .", +". ... . . . . . ", +". . . . . . . ...", +". . . . . . .", +". . . .. .. .. ..", +". . ....... ... "}; diff --git a/src/musredit_qt5/images/musrt0.xpm b/src/musredit_qt5/images/musrt0.xpm new file mode 100644 index 00000000..6a14ac0e --- /dev/null +++ b/src/musredit_qt5/images/musrt0.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrt0_xpm[] = { +"22 22 3 1", +" c None", +". c #3D20CF", +"+ c #000000", +"..... .. ", +" . . . ", +" . . . ", +" . . . ", +" . + . . ++ ", +" . + . .+ ++ ", +" . + .. + + ", +" + + +++ ", +" + + + ", +" + + ++ ", +" + + + ", +" + + + ", +" + + ++ ", +" + + ++++ ", +" + + + ", +" + + ++", +" + + ", +" + + ", +" + + ", +" + ++ + ", +"++ + + ", +" "}; diff --git a/src/musredit_qt5/images/musrview.xpm b/src/musredit_qt5/images/musrview.xpm new file mode 100644 index 00000000..fad71c57 --- /dev/null +++ b/src/musredit_qt5/images/musrview.xpm @@ -0,0 +1,28 @@ +/* XPM */ +static char * musrview_xpm[] = { +"22 22 3 1", +" c None", +". c #000000", +"+ c #FF0000", +" .. ... .. ", +" ", +"......................", +" . ", +" . . ... ", +" ++ . ", +" ++ . ..... ", +" + + . ", +" + ... . ..... ", +" + . + . . ", +" +. + . . . ....", +" +. + . . ", +" + . + . . ... . ", +" + . + . . ", +" +. + . . ", +" +. + ... ", +" ++ . ", +" . ", +"......................", +" ", +" ....... .... .... ", +" "}; diff --git a/src/musredit_qt5/latex_images/abragam.png b/src/musredit_qt5/latex_images/abragam.png new file mode 100644 index 00000000..d3c11151 Binary files /dev/null and b/src/musredit_qt5/latex_images/abragam.png differ diff --git a/src/musredit_qt5/latex_images/abragam.tex b/src/musredit_qt5/latex_images/abragam.tex new file mode 100644 index 00000000..372a9a38 --- /dev/null +++ b/src/musredit_qt5/latex_images/abragam.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\exp\left[ -(\sigma/\gamma)^2 \left( e^{-\gamma t} - 1 + \gamma t\right) \right] +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/asymmetry.png b/src/musredit_qt5/latex_images/asymmetry.png new file mode 100644 index 00000000..8d54c017 Binary files /dev/null and b/src/musredit_qt5/latex_images/asymmetry.png differ diff --git a/src/musredit_qt5/latex_images/asymmetry.tex b/src/musredit_qt5/latex_images/asymmetry.tex new file mode 100644 index 00000000..f21bd2aa --- /dev/null +++ b/src/musredit_qt5/latex_images/asymmetry.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +A +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/bessel.png b/src/musredit_qt5/latex_images/bessel.png new file mode 100644 index 00000000..d0801169 Binary files /dev/null and b/src/musredit_qt5/latex_images/bessel.png differ diff --git a/src/musredit_qt5/latex_images/bessel.tex b/src/musredit_qt5/latex_images/bessel.tex new file mode 100644 index 00000000..0b372d7b --- /dev/null +++ b/src/musredit_qt5/latex_images/bessel.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +j_0(2\pi\nu t + \phi \pi/180) +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/combiLGKT.png b/src/musredit_qt5/latex_images/combiLGKT.png new file mode 100644 index 00000000..01734338 Binary files /dev/null and b/src/musredit_qt5/latex_images/combiLGKT.png differ diff --git a/src/musredit_qt5/latex_images/combiLGKT.tex b/src/musredit_qt5/latex_images/combiLGKT.tex new file mode 100644 index 00000000..49213056 --- /dev/null +++ b/src/musredit_qt5/latex_images/combiLGKT.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +1/3 \left[ 1 + 2\, \left\{ 1 - (\sigma t)^2 - \lambda t\right\}\right]\, e^{-(\sigma t)^2/2 - \lambda t} +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/generalExp.png b/src/musredit_qt5/latex_images/generalExp.png new file mode 100644 index 00000000..6cdc0248 Binary files /dev/null and b/src/musredit_qt5/latex_images/generalExp.png differ diff --git a/src/musredit_qt5/latex_images/generalExp.tex b/src/musredit_qt5/latex_images/generalExp.tex new file mode 100644 index 00000000..d99ea317 --- /dev/null +++ b/src/musredit_qt5/latex_images/generalExp.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\exp\left[-(\lambda t)^\beta\right] +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/internalBessel.png b/src/musredit_qt5/latex_images/internalBessel.png new file mode 100644 index 00000000..0220ead7 Binary files /dev/null and b/src/musredit_qt5/latex_images/internalBessel.png differ diff --git a/src/musredit_qt5/latex_images/internalBessel.tex b/src/musredit_qt5/latex_images/internalBessel.tex new file mode 100644 index 00000000..934d2b17 --- /dev/null +++ b/src/musredit_qt5/latex_images/internalBessel.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\alpha j_0\left(2\pi\nu t + \phi\pi/180\right) e^{-\lambda_{\rm T} t} + (1-\alpha) e^{-\lambda_{\rm L} t} +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/internalField.png b/src/musredit_qt5/latex_images/internalField.png new file mode 100644 index 00000000..a75823cf Binary files /dev/null and b/src/musredit_qt5/latex_images/internalField.png differ diff --git a/src/musredit_qt5/latex_images/internalField.tex b/src/musredit_qt5/latex_images/internalField.tex new file mode 100644 index 00000000..57606995 --- /dev/null +++ b/src/musredit_qt5/latex_images/internalField.tex @@ -0,0 +1,20 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +% internal field, delta-B +\begin{displaymath} +\alpha \cos\left(2\pi\nu t + \phi\pi/180\right) e^{-\lambda_{\rm T} t} + (1-\alpha) e^{-\lambda_{\rm L} t} +\end{displaymath} + +% internal field, Gaussian broadened +\begin{displaymath} +\alpha \left[\cos(2\pi\nu t) -\frac{\sigma^2 t}{2\pi\nu}\sin(2\pi\nu t)\right] e^{-(\sigma t)^2/2} + (1-\alpha) e^{-(\lambda t)^\beta} +\end{displaymath} + +% internal field, Lorentzian broadened +\begin{displaymath} +\alpha \left[\cos(2\pi\nu t) -\frac{a}{2\pi\nu}\sin(2\pi\nu t)\right] e^{-a t} + (1-\alpha) e^{-\lambda t} +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/internalFieldGK.png b/src/musredit_qt5/latex_images/internalFieldGK.png new file mode 100644 index 00000000..3a8462e2 Binary files /dev/null and b/src/musredit_qt5/latex_images/internalFieldGK.png differ diff --git a/src/musredit_qt5/latex_images/internalFieldLL.png b/src/musredit_qt5/latex_images/internalFieldLL.png new file mode 100644 index 00000000..72bff3e0 Binary files /dev/null and b/src/musredit_qt5/latex_images/internalFieldLL.png differ diff --git a/src/musredit_qt5/latex_images/polynom.png b/src/musredit_qt5/latex_images/polynom.png new file mode 100644 index 00000000..ae2c018e Binary files /dev/null and b/src/musredit_qt5/latex_images/polynom.png differ diff --git a/src/musredit_qt5/latex_images/polynom.tex b/src/musredit_qt5/latex_images/polynom.tex new file mode 100644 index 00000000..cfcdf4b0 --- /dev/null +++ b/src/musredit_qt5/latex_images/polynom.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\sum_{k=0}^n a_k (t-t_0)^k +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/simpleExp.png b/src/musredit_qt5/latex_images/simpleExp.png new file mode 100644 index 00000000..e033d578 Binary files /dev/null and b/src/musredit_qt5/latex_images/simpleExp.png differ diff --git a/src/musredit_qt5/latex_images/simpleExp.tex b/src/musredit_qt5/latex_images/simpleExp.tex new file mode 100644 index 00000000..86049aa1 --- /dev/null +++ b/src/musredit_qt5/latex_images/simpleExp.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\exp(-\lambda t) +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/simpleGauss.png b/src/musredit_qt5/latex_images/simpleGauss.png new file mode 100644 index 00000000..a5b8ed8c Binary files /dev/null and b/src/musredit_qt5/latex_images/simpleGauss.png differ diff --git a/src/musredit_qt5/latex_images/simpleGauss.tex b/src/musredit_qt5/latex_images/simpleGauss.tex new file mode 100644 index 00000000..e8f20339 --- /dev/null +++ b/src/musredit_qt5/latex_images/simpleGauss.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\exp\left[-1/2(\sigma t)^2\right] +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/statExpKT.png b/src/musredit_qt5/latex_images/statExpKT.png new file mode 100644 index 00000000..60e13e78 Binary files /dev/null and b/src/musredit_qt5/latex_images/statExpKT.png differ diff --git a/src/musredit_qt5/latex_images/statExpKT.tex b/src/musredit_qt5/latex_images/statExpKT.tex new file mode 100644 index 00000000..32a8e61f --- /dev/null +++ b/src/musredit_qt5/latex_images/statExpKT.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +1/3 \left[ 1 + 2\, \left\{ 1 - \lambda t \right\}\right]\, e^{-\lambda t} +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/statGssKT.png b/src/musredit_qt5/latex_images/statGssKT.png new file mode 100644 index 00000000..e28023b5 Binary files /dev/null and b/src/musredit_qt5/latex_images/statGssKT.png differ diff --git a/src/musredit_qt5/latex_images/statGssKT.tex b/src/musredit_qt5/latex_images/statGssKT.tex new file mode 100644 index 00000000..4852ffb7 --- /dev/null +++ b/src/musredit_qt5/latex_images/statGssKT.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +1/3 \left[ 1 + 2\, \left\{ 1 - (\sigma t)^2 \right\}\right]\, e^{-(\sigma t)^2/2}~ +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/latex_images/textogif b/src/musredit_qt5/latex_images/textogif new file mode 100644 index 00000000..f5d98b2f --- /dev/null +++ b/src/musredit_qt5/latex_images/textogif @@ -0,0 +1,233 @@ +#! /usr/bin/perl +# +# T E X T O G I F +# +# by John Walker +# http://www.fourmilab.ch/ +# + $version = '1.1 (2003-11-07)'; +# +# +# Converts a LaTeX file containing equations(s) into a GIF file for +# embedding into an HTML document. The black and white image of the +# equation is created at high resolution and then resampled to the +# target resolution to antialias what would otherwise be jagged +# edges. +# +# Online documentation with sample output is available on the Web +# at http://www.fourmilab.ch/webtools/textogif/ +# +# Write your equation (or anything else you can typeset with LaTeX) +# in a file like: +# +# \documentclass[12pt]{article} +# \pagestyle{empty} +# \begin{document} +# +# \begin{displaymath} +# \bf % Compiled formulae often look better in boldface +# \int H(x,x')\psi(x')dx' = -\frac{\hbar2}{2m}\frac{d2}{dx2} +# \psi(x)+V(x)\psi(x) +# \end{displaymath} +# +# \end{document} +# +# The "\pagestyle{empty}" is required to avoid generating a huge +# image with a page number at the bottom. +# +# Then (assuming you have all the software described below installed +# properly), you can simply say: +# +# textogif [options] filename ... +# +# to compile filename.tex to filename.gif, an interlaced, +# transparent background GIF file ready to use an an inline image. +# You can specify the base name, for example, "schrod", rather than +# the full name of the TeX file ("schrod.tex"). TeX requires the +# input file to have an extension of ".tex". The command line +# options are described in the help text at the end of this program +# and in the "Default Configuration" section below. +# +# A sample IMG tag, including the image width and height is printed +# on standard error, for example: +# +# +# +# Required Software +# +# This script requires the following software to be installed +# in the standard manner. Version numbers are those used in the +# development and testing of the script. +# +# Perl 5.8.0 (anything later than 4.036 should work) +# TeX 3.14159 (Web2C 7.3.1) +# LaTeX2e <2000/06/01> +# dvips dvipsk 5.86 +# Ghostscript 6.52 (2001-10-20) +# Netpbm 9.24 +# +# +# Default Configuration +# +# The following settings are the defaults used if the -dpi and +# -res options are not specified on the command line. +# +# The parameter $dpi controls how large the equation will appear +# with respect to other inline images and the surrounding text. +# The parameter is expressed in "dots per inch" in the PostScript +# sense. Unfortunately, since there's no standard text size in +# Web browsers (and most allow the user to change fonts and +# point sizes), there's no "right" value for this setting. The +# default of 150 seems about right for most documents. A setting +# of 75 generates equations at half the normal size, while 300 +# doubles the size of equations. The setting of $dpi can always be +# overridden by specifying the "-dpi" command line option. +# + $dpi = 150; +# +# The parameter $res specifies the oversampling as the ratio +# of the final image size to the initial black and white image. +# Smaller values produce smoothing with more levels of grey but +# require (much) more memory and intermediate file space to create +# the image. If you run out of memory or disc space with the +# default value of 0.5, try changing it to 0.75. A $res setting of +# 1.0 disables antialiasing entirely. The setting of $res can +# always be overridden by specifying the "res" command line option. +# + $res = 0.5; +# +# The $background parameter supplies a command, which may be +# void, to be inserted in the image processing pipeline to +# adjust the original black-on-white image so that its background +# agrees with that of the document in which it is to be inserted. +# For a document with the default grey background used by Mosaic +# and old versions of Netscape, use: +# +# $background = "ppmdim 0.7 |"; $transparent = "b2/b2/b2"; +# +# If your document uses a white background, the void specification: +# +# $background = ""; $transparent = "ff/ff/ff"; +# +# should be used. For colour or pattern backgrounds, you'll have +# to hack the code. The reason for adjusting the background is to +# ensure that when the image is resampled and then output with a +# transparent background the edges of the characters will fade +# smoothly into the page background. Otherwise you'll get a +# distracting "halo" around each character. You can override this +# default specification with the -grey command line option. +# + $background = ""; $transparent = "ff/ff/ff"; +# +# Image generation and decoding commands for GIF and PNG output. +# + $cmdGIF = 'ppmtogif'; + $cmdGIFdecode = 'giftopnm'; + $cmdPNG = 'pnmtopng'; + $cmdPNGdecode = 'pngtopnm'; +# +# Default image creation modes +# + $imageCmd = $cmdGIF; + $imageCmdD = $cmdGIFdecode; + $imageExt = 'gif'; + + # + # Command line option processing + # + while ($ARGV[0] =~ m/^-/) { + $_ = shift(@ARGV); + s/^--/-/; # Allow GNU-style -- options + if (m/^-d/) { # -dpi nnn + $dpi = shift(@ARGV); + } elsif (m/^-gi/) { # -gif + $imageCmd = $cmdGIF; + $imageCmdD = $cmdGIFdecode; + $imageExt = 'gif'; + } elsif (m/^-gr/) { # -grey n + $grey = shift(@ARGV); + $background = "ppmdim $grey | "; + $greylev = int(255 * $grey); + $transparent = sprintf("%02x/%02x/%02x", $greylev, $greylev, $greylev); + } elsif (m/^-h/) { # -help + &help(); + exit(0); + } elsif (m/^-p/) { # -png + $imageCmd = $cmdPNG; + $imageCmdD = $cmdPNGdecode; + $imageExt = 'png'; + } elsif (m/^-r/) { # -res nnn + $res = shift(@ARGV); + } elsif (m/^-v/) { # -version + print("Version $version\n"); + exit(0); + } + } + # + # Main file processing loop + # + foreach $f (@ARGV) { + $f =~ s/(.*)\.tex$/$1/; + &syscmd("echo x | latex $f \n"); + &syscmd("dvips -f $f >_temp_$$.ps\n"); + + # Assemble and execute the command pipeline which generates the image. + + # Start by invoking Ghostscript with the pbmraw output device and + # output file set to standard output ("-") and the requested resolution. + # The -q (Quiet) option is required; otherwise Ghostscript will send + # processing information to standard output and corrupt transmission + # of the bitmap to the next component in the pipeline. + $cmd = "echo quit | gs -q -dNOPAUSE -r" . int($dpi / $res). "x". int($dpi / $res) . + " -sOutputFile=- -sDEVICE=pbmraw _temp_$$.ps | " . + + # Next we crop white space surrounding the generated text, promote + # the monochrome bitmap to a grey scale image with 8 bits per pixel, + # apply whatever background adjustment transform is requested, and + # scale the image to the desired size. + "pnmcrop -white | pnmdepth 255 | $background pnmscale " . + $res . " | " . + + # Finally, convert the image to the desired output format and write + # the output file. + "$imageCmd -interlace -transparent rgb:$transparent >$f.$imageExt"; + &syscmd($cmd); + + # Sweep up debris left around by the various intermediate steps + &syscmd("rm $f.dvi $f.aux $f.log _temp_$$.ps"); + + # Print the reference to include this figure, including width and height, + # to standard error. + $r = `$imageCmdD $f.$imageExt | pnmfile`; + $r =~ m/(\d+) by (\d+)/; + print(STDERR "\n"); + } + + # Echo and execute a system command + + sub syscmd { + local ($cmd) = @_; + + print(STDERR "$cmd\n"); + system($cmd) == 0 || die("Error processing command:\n\t$cmd\n\t"); + } + + # Print help text + + sub help { + print <<"EOD" +usage: textogif [ options ] texfile... + Options: + -dpi n Set rendering dots per inch to n (default 150) + -gif Generate GIF image (default) + -grey Grey scale background level: 0 = black, 1 = white (default) + -help Print this message + -png Generate PNG image + -res n Set oversampling ratio, smaller = finer (default 0.5) + -version Print version number +For documentation and the latest version of this program +please visit the Web page: + http://www.fourmilab.ch/webtools/textogif/ +EOD +; + } diff --git a/src/musredit_qt5/latex_images/tfCos.png b/src/musredit_qt5/latex_images/tfCos.png new file mode 100644 index 00000000..eb925afb Binary files /dev/null and b/src/musredit_qt5/latex_images/tfCos.png differ diff --git a/src/musredit_qt5/latex_images/tfCos.tex b/src/musredit_qt5/latex_images/tfCos.tex new file mode 100644 index 00000000..eff39d22 --- /dev/null +++ b/src/musredit_qt5/latex_images/tfCos.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\pagestyle{empty} +\begin{document} + +\begin{displaymath} +\cos\left(2\pi\nu t + \phi\pi/180\right) +\end{displaymath} + +\end{document} \ No newline at end of file diff --git a/src/musredit_qt5/main.cpp b/src/musredit_qt5/main.cpp new file mode 100644 index 00000000..bddfa487 --- /dev/null +++ b/src/musredit_qt5/main.cpp @@ -0,0 +1,72 @@ +/**************************************************************************** + + main.cpp + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010-2014 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +using namespace std; + +#include + +#include "../include/git-revision.h" +#include "PTextEdit.h" +#include "PFitOutputHandler.h" + +/** + *

musredit is a simple editor based interface to the musrfit programs. It is based on Qt 4.6 + * of Digia (http://qt.digia.com and http://qt-project.org/). + * + *

musredit is free software liensenced under GPL 2 or later (for detail license informations see + * http://www.gnu.org/licenses). + */ +int main( int argc, char ** argv ) +{ + Q_INIT_RESOURCE(musredit); + + if (argc == 2) { + if (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) { + cout << endl << "usage: musredit [] | -h, --help | -v, --version"; + cout << endl << endl; + return 0; + } else if (!strcmp(argv[1], "--version") || !strcmp(argv[1], "-v")) { + cout << endl << "musredit git-rev: " << GIT_REVISION; + cout << endl << endl; + return 0; + } + } + + QApplication a( argc, argv ); + + PTextEdit *mw = new PTextEdit(); + mw->setWindowTitle( "MusrFit Editor" ); + mw->resize( 800, 800 ); + mw->show(); + + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); + a.connect( &a, SIGNAL( aboutToQuit() ), mw, SLOT( aboutToQuit() ) ); + return a.exec(); +} diff --git a/src/musredit_qt5/musredit.cfg b/src/musredit_qt5/musredit.cfg new file mode 100644 index 00000000..7bbc1585 --- /dev/null +++ b/src/musredit_qt5/musredit.cfg @@ -0,0 +1,1252 @@ +# Doxyfile 1.4.7 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = musredit + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 0.99 + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ./doc + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, +# Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, +# Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian, +# Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish, +# Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explicit @brief command for a brief description. + +JAVADOC_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to +# include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = NO + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = YES + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is NO. + +SHOW_DIRECTORIES = NO + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from the +# version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py + +FILE_PATTERNS = *.cpp *.h *.dox + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# is applied to all files. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. Otherwise they will link to the documentstion. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = YES + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse +# the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more +# powerful graphs. + +CLASS_DIAGRAMS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a caller dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable caller graphs for selected +# functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that a graph may be further truncated if the graph's +# image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH +# and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default), +# the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, which results in a white background. +# Warning: Depending on the platform used, enabling this option may lead to +# badly anti-aliased labels on the edges of a graph (i.e. they become hard to +# read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO diff --git a/src/musredit_qt5/musredit.dox b/src/musredit_qt5/musredit.dox new file mode 100644 index 00000000..064af8ee --- /dev/null +++ b/src/musredit_qt5/musredit.dox @@ -0,0 +1,21 @@ +/********************************************************************************************* + + name: musredit.dox + + created by: Andreas Suter, 2015/10/26 + + content: Description of musredit. + +**********************************************************************************************/ + +/** + +\mainpage musredit + +

musredit is a simple editor based interface to the musrfit programs. It is based on Qt 5.5 +of The Qt Company (http://www.qt.io). + +

musredit is free software liensenced under GPL 2 or later (for detail license informations see +http://www.gnu.org/licenses). + +*/ diff --git a/src/musredit_qt5/musredit.h b/src/musredit_qt5/musredit.h new file mode 100644 index 00000000..42b06152 --- /dev/null +++ b/src/musredit_qt5/musredit.h @@ -0,0 +1,82 @@ +/**************************************************************************** + + musredit.h + + Author: Andreas Suter + e-mail: andreas.suter@psi.ch + + $Id$ + +*****************************************************************************/ + +/*************************************************************************** + * Copyright (C) 2010 by Andreas Suter * + * andreas.suter@psi.ch * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _MUSREDIT_H_ +#define _MUSREDIT_H_ + +#include + +#define MAX_RECENT_FILES 5 + +//------------------------------------------------------------------------------------------------- +/** + *

This structure is used in conjunction to msr2data. It stores the necessary + * parameters to handle msr2data. For a detailed description of the meaning of these + * parameters see msr2data --help and the online documentation. + */ +typedef struct { + int firstRun; ///< first run number of a sequence of runs (usage 2 of msr2data) + int lastRun; ///< last run number of a sequence of runs (usage 2 of msr2data) + QString runList; ///< list of run numbers (usage 3 of msr2data) + QString runListFileName; ///< run list filename (usage 4 of msr2data) + QString msrFileExtension; ///< msr filename extension, e.g. '0100_h13.msr' -> '_h13' + int templateRunNo; ///< fit template run number + QString dbOutputFileName; ///< output file name for the generated (trumf-like) db-file. + bool writeDbHeader; ///< flag indicating if a db header shall be generated (== !noheader in msr2data) + bool ignoreDataHeaderInfo; ///< flag indicating if data header info (like temp.) shall be ignored (== nosummary in msr2data) + bool keepMinuit2Output; ///< flag indicating if the minuit2 output shall be kept ('-k' in msr2data) + bool writeColumnData; ///< flag indicating if instead of a db-file a column data ascii file shall be written ('data' in msr2data) + bool recreateDbFile; ///< flag: true = recreate db-file, false = append to present db-file + bool chainFit; ///< flag: true = chain fit, i.e. the template for a fit is the preceeding run. false = the template is always the source for the new msr-file + bool openFilesAfterFitting; ///< flag: true = open msr-file after fit in musredit. false = do not open msr-file after fit. + bool titleFromDataFile; ///< flag indicating if the title for the msr-file shall be extracted from the data-file ('-t' in msr2data) + bool createMsrFileOnly; ///< flag: true = just create the msr-files without any fitting ('msr-