mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
101c147217
preference 1. Included updated status icons, added base.png 2. Added doxygen comments CSV / CSM Settings classes 3. Implemented Glorf's code for window size preference 4. Minor changes code that searches maps in CSV / CSM Settings classes 5. Removed CSVSettings::SamplePage class 6. Other minor code maintenance / improvements
30 lines
640 B
C++
30 lines
640 B
C++
#ifndef TOGGLEBLOCK_HPP
|
|
#define TOGGLEBLOCK_HPP
|
|
|
|
#include <QObject>
|
|
|
|
#include "customblock.hpp"
|
|
|
|
namespace CSVSettings
|
|
{
|
|
class GroupBlock;
|
|
class GroupBox;
|
|
class ToggleWidget;
|
|
class ItemBlock;
|
|
|
|
class ToggleBlock : public CustomBlock
|
|
{
|
|
|
|
public:
|
|
explicit ToggleBlock(QWidget *parent = 0);
|
|
|
|
int build (CustomBlockDef *def);
|
|
|
|
private:
|
|
/// Constructor for toggle widgets that are specific to toggle block
|
|
/// Widgets are not a part of the user preference settings
|
|
GroupBox *buildToggleWidgets (GroupBlockDef *def, QString &defaultToggle);
|
|
};
|
|
}
|
|
#endif // TOGGLEBLOCK_HPP
|