start to add some more serious description and fixing a minor bug in the resource file.
This commit is contained in:
parent
901f12b5c5
commit
f51b136df4
@ -37,17 +37,25 @@ using namespace std;
|
|||||||
#include "PTextEdit.h"
|
#include "PTextEdit.h"
|
||||||
#include "PFitOutputHandler.h"
|
#include "PFitOutputHandler.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>musredit is a simple editor based interface to the musrfit programs. It is based on Qt 4.6
|
||||||
|
* of Nokia (<code>http://qt.nokia.com</code>).
|
||||||
|
*
|
||||||
|
* <p>musredit is open source LGPL and GPL (for detail license informations see <code>http://qt.nokia.com/products/licensing</code>).
|
||||||
|
*
|
||||||
|
* <p>The source code can be downloaded from <code>http://savannah.psi.ch/viewcvs/trunk/analysis/musrfit/src/musredit/?root=nemu%2Flem</code>.
|
||||||
|
*/
|
||||||
int main( int argc, char ** argv )
|
int main( int argc, char ** argv )
|
||||||
{
|
{
|
||||||
Q_INIT_RESOURCE(musredit);
|
Q_INIT_RESOURCE(musredit);
|
||||||
|
|
||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
if (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) {
|
if (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) {
|
||||||
cout << endl << "usage: musrgui [<msr-files>] | -h, --help | -v, --version";
|
cout << endl << "usage: musredit [<msr-files>] | -h, --help | -v, --version";
|
||||||
cout << endl << endl;
|
cout << endl << endl;
|
||||||
return 0;
|
return 0;
|
||||||
} else if (!strcmp(argv[1], "--version") || !strcmp(argv[1], "-v")) {
|
} else if (!strcmp(argv[1], "--version") || !strcmp(argv[1], "-v")) {
|
||||||
cout << endl << "musrgui version: $Id$";
|
cout << endl << "musredit version: $Id$";
|
||||||
cout << endl << endl;
|
cout << endl << endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,12 @@
|
|||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------------------------
|
||||||
|
/**
|
||||||
|
* <p> This structure is used in conjunction to <code>msr2data</code>. It stores the necessary
|
||||||
|
* parameters to handle <code>msr2data</code>. For a detailed description of the meaning of these
|
||||||
|
* parameters see <code>msr2data --help</code> and the online documentation.
|
||||||
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int firstRun;
|
int firstRun;
|
||||||
int lastRun;
|
int lastRun;
|
||||||
@ -54,6 +60,10 @@ typedef struct {
|
|||||||
bool fitOnly;
|
bool fitOnly;
|
||||||
} PMsr2DataParam;
|
} PMsr2DataParam;
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------------------------------
|
||||||
|
/**
|
||||||
|
* This structure is used to handle find (and replace) within <code>musredit</code> properly.
|
||||||
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
QString findText;
|
QString findText;
|
||||||
QString replaceText;
|
QString replaceText;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
<file>images/musrt0.xpm</file>
|
<file>images/musrt0.xpm</file>
|
||||||
<file>images/musrview.xpm</file>
|
<file>images/musrview.xpm</file>
|
||||||
<file>latex_images/abragam.png</file>
|
<file>latex_images/abragam.png</file>
|
||||||
<file>latex_images/abragam.gif</file>
|
|
||||||
<file>latex_images/asymmetry.png</file>
|
<file>latex_images/asymmetry.png</file>
|
||||||
<file>latex_images/bessel.png</file>
|
<file>latex_images/bessel.png</file>
|
||||||
<file>latex_images/combiLGKT.png</file>
|
<file>latex_images/combiLGKT.png</file>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user