mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
fix: per-group sentinel docks, editor inline-edit comment alignment
Sentinel dock refactored to per-tab-group model — each split group gets its own hidden sentinel so tab bars stay visible without the Hide event filter hack. Editor inline-edit comment column now anchors correctly for base-address edits and shows expression hint instead of generic text.
This commit is contained in:
@@ -120,10 +120,9 @@ private:
|
||||
QMap<QDockWidget*, TabState> m_tabs;
|
||||
QVector<QDockWidget*> m_docDocks; // ordered list for tabByIndex
|
||||
QDockWidget* m_activeDocDock = nullptr; // tracks active document dock
|
||||
QDockWidget* m_sentinelDock = nullptr; // hidden dock to bootstrap tab bar creation
|
||||
QVector<QDockWidget*> m_sentinelDocks; // permanent sentinels for always-visible tab bars
|
||||
QVector<RcxDocument*> m_allDocs; // all open docs, shared with controllers
|
||||
bool m_closingAll = false; // guards spurious project_new during batch close
|
||||
bool m_tabBarShowGuard = false; // prevents recursion in event filter re-show
|
||||
struct ClosingGuard {
|
||||
bool& flag;
|
||||
ClosingGuard(bool& f) : flag(f) { flag = true; }
|
||||
@@ -144,6 +143,7 @@ private:
|
||||
TabState* activeTab();
|
||||
TabState* tabByIndex(int index);
|
||||
int tabCount() const { return m_tabs.size(); }
|
||||
QDockWidget* createSentinelDock();
|
||||
QDockWidget* createTab(RcxDocument* doc);
|
||||
QString tabTitle(const TabState& tab) const;
|
||||
void setupDockTabBars();
|
||||
|
||||
Reference in New Issue
Block a user