Skip to content

Commit

Permalink
[widgets] add: CreatureInventoryPanel and associated views
Browse files Browse the repository at this point in the history
  • Loading branch information
jd28 committed Nov 4, 2024
1 parent 83fb2b0 commit 7f21128
Show file tree
Hide file tree
Showing 16 changed files with 1,146 additions and 635 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ class selection to 8 classes as NWN:EE allows.

Feat selection with handy fuzzy searching.

![stats](screenshots/creature-view-feats.png)
![feats](screenshots/creature-view-feats.png)

### Creature View - Inventory

![inventory](screenshots/creature-inventory-view-2024-11-04.png)

### Dialog View

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/widgets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ add_library(arclight-widgets STATIC
TlkSelector/tlkselector.ui

util/restypeicons.cpp
util/items.cpp

checkboxdelegate.h
checkboxdelegate.cpp
arealistview.h
Expand Down
30 changes: 18 additions & 12 deletions src/widgets/CreatureView/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,32 @@ find_package(Qt6 REQUIRED COMPONENTS Widgets)
find_package(Qt6 REQUIRED COMPONENTS OpenGL OpenGLWidgets)

add_library(CreatureView STATIC
creatureappearanceview.cpp
creatureappearanceview.h
creatureappearanceview.ui
creatureequipview.cpp
creatureequipview.h
creatureequipview.ui
creaturefeatselector.cpp
creaturefeatselector.h
creaturefeatselector.ui
creaturefeatselectormodel.h
creaturefeatselectormodel.cpp
creaturefeatselectormodel.h
creaturefeatselectormodel.h
creatureinventorypanel.cpp
creatureinventorypanel.h
creatureinventorypanel.ui
creatureinventoryview.cpp
creatureinventoryview.h
creatureinventoryview.ui
creaturestatsview.cpp
creaturestatsview.h
creaturestatsview.ui
creatureview.cpp
creatureview.h
creatureview.ui
creaturestatsview.h
creaturestatsview.cpp
creaturestatsview.ui
creatureappearanceview.h
creatureappearanceview.cpp
creatureappearanceview.ui
creatureequipview.h
creatureequipview.cpp
creatureequipview.ui
inventoryslot.h
inventoryslot.cpp
inventoryslot.h

resources.qrc
)
Expand Down Expand Up @@ -49,6 +55,6 @@ target_link_libraries(CreatureView PRIVATE
Qt6::OpenGL
Qt6::OpenGLWidgets
nw
renderer
renderer
VariableTableView
)
19 changes: 19 additions & 0 deletions src/widgets/CreatureView/CreatureInventoryView.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
</widget>
<resources/>
<connections/>
</ui>
Loading

0 comments on commit 7f21128

Please sign in to comment.