Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Latest commit

 

History

History
234 lines (209 loc) · 7.34 KB

ROADMAP.org

File metadata and controls

234 lines (209 loc) · 7.34 KB

Functions from Qt and QtWebEngine

This is a list of Qt functions to be wrapped inside C functions for binding with Common Lisp FFI.

  • Headings are names of Qt classes that need to be wrapped or have already been wrapped inside C functions.

Those Qt functions that are marked as done ([X]) already have some implementation. The name(s) of function(s) implementing these is in the sub-list. A heading is marked as “DONE” if all of its functions are marked as done. Otherwise, it is marked as “TODO.”

  • The heading “Undefined functions for Nyxt” contains Common Lisp FFI methods for Nyxt Browser that need to rely on Qt wrappers but cannot be mapped to Qt classes at the moment.
  • FFI methods that have a question mark after them are the ones that have no obvious way to be implemented.

QApplication

  • [X] QApplication::QApplication()
    • newQApplication()
  • [X] QApplication::quit()
    • applicationQuit()
  • [X] QApplication::exec()
    • applicationExec()

QWidget

  • [X] delete QWidget
    • widgetDelete()
  • [ ] QWidget::destroy()
  • [X] QWidget::showFullScreen()
    • widgetShowFullScreen()
  • [X] QWidget::showNormal()
    • widgetShowNormal()
  • [X] QWidget::resize()
    • widgetResize()
  • [X] QWidget::QWidget()
    • newQWidget()
  • [X] QWidget::setLayout()
    • widgetSetLayout()
  • [X] QWidget::show()
    • widgetShow()
  • [ ] QWidget::keyPressEvent()
  • [ ] QWidget::keyReleaseEvent()
  • [ ] QWidget::MouseMoveEvent()
  • [ ] QWidget::MousePressEvent()
  • [ ] QWidget::MouseDoubleClickEvent()
  • [ ] QWidget::WheelEvent()
  • [ ] QWidget::inputMethodEvent()
  • [ ] QWidget::contextMenuEvent()
  • [X] QWidget::setWindowTitle()
    • widgetSetWindowTitle()
  • [ ] QWidget::height()
  • [X] QWidget::isActiveWindow()
    • widgetIsActiveWindow()
  • [X] QWidget::isActiveWindow()
    • widgetIsActiveWindow()
  • [X] QWidget::show(), QWindow::raise()
    • widgetPresent()
  • [X] QWidget::setParent(), QWindow::raise()
    • widgetSetParent()
  • [X] QWidget::setFixedHeight()
    • widgetSetFixedHeight()
  • [X] QWidget::setFixedSize()
    • widgetSetFixedSize()

QWindow

  • [X] QWindow::QWindow()
    • newQWindow()
  • [X] QWindow::show()
    • windowShow()
  • [X] QWindow::show(), QWindow::raise()
    • windowPresent()
  • [X] QWindow::setTitle()
    • windowSetTitle()
  • [X] QWindow::title()
    • windowTitle()
  • [X] QWindow::isActive()
    • windowIsActive()

QVBoxLayout

  • [X] QVBoxLayout::QVBoxLayout()
    • newQVBoxLayout()

QHBoxLayout

  • [X] QHBoxLayout::QHBoxLayout()
    • newQHBoxLayout()

QLayout

  • [X] QLayout::setWidget()
    • layoutAddWidget()
  • [X] QLayout::setContentMargins()
    • layoutSetContentsMargins()
  • [X] QLayout::setSpacing()
    • layoutSetSpacing()
  • [ ] QLayout::removeWidget()

QPushButton

  • [X] QPushButton::QPushButton()
    • newQPushButton()

QWebEngineView

  • [X] QWebEngineView::QWebEngineView()
    • newQWebEngineView()
  • [ ] QtWebEngineView::title()
  • [X] QtWebEngineView::url()
    • webEngineViewUrl()
  • [X] QWebEngineView::setUrl()
    • webEngineViewLoad()
  • [X] QWebEngineView::QWebEngineView()
    • newQWebEngineView()
  • [X] QWebEngineView::loadStarted()
    • newLoadStartedListener()
    • loadStartedListenerConnect()
    • LoadStartedListener::loadStarted()
  • [X] QWebEngineView::loadFinished()
    • newLoadFinishedListener()
    • loadFinishedListenerConnect()
    • LoadFinishedListener::loadFinished()
  • [X] QWebEngineView::page()
    • newQWebEngineViewPage()

QWebEnginePage

  • [X] QWebEnginePage::livecycleState()
    • webEnginePageLivecycleState()
  • [X] QWebEnginePage::setLivecycleState()
    • webEnginePageSetLivecycleState()
  • [X] enum QWebEnginePage::LivecycleState
  • [X] QWebEnginePage::runJavaScript()
    • webEnginePageRunJavaScript()
  • [X] QWebEnginePage::setHtml()
    • webEnginePageSetHtml()
  • [X] enum QWebEnginePage::WebAction
  • [X] QWebEnginePage::action()
    • webEnginePageAction()
  • [X] QWebEnginePage::triggerAction()
    • webEnginePageTriggerAction()
  • [ ] enum QWebEnginePage::NavigationType
  • [ ] QWebEnginePage::acceptNavigationRequest()
  • [ ] QWebEnginePage::titleChanged()
  • [ ] QWebEnginePage::urlChanged()
  • [X] QWebEnginePage::setUrlRequestInterceptor()
    • webEnginePageSetUrlRequestInterceptor()
  • [ ] QWebEnginePage::certificateError()
  • [X] QWebEnginePage::history()
    • webEnginePageHistory()
  • [X] QWebEnginePage::runJavaScript(const QString &scriptSource, quint32 worldid, const QWebEngineCallback<const QVariant &> &resultCallback)
    • webEnginePageRunJavaScript()
  • [X] QWebEnginePage::url()
    • webEnginePageUrl()
  • [x] QWebEngineView::isAudioMuted()
    • webEnginePageIsAudioMuted()
  • [X] QWebEngineView::setAudioMuted()
    • webEnginePageSetAudioMuted()

QWebEnginePageFullScreenRequest

  • [ ] QWebEnginePageFullScreenRequest::accept()
  • [ ] QWebEnginePageFullScreenRequest::origin()
  • [ ] QWebEnginePageFullScreenRequest::reject()
  • [ ] QWebEnginePageFullScreenRequest::toggleOn()

QWebEngineContextMenuData

  • [ ] enum QWebEngineContextMenuData::EditFlags
  • [ ] QWebEngineContextMenuData::editFlags()
  • [ ] enum QWebEngineContextMenuData::MediaFlags
  • [ ] QWebEngineContextMenuData::mediaFlags()
  • [ ] enum QWebEngineContextMenuData::MediaType
  • [ ] QWebEngineContextMenuData::mediaType()
  • [ ] QWebEngineContextMenuData::misspelledWord()
  • [ ] QWebEngineContextMenuData::spellCheckerSuggestions()

QWebEngineProfile

  • [ ] QWebEngineProfile::setUrlRequestInterceptor
  • [ ] QWebEngineProfile::setHttpUserAgent()
  • [ ] QWebEngineProfile::setHttpAcceptLanguage()

QWebengnineUrlRequestInterceptor

  • [ ] QWebEngineUrlRequestInterceptor::QWebEngineUrlRequestInterceptor()
  • [ ] QWebEngineUrlRequestInterceptor::interceptRequest()

QWebEngineUrlRequestInfo

  • [ ] enum QWebEngineUrlRequestInfo::NavigationType
  • [ ] enum QWebEngineUrlRequestInfo::ResourceType
  • [ ] QWebEngineUrlRequestInfo::block()
  • [ ] QWebEngineUrlRequestInfo::firstPartyUrl()
  • [ ] QWebEngineUrlRequestInfo::initiator()
  • [ ] QWebEngineUrlRequestInfo::navigationType()
  • [ ] QWebEngineUrlRequestInfo::redirect()
  • [ ] QWebEngineUrlRequestInfo::requestMethod()
  • [ ] QWebEngineUrlRequestInfo::requestUrl()
  • [ ] QWebEngineUrlRequestInfo::resourceType()
  • [ ] QWebEngineUrlRequestInfo::setHttpHeader()

QWebEngineCertificateError

  • [ ] enum QWebEngineCertificateError::Error
  • [ ] QWebEngineCertificateError::url()
  • [ ] QWebEngineCertificateError::error()
  • [ ] QWebEngineCertificateError::errorDescription()
  • [ ] QWebEngineCertificateError::isOverridable()
  • [ ] QWebEngineCertificateError::ignoreCertificateError()
  • [ ] QWebEngineCertificateError::rejectCertificate()

QWebengineHistory

  • [ ] QWebEngineHistory::count()
  • [ ] QWebEngineHistory::currentItem()
  • [ ] QWebEngineHistory::currentItemIndex()
  • [ ] QWebEngineHistory::itemAt()
  • [ ] QWebEngineHistory::goToItem()

QWebEngineHistoryItem

  • [ ] QWebEngineHistoryItem::originalUrl()
  • [ ] QWebEngineHistoryItem::url()
  • [ ] QWebEngineHistoryItem::title()
  • [ ] QWebEngineHistoryItem::lastVisited()
  • [ ] QWebEngineHistoryItem::iconUrl()

QWebEngineSettings

  • [ ] QWebEngineSettings::setAttribute()
  • [ ] QWebEngineSettings::resetAttribute()
  • [ ] enum QWebEngineSettings::WebAttribute
  • [ ] QWebEngineSettings::testAttribute()

QWebEngineCookieStore

  • [ ] QWebEngineCookieStore::setCookieFilter()

Undefined functions for Nyxt

ffi-generate-input-event - ?

ffi-generated-input-event-p - ?

ffi-display-uri - ?

ffi-buffer-enable-javascript-markup - ?

ffi-buffer-set-proxy - ?

ffi-buffer-get-proxy - ?