goldendict-ng/src/ui/stylescombobox.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
570 B
C++
Raw Normal View History

2012-12-10 14:14:13 +00:00
/* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
2024-11-07 03:53:04 +00:00
#pragma once
2012-12-10 14:14:13 +00:00
#include <QComboBox>
#include <QString>
/// This is a combo box which is for choosing the add-on styles
class StylesComboBox: public QComboBox
{
Q_OBJECT
public:
StylesComboBox( QWidget * parent );
/// Fills combo-box with the given groups
void fill();
/// Chooses the given style in the combobox. If there's no such style,
/// set to "None".
void setCurrentStyle( QString const & style );
/// Returns current style.
QString getCurrentStyle() const;
};