2015-04-14 21:49:29 +00:00
|
|
|
#ifndef CHIASMUSKEYSELECTOR_H
|
|
|
|
#define CHIASMUSKEYSELECTOR_H
|
|
|
|
|
|
|
|
#include <kdialog.h>
|
|
|
|
#include "messageviewer_export.h"
|
|
|
|
|
|
|
|
class KListWidget;
|
|
|
|
class KLineEdit;
|
2019-07-31 18:05:48 +00:00
|
|
|
#include <QLabel>
|
2015-04-14 21:49:29 +00:00
|
|
|
|
|
|
|
namespace MessageViewer {
|
|
|
|
|
|
|
|
class MESSAGEVIEWER_EXPORT ChiasmusKeySelector : public KDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
ChiasmusKeySelector( QWidget* parent, const QString& caption,
|
|
|
|
const QStringList& keys, const QString& currentKey,
|
|
|
|
const QString& lastOptions );
|
|
|
|
|
|
|
|
QString key() const;
|
|
|
|
QString options() const;
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void slotItemSelectionChanged();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QLabel* mLabel;
|
|
|
|
KListWidget* mListBox;
|
|
|
|
KLineEdit* mOptions;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|