Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
view3d.cpp File Reference

(1a095bff4abb6ab865db7abba70f93cb7167f889)

#include "abstractformeditor.h"
#include "abstractmetadatabase.h"
#include "abstractformwindow.h"
#include "view3d.h"
#include <QKeyEvent>
#include <QGLFunctions>
#include <QApplication>
#include <QGridLayout>
#include "view3d.moc"
+ Include dependency graph for view3d.cpp:

Go to the source code of this file.

Classes

class  QView3DWidget
 
class  WalkWidgetTreeFunction
 
class  AddTexture
 
class  AddWidget
 

Macros

#define SELECTION_BUFSIZE   512
 
#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE
 

Functions

static int nearestSize (int v)
 
static bool skipWidget (QDesignerFormEditorInterface *core, QWidget *widget)
 
static void walkWidgetTree (QDesignerFormEditorInterface *core, int depth, QWidget *widget, const WalkWidgetTreeFunction &func)
 
static void grabWidget_helper (QWidget *widget, QPixmap &res, QPixmap &buf, const QRect &r, const QPoint &offset, QDesignerFormEditorInterface *core)
 
static QPixmap grabWidget (QWidget *widget, QDesignerFormEditorInterface *core)
 

Macro Definition Documentation

◆ GL_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE

Definition at line 17 of file view3d.cpp.

◆ SELECTION_BUFSIZE

#define SELECTION_BUFSIZE   512

Definition at line 14 of file view3d.cpp.

Function Documentation

◆ grabWidget()

static QPixmap grabWidget ( QWidget * widget,
QDesignerFormEditorInterface * core )
static

Definition at line 391 of file view3d.cpp.

◆ grabWidget_helper()

static void grabWidget_helper ( QWidget * widget,
QPixmap & res,
QPixmap & buf,
const QRect & r,
const QPoint & offset,
QDesignerFormEditorInterface * core )
static

Definition at line 364 of file view3d.cpp.

◆ nearestSize()

static int nearestSize ( int v)
static

Definition at line 78 of file view3d.cpp.

◆ skipWidget()

static bool skipWidget ( QDesignerFormEditorInterface * core,
QWidget * widget )
static

Definition at line 334 of file view3d.cpp.

Referenced by walkWidgetTree().

+ Here is the caller graph for this function:

◆ walkWidgetTree()

static void walkWidgetTree ( QDesignerFormEditorInterface * core,
int depth,
QWidget * widget,
const WalkWidgetTreeFunction & func )
static

Definition at line 346 of file view3d.cpp.

References WalkWidgetTreeFunction::operator()(), and skipWidget().

+ Here is the call graph for this function: