musredit 1.0.0
Loading...
Searching...
No Matches
PMsr2DataDialog.h
Go to the documentation of this file.
1/****************************************************************************
2
3 PMsr2DataDialog.h
4
5 Author: Andreas Suter
6 e-mail: andreas.suter@psi.ch
7
8*****************************************************************************/
9
10/***************************************************************************
11 * Copyright (C) 2010-2026 by Andreas Suter *
12 * andreas.suter@psi.ch *
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 * This program is distributed in the hope that it will be useful, *
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22 * GNU General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU General Public License *
25 * along with this program; if not, write to the *
26 * Free Software Foundation, Inc., *
27 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
28 ***************************************************************************/
29
47
48#ifndef _PMSR2DATADIALOG_H_
49#define _PMSR2DATADIALOG_H_
50
51#include <QDialog>
52#include <QString>
53
54#include "musredit.h"
55#include "ui_PMsr2DataDialog.h"
56
97class PMsr2DataDialog : public QDialog, private Ui::PMsr2DataDialog
98{
99 Q_OBJECT
100
101 public:
120 PMsr2DataDialog(PMsr2DataParam *msr2DataParam, const QString helpUrl);
121
138 virtual int getRunTag() { return fRunTag; }
139
163
164 public slots:
177 void runListEntered(const QString&);
178
191 void runListFileNameEntered(const QString&);
192
204 void templateRunEntered(const QString&);
205
216 void createMsrFileOnlyChanged(int);
217
229 void fitOnlyChanged(int);
230
240 void helpContent();
241
242 private slots:
254 void globalOptionSet(bool checked);
255
267 void globalPlusOptionSet(bool checked);
268
269 private:
272 QString fHelpUrl;
273};
274
275#endif // _PMSR2DATADIALOG_H_
void runListFileNameEntered(const QString &)
Handles run list file name text field activation.
PMsr2DataParam * fMsr2DataParam
Pointer to parameter structure for msr2data configuration.
void fitOnlyChanged(int)
Handles "Fit Only" checkbox state changes.
PMsr2DataDialog(PMsr2DataParam *msr2DataParam, const QString helpUrl)
Constructs the msr2data configuration dialog.
void globalPlusOptionSet(bool checked)
Enforces mutual exclusivity between global+ and global options.
virtual int getRunTag()
Returns the run input method tag.
virtual PMsr2DataParam * getMsr2DataParam()
Retrieves all msr2data parameters from the dialog.
void templateRunEntered(const QString &)
Handles template run number text field activation.
int fRunTag
Run input method: -1=invalid, 0=direct list, 1=file name.
void createMsrFileOnlyChanged(int)
Handles "Create msr-File only" checkbox state changes.
void helpContent()
Opens online help for msr2data.
QString fHelpUrl
URL to online msr2data documentation.
void globalOptionSet(bool checked)
Enforces mutual exclusivity between global and global+ options.
void runListEntered(const QString &)
Handles run list text field activation.
Common definitions and data structures for the musredit application.
Parameter structure for msr2data tool integration.
Definition musredit.h:73