Exemple #1
0
DDSWidget::DDSWidget(QWidget *parent) :
	QWidget(parent), ui(new Ui::DDSWidget) {
	ui->setupUi(this);
	initializeValues();
	loadQmaxPlugins();
	initialiseLineEditControls();
	enableRichGUI();
	loadSettings();
}
Exemple #2
0
JobAf::JobAf( JSON & i_object):
    af::Job(),
	AfNodeSrv( this)
{
	initializeValues();

    if( false == jsonRead( i_object))
		return;

    m_progress = new af::JobProgress( this);
    construct();
}
int main()
{
  initializeHeap(heap);
  initializeValues();
  buildMaxHeap();
  printValues();
  //printf("max: %d \n",heapExtractMax());
  //heapIncreaseKey(2,18);
  //maxHeapInsert(17);
  printValues();


  return 0;
}
int main()
{
  initializeHeap(heap);
  initializeValues();
  buildMinHeap();
  printValues();
  //printf("min: %d \n",heapExtractMin());
  //heapDecreaseKey(2,0);
  //minHeapInsert(0);
  //printValues();


  return 0;
}
Exemple #5
0
JobAf::JobAf( JSON & i_object):
	af::Job(),
	AfNodeSrv( this)
{
	initializeValues();
	
	if( false == jsonRead( i_object))
		return;
	
	m_progress = new af::JobProgress( this);
	construct();

	m_serial = AFCommon::getJobSerial();
	// System job never constructed from incoming JSON object and always has zero serial
}
Exemple #6
0
JobAf::JobAf( const std::string & i_store_dir, bool i_system):
	af::Job(),
	AfNodeSrv( this, i_store_dir)
{
	AFINFA("JobAf::JobAf: store dir = %s", i_store_dir.c_str())

    initializeValues();

	// We do not read store for system job
	// as some virtual functions from system job
	// will not work in a base class constructor
	if( i_system ) return;

	readStore();
}
void QgsHeatmapRenderer::startRender( QgsRenderContext& context, const QgsFields& fields )
{
  Q_UNUSED( fields );
  if ( !context.painter() )
  {
    return;
  }

  // find out classification attribute index from name
  mWeightAttrNum = fields.fieldNameIndex( mWeightExpressionString );
  if ( mWeightAttrNum == -1 )
  {
    mWeightExpression.reset( new QgsExpression( mWeightExpressionString ) );
    mWeightExpression->prepare( fields );
  }

  initializeValues( context );
}
Exemple #8
0
JobAf::JobAf( const std::string & i_store_dir, bool i_system):
	af::Job(),
	AfNodeSrv( this, i_store_dir)
{
	AF_DEBUG << "store dir = " << i_store_dir;
	
	initializeValues();

	// We do not read store for system job
	// as some virtual functions from system job
	// will not work in a base class constructor
	if( i_system ) return;

	readStore();

	// Zero serial means that the job was created serials appeared in the project:
	// ( system job has zero serial )
	if( m_serial == 0 && ( false == i_system ))
	{
		m_serial = AFCommon::getJobSerial();
		store();
	}
}
Exemple #9
0
Screen::Screen(const QRect &geometry, const QRect &availableGeometry)
{
    initializeValues();
    setGeometry(geometry);
    setAvailableGeometry(availableGeometry);
}
Exemple #10
0
Screen::Screen()
{
    initializeValues();
}
Exemple #11
0
Transform::Transform()
{
	initializeValues();
}