![]()  | 
  
    Songbook-Client
    0.7
    
   This application is a manager of customguitar songbooks 
   | 
 
CDiagramEditor is a dialog for editing or creating chords. More...
#include <diagram-editor.hh>
Public Slots | |
| void | setChord (CChord *chord) | 
Public Member Functions | |
| CDiagramEditor (QWidget *parent=0) | |
| Constructor.  | |
| ~CDiagramEditor () | |
| Destructor.  | |
| QString | chordName () const | 
| QString | chordStrings () const | 
| QString | chordFret () const | 
| CChord::Instrument | chordInstrument () const | 
| bool | isChordImportant () const | 
| virtual QSize | sizeHint () const | 
| CChord * | chord () const | 
CDiagramEditor is a dialog for editing or creating chords.
The CDiagramEditor class provides a dialog widget for editing or creating chords. It is composed of a form where fields are the properties of a CChord object and of a list of common chords (a CDiagramArea object) that may be selected.
| QString CDiagramEditor::chordFret | ( | ) | const | 
Returns the fret of the chord.
| CChord::Instrument CDiagramEditor::chordInstrument | ( | ) | const | 
Returns the instrument of the chord.
| QString CDiagramEditor::chordName | ( | ) | const | 
Returns the name of the chord.
| QString CDiagramEditor::chordStrings | ( | ) | const | 
Returns the strings of the chord.
| bool CDiagramEditor::isChordImportant | ( | ) | const | 
Returns the true if chord is important; false otherwise.
      
  | 
  slot | 
Associates the CDiagram object diagram with dialog. The properties of diagram are used to fill the form of the dialog.
      
  | 
  virtual | 
Returns the preferred size for the dialog.
 1.8.1.1