mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-22 02:22:44 -05:00
* feat: Add image support for Claude * feat: Add images support for OpenAI * feat: Add support images for google ai * refactor: Separate ImageComponent * feat: Add attach image button * feat: Add support image for Mistral provider * feat: Add support images for OpenAI compatible providers * feat: Add support images for Ollama
83 lines
1.9 KiB
CMake
83 lines
1.9 KiB
CMake
qt_add_library(QodeAssistChatView STATIC)
|
|
|
|
qt_policy(SET QTP0001 NEW)
|
|
qt_policy(SET QTP0004 NEW)
|
|
|
|
qt_add_qml_module(QodeAssistChatView
|
|
URI ChatView
|
|
VERSION 1.0
|
|
DEPENDENCIES
|
|
QtQuick
|
|
QML_FILES
|
|
qml/RootItem.qml
|
|
|
|
qml/chatparts/CodeBlock.qml
|
|
qml/chatparts/FileEditBlock.qml
|
|
qml/chatparts/TextBlock.qml
|
|
qml/chatparts/ThinkingBlock.qml
|
|
qml/chatparts/ToolBlock.qml
|
|
qml/chatparts/ChatItem.qml
|
|
|
|
qml/controls/AttachedFilesPlace.qml
|
|
qml/controls/BottomBar.qml
|
|
qml/controls/FileEditsActionBar.qml
|
|
qml/controls/RulesViewer.qml
|
|
qml/controls/Toast.qml
|
|
qml/controls/TopBar.qml
|
|
|
|
RESOURCES
|
|
icons/attach-file-light.svg
|
|
icons/attach-file-dark.svg
|
|
icons/close-dark.svg
|
|
icons/close-light.svg
|
|
icons/link-file-light.svg
|
|
icons/link-file-dark.svg
|
|
icons/image-dark.svg
|
|
icons/load-chat-dark.svg
|
|
icons/save-chat-dark.svg
|
|
icons/clean-icon-dark.svg
|
|
icons/file-in-system.svg
|
|
icons/window-lock.svg
|
|
icons/window-unlock.svg
|
|
icons/chat-icon.svg
|
|
icons/chat-pause-icon.svg
|
|
icons/rules-icon.svg
|
|
icons/open-in-editor.svg
|
|
icons/apply-changes-button.svg
|
|
icons/undo-changes-button.svg
|
|
icons/reject-changes-button.svg
|
|
icons/thinking-icon-on.svg
|
|
icons/thinking-icon-off.svg
|
|
|
|
SOURCES
|
|
ChatWidget.hpp ChatWidget.cpp
|
|
ChatModel.hpp ChatModel.cpp
|
|
ChatRootView.hpp ChatRootView.cpp
|
|
ClientInterface.hpp ClientInterface.cpp
|
|
MessagePart.hpp
|
|
ChatUtils.h ChatUtils.cpp
|
|
ChatSerializer.hpp ChatSerializer.cpp
|
|
ChatView.hpp ChatView.cpp
|
|
ChatData.hpp
|
|
FileItem.hpp FileItem.cpp
|
|
)
|
|
|
|
target_link_libraries(QodeAssistChatView
|
|
PUBLIC
|
|
Qt::Widgets
|
|
Qt::Quick
|
|
Qt::QuickWidgets
|
|
Qt::Network
|
|
QtCreator::Core
|
|
QtCreator::Utils
|
|
LLMCore
|
|
QodeAssistSettings
|
|
Context
|
|
QodeAssistUIControlsplugin
|
|
QodeAssistLogger
|
|
)
|
|
|
|
target_include_directories(QodeAssistChatView
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|