mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 10:52:52 +00:00
36 lines
691 B
C++
36 lines
691 B
C++
#ifndef CHIASMUSKEYSELECTOR_H
|
|
#define CHIASMUSKEYSELECTOR_H
|
|
|
|
#include <kdialog.h>
|
|
#include "messageviewer_export.h"
|
|
|
|
class KListWidget;
|
|
class KLineEdit;
|
|
#include <QLabel>
|
|
|
|
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
|