metaeditor.h

Go to the documentation of this file.
00001 #ifndef METAEDITOR_H_
00002 #define METAEDITOR_H_
00003 
00004 #include <QBoxLayout>
00005 #include <QGridLayout>
00006 #include <QWidget>
00007 #include <QLabel>
00008 #include <QTextCodec>
00009 
00010 #include "editor.h"
00011 
00012 class metaeditor: public editor
00013 {
00014  Q_OBJECT
00015 
00016 public slots:
00017  void set_field(QString n,QString v);
00018  void clear_all(void);
00019 
00020 public:
00021  metaeditor(void);
00022  ~metaeditor(void);
00023 
00024  void set_name  (QString name);
00025  void set_author(QString author);
00026  void set_url   (QString url);
00027  void set_tags  (QString tags);
00028 
00029 private:
00030  void setup_labels(void);
00031  void meta_assembly(void);
00032 
00033  QLabel *record_name; // Надпись Title
00034  QLabel *record_author; // Надпись Author(s)
00035 
00036  QLabel *label_url; // Надпись "Url"
00037  QLabel *record_url;
00038 
00039  QLabel *label_tags; // Надпись "Tags"
00040  QLabel *record_tags;
00041 
00042  // Группировалка всех инфополей и редактора
00043  QGridLayout   *metaeditor_assembly_layout;
00044 
00045 };
00046 
00047 #endif /* METAEDITOR_H_ */

Generated on Mon Feb 2 00:25:34 2009 for mytetra by  doxygen 1.5.1