Files
oak-editor/app/dialog/preferences/tabs/preferencesgeneraltab.h
T

40 lines
766 B
C++

#ifndef PREFERENCESGENERALTAB_H
#define PREFERENCESGENERALTAB_H
#include <QComboBox>
#include <QSpinBox>
#include "preferencestab.h"
#include "project/item/sequence/sequence.h"
#include "widget/slider/floatslider.h"
class PreferencesGeneralTab : public PreferencesTab
{
Q_OBJECT
public:
PreferencesGeneralTab();
virtual void Accept() override;
private slots:
/**
* @brief Shows a NewSequenceDialog attached to default_sequence
*/
void edit_default_sequence_settings();
private:
QComboBox* language_combobox_;
QComboBox* autoscroll_method_;
FloatSlider* default_still_length_;
/**
* @brief A sequence we can feed to a SequenceDialog to change the defaults
*/
Sequence default_sequence_;
};
#endif // PREFERENCESGENERALTAB_H