/[qspeakers]/branches/qtcharts/speakerdialog.h
ViewVC logotype

Annotation of /branches/qtcharts/speakerdialog.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations)
Thu Oct 9 04:14:56 2014 UTC (6 years, 9 months ago) by ben
Original Path: speakerdialog.h
File MIME type: text/plain
File size: 676 byte(s)
sync curent speaker and list on db modification
1 ben 1 #ifndef SPEAKERDIALOG_H
2     #define SPEAKERDIALOG_H
3    
4     #include <QDialog>
5    
6     #include "speaker.h"
7    
8     namespace Ui {
9     class SpeakerDialog;
10     }
11    
12     class SpeakerDialog : public QDialog
13     {
14     Q_OBJECT
15    
16     public:
17     explicit SpeakerDialog(QWidget *parent = 0);
18     SpeakerDialog(const Speaker& edit, QWidget *parent = 0);
19     ~SpeakerDialog();
20    
21     signals:
22 ben 12 void speakerInserted(Speaker spk);
23 ben 1 void speakerCancelled();
24    
25     private slots:
26     void onVendorTextChanged(QString text);
27     void onModelTextChanged(QString text);
28     void onSpeakerAccepted();
29     void onSpeakerRejected();
30    
31     private:
32     Ui::SpeakerDialog *ui;
33     QString oldVendor;
34     QString oldModel;
35     };
36    
37     #endif // SPEAKERDIALOG_H

  ViewVC Help
Powered by ViewVC 1.1.26