src/gui/kernel/qwidget_p.h
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   231 #endif
   231 #endif
   232 #elif defined(Q_OS_SYMBIAN) // <----------------------------------------------------- Symbian
   232 #elif defined(Q_OS_SYMBIAN) // <----------------------------------------------------- Symbian
   233     uint activated : 1; // RWindowBase::Activated has been called
   233     uint activated : 1; // RWindowBase::Activated has been called
   234 
   234 
   235     /**
   235     /**
       
   236      * If this bit is set, each native widget receives the signals from the
       
   237      * Symbian control immediately before and immediately after draw ops are
       
   238      * sent to the window server for this control:
       
   239      *      void beginNativePaintEvent(const QRect &paintRect);
       
   240      *      void endNativePaintEvent(const QRect &paintRect);
       
   241      */
       
   242     uint receiveNativePaintEvents : 1;
       
   243 
       
   244     /**
   236      * Defines the behaviour of QSymbianControl::Draw.
   245      * Defines the behaviour of QSymbianControl::Draw.
   237      */
   246      */
   238     enum NativePaintMode {
   247     enum NativePaintMode {
   239         /**
   248         /**
   240          * Normal drawing mode: blits the required region of the backing store
   249          * Normal drawing mode: blits the required region of the backing store
   255         ZeroFill,
   264         ZeroFill,
   256 
   265 
   257         Default = Blit
   266         Default = Blit
   258     };
   267     };
   259 
   268 
   260     NativePaintMode nativePaintMode : 2;
   269     NativePaintMode nativePaintMode;
   261 
       
   262     /**
       
   263      * If this bit is set, each native widget receives the signals from the
       
   264      * Symbian control immediately before and immediately after draw ops are
       
   265      * sent to the window server for this control:
       
   266      *      void beginNativePaintEvent(const QRect &paintRect);
       
   267      *      void endNativePaintEvent(const QRect &paintRect);
       
   268      */
       
   269     uint receiveNativePaintEvents : 1;
       
   270 
   270 
   271 #endif
   271 #endif
   272 };
   272 };
   273 
   273 
   274 /*!
   274 /*!
   470     QRect frameStrut() const;
   470     QRect frameStrut() const;
   471 
   471 
   472 #ifdef QT_KEYPAD_NAVIGATION
   472 #ifdef QT_KEYPAD_NAVIGATION
   473     static bool navigateToDirection(Direction direction);
   473     static bool navigateToDirection(Direction direction);
   474     static QWidget *widgetInNavigationDirection(Direction direction);
   474     static QWidget *widgetInNavigationDirection(Direction direction);
       
   475     static bool canKeypadNavigate(Qt::Orientation orientation);
       
   476     static bool inTabWidget(QWidget *widget);
   475 #endif
   477 #endif
   476 
   478 
   477     void setWindowIconText_sys(const QString &cap);
   479     void setWindowIconText_sys(const QString &cap);
   478     void setWindowIconText_helper(const QString &cap);
   480     void setWindowIconText_helper(const QString &cap);
   479     void setWindowTitle_sys(const QString &cap);
   481     void setWindowTitle_sys(const QString &cap);