Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
org.qtproject.qt.android.QtRootLayout Class Reference
+ Inheritance diagram for org.qtproject.qt.android.QtRootLayout:
+ Collaboration diagram for org.qtproject.qt.android.QtRootLayout:

Public Member Functions

 QtRootLayout (Context context)
 
void setActivityDisplayRotation (int rotation)
 
void setNativeOrientation (int orientation)
 
int displayRotation ()
 
void onConfigurationChanged (Configuration configuration)
 
boolean isSameSizeForOrientations (int r1, int r2)
 

Protected Member Functions

void onSizeChanged (int w, int h, int oldw, int oldh)
 

Detailed Description

A layout which corresponds to one Activity, i.e. is the root layout where the top level window and handles orientation changes.

Definition at line 19 of file QtRootLayout.java.

Constructor & Destructor Documentation

◆ QtRootLayout()

org.qtproject.qt.android.QtRootLayout.QtRootLayout ( Context context)
inline

Definition at line 26 of file QtRootLayout.java.

References context.

Member Function Documentation

◆ displayRotation()

int org.qtproject.qt.android.QtRootLayout.displayRotation ( )
inline

Definition at line 41 of file QtRootLayout.java.

◆ isSameSizeForOrientations()

boolean org.qtproject.qt.android.QtRootLayout.isSameSizeForOrientations ( int r1,
int r2 )
inline

Definition at line 91 of file QtRootLayout.java.

References r1, and r2.

Referenced by org.qtproject.qt.android.QtRootLayout.onConfigurationChanged().

+ Here is the caller graph for this function:

◆ onConfigurationChanged()

void org.qtproject.qt.android.QtRootLayout.onConfigurationChanged ( Configuration configuration)
inline

Definition at line 77 of file QtRootLayout.java.

References context, and org.qtproject.qt.android.QtRootLayout.isSameSizeForOrientations().

+ Here is the call graph for this function:

◆ onSizeChanged()

void org.qtproject.qt.android.QtRootLayout.onSizeChanged ( int w,
int h,
int oldw,
int oldh )
inlineprotected

Definition at line 47 of file QtRootLayout.java.

◆ setActivityDisplayRotation()

void org.qtproject.qt.android.QtRootLayout.setActivityDisplayRotation ( int rotation)
inline

Definition at line 31 of file QtRootLayout.java.

◆ setNativeOrientation()

void org.qtproject.qt.android.QtRootLayout.setNativeOrientation ( int orientation)
inline

Definition at line 36 of file QtRootLayout.java.


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