Elaztek Developer Hub
Blamite Game Engine - Keystone  00313.05.23.21.2038.blamite
A library that enables the use of Qt in Blamite's editing tools.
explorer_bar.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QDockWidget>
4 #include <Strings/components/settings/config/config.h>
5 
6 #include "ui_explorer_bar.h"
7 
8 class guerilla_window;
9 
13 class explorer_bar : public QDockWidget
14 {
15  Q_OBJECT
16 
17 private:
18  Ui::explorer_bar ui;
19  BlamConfigurationFile* guerilla_config = nullptr;
20  guerilla_window* guerilla_main_window = nullptr;
21 
22 public:
28  explorer_bar(guerilla_window* main_window, BlamConfigurationFile* _guerilla_config, QWidget *parent = Q_NULLPTR);
29  ~explorer_bar();
30 
34  void RebuildTagTree();
35 
36 private slots:
37 
43  void explorerSortModeRadioChanged(bool checked);
44 
51  void explorerTagTreeItemActivated(QTreeWidgetItem* item, int column);
52 
58  void explorerTagTreeItemCollapsed(QTreeWidgetItem* item);
59 
65  void explorerTagTreeItemExpanded(QTreeWidgetItem* item);
66 };
explorer_bar::explorer_bar
explorer_bar(guerilla_window *main_window, BlamConfigurationFile *_guerilla_config, QWidget *parent=Q_NULLPTR)
Initializes the Explorer Bar.
Definition: explorer_bar.cpp:14
explorer_bar::~explorer_bar
~explorer_bar()
Definition: explorer_bar.cpp:42
explorer_bar
The Guerilla Explorer Bar.
Definition: explorer_bar.h:13
explorer_bar::RebuildTagTree
void RebuildTagTree()
Rebuilds the tag tree.
Definition: explorer_bar.cpp:47
guerilla_window
The main Guerilla window.
Definition: guerilla_window.h:20