

Public Slots | |
| void | dockPlaylist (bool b_docked=true) |
| void | toggleMinimalView (bool) |
| void | togglePlaylist () |
| void | toggleUpdateSystrayMenu () |
| Updates the Systray Icon's menu and toggle the main interface. | |
| void | toggleAdvancedButtons () |
| void | toggleFullScreen () |
| void | toggleFSC () |
| void | popupMenu (const QPoint &) |
| void | changeThumbbarButtons (int) |
| void | getVideoSlot (WId *p_id, int *pi_x, int *pi_y, unsigned *pi_width, unsigned *pi_height) |
| void | releaseVideoSlot (void) |
Signals | |
| void | askGetVideo (WId *p_id, int *pi_x, int *pi_y, unsigned *pi_width, unsigned *pi_height) |
| void | askReleaseVideo () |
| void | askVideoToResize (unsigned int, unsigned int) |
| void | askVideoSetFullScreen (bool) |
| void | minimalViewToggled (bool) |
| void | fullscreenInterfaceToggled (bool) |
Public Member Functions | |
| MainInterface (intf_thread_t *) | |
| virtual | ~MainInterface () |
| WId | getVideo (int *pi_x, int *pi_y, unsigned int *pi_width, unsigned int *pi_height) |
| NOTE: You must not change the state of this object or other Qt4 UI objects, from the video output thread - only from the Qt4 UI main loop thread. | |
| void | releaseVideo (void) |
| int | controlVideo (int i_query, va_list args) |
| QSystemTrayIcon * | getSysTray () |
| QMenu * | getSysTrayMenu () |
| int | getControlsVisibilityStatus () |
| bool | isPlDocked () |
Protected Member Functions | |
| void | dropEventPlay (QDropEvent *, bool) |
| virtual void | dropEvent (QDropEvent *) |
| virtual void | dragEnterEvent (QDragEnterEvent *) |
| virtual void | dragMoveEvent (QDragMoveEvent *) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *) |
| virtual void | closeEvent (QCloseEvent *) |
| virtual void | customEvent (QEvent *) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | wheelEvent (QWheelEvent *) |
Friends | |
| class | PlaylistWidget |
| MainInterface::MainInterface | ( | intf_thread_t * | _p_intf | ) |
Configuration and settings Pre-building of interface
Connects on nameChanged() Those connects are different because options can impeach them to trigger.
CONNECTS on PLAY_STATUS
END of CONNECTS
References __MAX, askGetVideo(), askReleaseVideo(), askVideoSetFullScreen(), askVideoToResize(), FirstRun::CheckAndRun(), CONNECT, QVLCMenu::createMenuBar(), MainInputManager::getInstance(), getSettings, getVideoSlot(), IntfShowCB(), QVLCMW::p_intf, intf_thread_t::p_libvlc, PopupMenuCB(), releaseVideoSlot(), QVLCTools::restoreWidgetPosition(), THEDP, THEMIM, toggleMinimalView(), togglePlaylist(), var_AddCallback, var_InheritBool, var_InheritFloat, and var_InheritInteger.
| MainInterface::~MainInterface | ( | ) | [virtual] |
References CONTROLS_ADVANCED, CoUninitialize(), getControlsVisibilityStatus(), IntfShowCB(), isPlDocked(), ExtensionsManager::killInstance(), ActionsManager::killInstance(), QVLCMW::p_intf, intf_thread_t::p_libvlc, intf_sys_t::p_mi, intf_thread_t::p_sys, PopupMenuCB(), QVLCTools::saveWidgetPosition(), and var_DelCallback.
| WId MainInterface::getVideo | ( | int * | pi_x, | |
| int * | pi_y, | |||
| unsigned int * | pi_width, | |||
| unsigned int * | pi_height | |||
| ) |
NOTE: You must not change the state of this object or other Qt4 UI objects, from the video output thread - only from the Qt4 UI main loop thread.
All window provider queries must be handled through signals or events. That's why we have all those emit statements...
References askGetVideo().
Referenced by WindowOpen().
| void MainInterface::releaseVideo | ( | void | ) |
| int MainInterface::controlVideo | ( | int | i_query, | |
| va_list | args | |||
| ) |
References askVideoSetFullScreen(), askVideoToResize(), i_height, msg_Warn, QVLCMW::p_intf, VLC_EGENERIC, VLC_SUCCESS, VOUT_WINDOW_SET_FULLSCREEN, VOUT_WINDOW_SET_SIZE, VOUT_WINDOW_SET_STATE, and VOUT_WINDOW_STATE_ABOVE.
Referenced by WindowControl().
| QSystemTrayIcon* MainInterface::getSysTray | ( | ) | [inline] |
Referenced by QVLCMenu::updateSystrayMenu().
| QMenu* MainInterface::getSysTrayMenu | ( | ) | [inline] |
Referenced by QVLCMenu::updateSystrayMenu().
| int MainInterface::getControlsVisibilityStatus | ( | ) |
References ControlsWidget::b_advancedVisible, CONTROLS_ADVANCED, CONTROLS_HIDDEN, and CONTROLS_VISIBLE.
Referenced by ~MainInterface().
| bool MainInterface::isPlDocked | ( | ) | [inline] |
Referenced by ~MainInterface().
| void MainInterface::dropEventPlay | ( | QDropEvent * | event, | |
| bool | b_play | |||
| ) | [protected] |
References RecentsMRL::addRecent(), RecentsMRL::getInstance(), input_AddSubtitle(), make_URI(), QVLCMW::p_intf, pl_Unlocked, playlist_Add(), PLAYLIST_APPEND, PLAYLIST_END, PLAYLIST_GO, PLAYLIST_PREPARSE, qtu, THEMIM, THEPL, and toNativeSeparators.
Referenced by dropEvent(), and PlaylistWidget::dropEvent().
| void MainInterface::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
References dropEventPlay().
| void MainInterface::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected, virtual] |
| void MainInterface::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
| void MainInterface::dragLeaveEvent | ( | QDragLeaveEvent * | event | ) | [protected, virtual] |
| void MainInterface::closeEvent | ( | QCloseEvent * | e | ) | [protected, virtual] |
References THEDP.
| void MainInterface::customEvent | ( | QEvent * | event | ) | [protected, virtual] |
References SetVideoOnTopQtEvent::OnTop(), and SetVideoOnTopEvent_Type.
| void MainInterface::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
| void MainInterface::wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
References i_vlckey, QVLCMW::p_intf, intf_thread_t::p_libvlc, qtWheelEventToVLCKey(), and var_SetInteger.
| void MainInterface::dockPlaylist | ( | bool | b_docked = true |
) | [slot] |
References QVLCMW::p_intf, QVLCTools::restoreWidgetPosition(), and QVLCTools::saveWidgetPosition().
| void MainInterface::toggleMinimalView | ( | bool | b_switch | ) | [slot] |
| void MainInterface::togglePlaylist | ( | ) | [slot] |
Referenced by MainInterface(), and ActionsManager::playlist().
| void MainInterface::toggleUpdateSystrayMenu | ( | ) | [slot] |
Updates the Systray Icon's menu and toggle the main interface.
References QVLCMW::p_intf, and QVLCMenu::updateSystrayMenu().
| void MainInterface::toggleAdvancedButtons | ( | ) | [slot] |
References ControlsWidget::toggleAdvanced().
| void MainInterface::toggleFullScreen | ( | ) | [slot] |
References fullscreenInterfaceToggled().
| void MainInterface::toggleFSC | ( | ) | [slot] |
| void MainInterface::popupMenu | ( | const QPoint & | p | ) | [slot] |
References QVLCMW::p_intf, and QVLCMenu::PopupMenu().
| void MainInterface::changeThumbbarButtons | ( | int | i_status | ) | [slot] |
| void MainInterface::getVideoSlot | ( | WId * | p_id, | |
| int * | pi_x, | |||
| int * | pi_y, | |||
| unsigned * | pi_width, | |||
| unsigned * | pi_height | |||
| ) | [slot] |
| void MainInterface::releaseVideoSlot | ( | void | ) | [slot] |
| void MainInterface::askGetVideo | ( | WId * | p_id, | |
| int * | pi_x, | |||
| int * | pi_y, | |||
| unsigned * | pi_width, | |||
| unsigned * | pi_height | |||
| ) | [signal] |
Referenced by getVideo(), and MainInterface().
| void MainInterface::askReleaseVideo | ( | ) | [signal] |
Referenced by MainInterface(), and releaseVideo().
| void MainInterface::askVideoToResize | ( | unsigned | int, | |
| unsigned | int | |||
| ) | [signal] |
Referenced by controlVideo(), and MainInterface().
| void MainInterface::askVideoSetFullScreen | ( | bool | ) | [signal] |
Referenced by controlVideo(), and MainInterface().
| void MainInterface::minimalViewToggled | ( | bool | ) | [signal] |
Referenced by toggleMinimalView().
| void MainInterface::fullscreenInterfaceToggled | ( | bool | ) | [signal] |
Referenced by toggleFullScreen().
friend class PlaylistWidget [friend] |
1.5.6