Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+50
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Interface for Grid
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "situation_map_types.h"
|
||||
#include <situation_map_export.h>
|
||||
#include <QColor>
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief The class Grid enables access to adjust the grid.
|
||||
* Some GridTypes are supported. See GridType.
|
||||
*
|
||||
*/
|
||||
class SITUATIONMAP_EXPORT Grid
|
||||
{
|
||||
|
||||
public:
|
||||
Grid() = default; ///< Contructor
|
||||
virtual ~Grid() = default; ///< Destructor
|
||||
|
||||
|
||||
// based on 10.2.5:
|
||||
virtual GridType gridType() = 0;
|
||||
virtual void setGridType(GridType gridType) = 0;
|
||||
|
||||
virtual bool isVisible() = 0;
|
||||
virtual void setVisible(bool visible) = 0;
|
||||
|
||||
virtual int levelCount() = 0;
|
||||
|
||||
virtual bool isLabelVisible() = 0;
|
||||
virtual void setLabelVisible(bool visible) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace SituationMap
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user