2012-09-24 12:51:51 +00:00
|
|
|
#ifndef DICTINFO_HH
|
|
|
|
#define DICTINFO_HH
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "ui_dictinfo.h"
|
|
|
|
#include "dictionary.hh"
|
2012-09-27 13:00:40 +00:00
|
|
|
#include "config.hh"
|
2012-09-24 12:51:51 +00:00
|
|
|
|
|
|
|
class DictInfo: public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
|
2012-09-27 13:00:40 +00:00
|
|
|
DictInfo( Config::Class &cfg_, QWidget * parent = 0 );
|
2012-09-24 12:51:51 +00:00
|
|
|
void showInfo( sptr< Dictionary::Class > dict );
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::DictInfo ui;
|
2012-09-27 13:00:40 +00:00
|
|
|
Config::Class &cfg;
|
|
|
|
private slots:
|
|
|
|
void savePos( int );
|
2012-09-24 12:51:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DICTINFO_HH
|