mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 12:44:07 +00:00
cb9a74639a
2. Move commands in the dictionary bar context menu to begin
25 lines
408 B
C++
25 lines
408 B
C++
#ifndef DICTINFO_HH
|
|
#define DICTINFO_HH
|
|
|
|
#include <QDialog>
|
|
#include "ui_dictinfo.h"
|
|
#include "dictionary.hh"
|
|
#include "config.hh"
|
|
|
|
class DictInfo: public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
DictInfo( Config::Class &cfg_, QWidget * parent = 0 );
|
|
void showInfo( sptr< Dictionary::Class > dict );
|
|
|
|
private:
|
|
Ui::DictInfo ui;
|
|
Config::Class &cfg;
|
|
private slots:
|
|
void savePos( int );
|
|
};
|
|
|
|
#endif // DICTINFO_HH
|