2014-07-12 20:50:08 +10:00
|
|
|
class QgsCodeEditor: QsciScintilla
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgscodeeditor.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
QgsCodeEditor( QWidget *parent /TransferThis/ = 0, QString title = "" , bool folding = false, bool margin = false );
|
|
|
|
~QgsCodeEditor();
|
|
|
|
|
2014-07-16 22:51:27 +10:00
|
|
|
/** Set margin visible state
|
|
|
|
* @param margin Set margin in the editor
|
|
|
|
*/
|
|
|
|
void setMarginVisible( bool margin );
|
|
|
|
bool marginVisible();
|
2014-07-12 20:50:08 +10:00
|
|
|
|
2014-07-16 22:51:27 +10:00
|
|
|
/** Set folding visible state
|
|
|
|
* @param folding Set folding in the editor
|
|
|
|
*/
|
|
|
|
void setFoldingVisible( bool folding);
|
|
|
|
bool foldingVisible();
|
2014-07-12 20:50:08 +10:00
|
|
|
};
|