36 #include "qgis_core.h"    44 #include <QStringList>   103       Pal( 
const Pal &other ) = 
delete;
   105       Pal &operator=( 
const Pal &other ) = 
delete;
   127       void removeLayer( 
Layer *layer );
   129       typedef bool ( *FnIsCanceled )( 
void *ctx );
   132       void registerCancelationCallback( FnIsCanceled fnCanceled, 
void *context );
   135       inline bool isCanceled() { 
return fnIsCanceled ? fnIsCanceled( fnIsCanceledContext ) : 
false; }
   146       QList<LabelPosition *> solveProblem( 
Problem *prob, 
bool displayAll );
   153       void setShowPartial( 
bool show );
   158       bool getShowPartial();
   166       void setPointP( 
int point_p );
   174       void setLineP( 
int line_p );
   182       void setPolyP( 
int poly_p );
   216       QHash< QgsAbstractLabelProvider *, Layer * > mLayers;
   255       FnIsCanceled fnIsCanceled;
   257       void *fnIsCanceledContext = 
nullptr;
   270       void setPopmusicR( 
int r );
   276       void setMinIt( 
int min_it );
   282       void setMaxIt( 
int max_it );
   288       void setTenure( 
int tenure );
   294       void setEjChainDeg( 
int degree );
   300       void setCandListSize( 
double fact );
   319 Q_DECLARE_OPERATORS_FOR_FLAGS( pal::LineArrangementFlags )
 
A rectangle specified with double values. 
 
A set of features which influence the labeling process. 
 
Is slower and best than TABU, worse and faster than TABU_CHAIN. 
 
A geometry is the spatial representation of a feature. 
 
Is a little bit better than CHAIN but slower. 
 
bool isCanceled()
Check whether the job has been canceled. 
 
Main class to handle feature. 
 
The QgsAbstractLabelProvider class is an interface class. 
 
Placement
Placement modes which determine how label candidates are generated for a feature. ...
 
Representation of a labeling problem. 
 
LineArrangementFlag
Enumeration line arrangement flags. Flags can be combined. 
 
SearchMethod
Search method to use. 
 
Is the worst but fastest method.