<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # QX11Info Class Reference ## [[QtGui](index.htm) module] 該QX11Info類提供有關X顯示配置信息。[More...](#details) ### Methods * `__init__ (self)` * `__init__ (self, QX11Info?other)` * `int cells (self)` * `int colormap (self)` * `bool defaultColormap (self)` * `bool defaultVisual (self)` * `int depth (self)` * `int screen (self)` * `sip.voidptr visual (self)` ### Static Methods * `int appCells (int?screen?=?-1)` * `str appClass ()` * `int appColormap (int?screen?=?-1)` * `bool appDefaultColormap (int?screen?=?-1)` * `bool appDefaultVisual (int?screen?=?-1)` * `int appDepth (int?screen?=?-1)` * `int appDpiX (int?screen?=?-1)` * `int appDpiY (int?screen?=?-1)` * `int appRootWindow (int?screen?=?-1)` * `int appScreen ()` * `int appTime ()` * `int appUserTime ()` * `sip.voidptr appVisual (int?screen?=?-1)` * `Display display ()` * `bool isCompositingManagerRunning ()` * `setAppDpiX (int?screen, int?dpi)` * `setAppDpiY (int?screen, int?dpi)` * `setAppTime (int?time)` * `setAppUserTime (int?time)` * * * ## Detailed Description 該QX11Info類提供有關X顯示配置信息。 這個類提供了兩個API :一組非靜態函數,提供有關特定部件或像素圖的信息,和一組靜態函數提供的默認信息的應用程序。 **Warning:**這個類僅適用于X11 。對于一個可移植的方式,使用查詢每個屏幕信息[QDesktopWidget](qdesktopwidget.html)。 * * * ## Method Documentation ``` QX11Info.__init__ (self) ``` 構造一個空[QX11Info](qx11info.html)對象。 ``` QX11Info.__init__ (self, QX11Info?other) ``` 構造的副本_other_。 ``` int QX11Info.appCells (int?screen?=?-1) ``` 返回在給定的應用程序所使用的細胞數_screen_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [cells](qx11info.html#cells)( ) 。 ``` str QX11Info.appClass () ``` 返回X11的應用程序類。 **See also** [display](qx11info.html#display)( ) 。 ``` int QX11Info.appColormap (int?screen?=?-1) ``` 返回給定的句柄應用程序的彩色地圖_screen_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [colormap](qx11info.html#colormap)()和[defaultColormap](qx11info.html#defaultColormap)( ) 。 ``` bool QX11Info.appDefaultColormap (int?screen?=?-1) ``` 如果應用程序有一個默認的彩色地圖上給定的,則返回True_screen_否則返回False 。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 ``` bool QX11Info.appDefaultVisual (int?screen?=?-1) ``` 如果應用程序有一個默認的視覺上給定的,則返回True_screen_否則返回False 。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 ``` int QX11Info.appDepth (int?screen?=?-1) ``` 返回在給定的應用程序所使用的顏色深度(每個像素的位數)_screen_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [depth](qx11info.html#depth)( ) 。 ``` int QX11Info.appDpiX (int?screen?=?-1) ``` 返回給定的水平分辨率_screen_以每英寸的點數表示。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [setAppDpiX](qx11info.html#setAppDpiX)()和[appDpiY](qx11info.html#appDpiY)( ) 。 ``` int QX11Info.appDpiY (int?screen?=?-1) ``` 返回給定的垂直分辨率_screen_以每英寸的點數表示。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [setAppDpiY](qx11info.html#setAppDpiY)()和[appDpiX](qx11info.html#appDpiX)( ) 。 ``` int QX11Info.appRootWindow (int?screen?=?-1) ``` 返回給定的句柄應用程序根窗口_screen_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [QApplication.desktop](qapplication.html#desktop)( ) 。 ``` int QX11Info.appScreen () ``` 返回正在顯示的應用程序,其中該屏幕的數量。 **See also** [display](qx11info.html#display)()和[screen](qx11info.html#screen)( ) 。 ``` int QX11Info.appTime () ``` 返回X11的時間。 **See also** [setAppTime](qx11info.html#setAppTime)()和[appUserTime](qx11info.html#appUserTime)( ) 。 ``` int QX11Info.appUserTime () ``` 返回X11的用戶時間。 **See also** [setAppUserTime](qx11info.html#setAppUserTime)()和[appTime](qx11info.html#appTime)( ) 。 ``` sip.voidptr QX11Info.appVisual (int?screen?=?-1) ``` 返回當前視覺所使用的應用程序在給定的_screen_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [visual](qx11info.html#visual)()和[defaultVisual](qx11info.html#defaultVisual)( ) 。 ``` int QX11Info.cells (self) ``` 返回單元的數目。 **See also** [appCells](qx11info.html#appCells)( ) 。 ``` int QX11Info.colormap (self) ``` 返回的句柄彩色地圖。 **See also** [defaultColormap](qx11info.html#defaultColormap)( ) 。 ``` bool QX11Info.defaultColormap (self) ``` 返回True如果有一個默認的彩色地圖,否則返回False 。 **See also** [colormap](qx11info.html#colormap)( ) 。 ``` bool QX11Info.defaultVisual (self) ``` 返回True如果有一個默認的視覺享受;否則返回False。 **See also** [visual](qx11info.html#visual)()和[appVisual](qx11info.html#appVisual)( ) 。 ``` int QX11Info.depth (self) ``` 返回X顯示的色彩深度(每像素位數) 。 **See also** [appDepth](qx11info.html#appDepth)( ) 。 ``` Display QX11Info.display () ``` 返回默認顯示為應用程序。 **See also** [appScreen](qx11info.html#appScreen)( ) 。 ``` bool QX11Info.isCompositingManagerRunning () ``` 返回True如果有一個合成器上運行。 此功能被引入Qt的4.4 。 ``` int QX11Info.screen (self) ``` 把屏幕返回當前正在使用的數量。 返回值是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [appScreen](qx11info.html#appScreen)( ) 。 ``` QX11Info.setAppDpiX (int?screen, int?dpi) ``` 設定的給定的水平分辨率_screen_以通過指定每英寸的點數_xdpi_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [appDpiX](qx11info.html#appDpiX)()和[setAppDpiY](qx11info.html#setAppDpiY)( ) 。 ``` QX11Info.setAppDpiY (int?screen, int?dpi) ``` 設定的給定的垂直分辨率_screen_以通過指定每英寸的點數_ydpi_。 該_screen_參數是一個X屏幕號。請注意,如果用戶的系統使用的Xinerama (相對于傳統的X11多屏幕) ,只有一個X屏幕。使用[QDesktopWidget](qdesktopwidget.html)查詢有關的Xinerama屏幕上的信息。 **See also** [appDpiY](qx11info.html#appDpiY)()和[setAppDpiX](qx11info.html#setAppDpiX)( ) 。 ``` QX11Info.setAppTime (int?time) ``` 設置X11的時間由指定的值_time_。 **See also** [appTime](qx11info.html#appTime)()和[setAppUserTime](qx11info.html#setAppUserTime)( ) 。 ``` QX11Info.setAppUserTime (int?time) ``` 設置所指定的X11用戶時間_time_。 **See also** [appUserTime](qx11info.html#appUserTime)()和[setAppTime](qx11info.html#setAppTime)( ) 。 ``` sip.voidptr QX11Info.visual (self) ``` 返回當前視覺。 **See also** [appVisual](qx11info.html#appVisual)()和[defaultVisual](qx11info.html#defaultVisual)( ) 。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看