QApplication

Z DooBLER wiki

Spis treści

Wstęp

#include <QApplication>

Publiczne typy

  • enum ColorSpec { NormalColor, CustomColor, ManyColor }
  • enum Type { Tty, GuiClient, GuiServer }

Właściwości

  • autoMaximizeThreshold : int
  • cursorFlashTime : int
  • doubleClickInterval : int
  • globalStrut : QSize
  • keyboardInputInterval : int
  • layoutDirection : Qt::LayoutDirection
  • quitOnLastWindowClosed : bool
  • startDragDistance : int
  • startDragTime : int
  • styleSheet : QString
  • wheelScrollLines : int
  • windowIcon : QIcon

Publiczne funkcje

  • QApplication ( int & argc, char ** argv )
  • QApplication ( int & argc, char ** argv, bool GUIenabled )
  • QApplication ( int & argc, char ** argv, Type type )
  • QApplication ( Display * display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 )
  • QApplication ( Display * display, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 )
  • virtual ~QApplication ()
  • virtual void commitData ( QSessionManager & manager )
  • QInputContext * inputContext () const
  • bool isSessionRestored () const
  • virtual bool macEventFilter ( EventHandlerCallRef caller, EventRef event )
  • virtual bool qwsEventFilter ( QWSEvent * event )
  • void qwsSetCustomColors ( QRgb * colorTable, int start, int numColors )
  • virtual void saveState ( QSessionManager & manager )
  • QString sessionId () const
  • QString sessionKey () const
  • void setInputContext ( QInputContext * inputContext )
  • QString styleSheet () const
  • virtual bool x11EventFilter ( XEvent * event )
  • int x11ProcessEvent ( XEvent * event )


  • 4 publiczne funkcje dziedziczą z QCoreApplication
  • 29 publicznych funkcji dziedziczy z QObject

Publiczne sloty

  • void aboutQt ()
  • int autoMaximizeThreshold () const
  • void closeAllWindows ()
  • void setAutoMaximizeThreshold ( const int threshold )
  • void setStyleSheet ( const QString & sheet )


Sygnały

  • void commitDataRequest ( QSessionManager & manager )
  • void focusChanged ( QWidget * old, QWidget * now )
  • void lastWindowClosed ()
  • void saveStateRequest ( QSessionManager & manager )


  • 1 sygnał dziedziczy z QCoreApplication
  • 1 sygnał dziedziczy z QObject

inne



Ten artykuł jest tylko zalążkiem.
Możesz pomóc poprzez rozszeszenie tego artykułu.

Tłumaczenie na podstawie oryginalnej dokumentacji ze strony http://doc.trolltech.com/4.4

Osobiste
Kategorie główne
Reklamy
Zaprzyjaźnione strony