GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Source code highlights

Source code highlights

Jump to bottom Edit New page
Iulian Onofrei edited this page Oct 12, 2016 · 1 revision

This page is intended for high-level source code parts explanations.

Project files saving/loading

All project related code is defined in MainWindow.

There is a data structure called BrowseDataTableSettings defined in the header file, which is used to store all sort of things. We have a map named browseTableSettings defined in the header file too, which maps one table to one of these structs; so there is an instance of this struct for each table.

This map is just stored as-is in the project files. The loading code takes place in the loadProject method and the saving code takes place in the saveProject method, and we use the operator<< and operator>> for these. These operators are overloaded in the header file as friend functions. So in short, as long as the information is stored in the browseTableSettings map, all you need to do update are the operator<< and operator>> functions and it will also be written to the project files.

Website | Twitter @sqlitebrowser | DBHub.io

Home

Getting Started

  • Licensing
  • CHANGELOG

For Users

  • Encrypted Databases
  • Keyboard shortcuts
  • Browse Data
  • Filters
  • Regular Expressions
  • Display Formats
  • Encodings
  • Conditional Formats
  • Plot Dock
  • Views
  • Project Files
  • Command Line Interface
  • Transactions
  • Tutorials
  • Video tutorials
  • Windows Users
    • Debugging a crash
    • File Associations
    • Silent Installation
    • SpatiaLite
  • macOS Users
    • macOS warn 'DB4S' is malicious software?

For Developers

  • Release process
  • Source code highlights
  • Merging Commits
  • Translations
  • Building on
    • Windows
      • Compiling SQLCipher
      • Notes
    • macOS
    • OpenSuSE
    • Ubuntu with
      • Qt Creator
      • The pre-installed version of SQLite
  • Nightly Builds
  • Nightly build script for
    • macOS
    • Ubuntu
    • Windows
  • GitHub Actions
    • Set up Self-Hosted Runner
      • macOS
      • Windows

For Translate Contributors

  • Translation Contributor List

Clone this wiki locally

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.