JDXwidget Class Reference

#include <jdxwidget.h>

List of all members.

Public Slots

void updateWidget ()
void deleteDialogs ()

Signals

void valueChanged ()
void doneButtonPressed ()

Public Member Functions

 JDXwidget (JcampDxClass &ldr, unsigned int columns=1, QWidget *parent=0, bool doneButton=false, const char *omittext="", bool storeLoadButtons=false)


Detailed Description

This class produces a widget according to a given JCAMP-DX parameter or a block of them so that the parameter(s) can be edited interactively

Definition at line 67 of file jdxwidget.h.


Constructor & Destructor Documentation

JDXwidget::JDXwidget ( JcampDxClass ldr,
unsigned int  columns = 1,
QWidget *  parent = 0,
bool  doneButton = false,
const char *  omittext = "",
bool  storeLoadButtons = false 
)

Constructs a widget for the parameter(s) 'ldr' with the following additional options:

  • columns: If creating a widget for a block of parameters they will be grouped in the given number of columns
  • parent: The parent widget
  • doneButton: If creating a widget for a block of parameters a 'Done' push button will be added if this option is set to 'true' The push button will then emit the doneButtonPressed() signal if clicked
  • omittext: Text to blind out in the label of each parameter
  • storeLoadButtons: Add buttons to store/load the parameters to/from file


Member Function Documentation

void JDXwidget::valueChanged (  )  [signal]

This signal will be emitted whenever one of the parameters is changed

void JDXwidget::doneButtonPressed (  )  [signal]

This signal will be emitted whenever the 'Done' button is clicked

void JDXwidget::updateWidget (  )  [slot]

Tell the widget that the parameter(s) were changed outside and that it has to update its view

void JDXwidget::deleteDialogs (  )  [slot]

Delete all dialogs that may have popped up during editing the parameters


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 15:33:07 2009 by  doxygen 1.5.6