ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccQtHelpers Class Reference

#include <ecvQtHelpers.h>

Static Public Member Functions

static void SetButtonColor (QAbstractButton *button, const QColor &col)
 Sets a button background color. More...
 
static int GetMaxThreadCount (int idealThreadCount)
 Returns the ideal number of threads/cores. More...
 
static int GetMaxThreadCount ()
 Returns the ideal number of threads/cores with Qt Concurrent. More...
 

Detailed Description

Definition at line 14 of file ecvQtHelpers.h.

Member Function Documentation

◆ GetMaxThreadCount() [1/2]

static int ccQtHelpers::GetMaxThreadCount ( )
inlinestatic

Returns the ideal number of threads/cores with Qt Concurrent.

Definition at line 39 of file ecvQtHelpers.h.

◆ GetMaxThreadCount() [2/2]

static int ccQtHelpers::GetMaxThreadCount ( int  idealThreadCount)
inlinestatic

Returns the ideal number of threads/cores.

Definition at line 28 of file ecvQtHelpers.h.

◆ SetButtonColor()


The documentation for this class was generated from the following file: