mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 08:26:39 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			640 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 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
 |