LogDoctor/docs/html/classMainWindow.html

23 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
Loading...
Searching...
No Matches

MainWindow. More...

#include <mainwindow.h>

Inheritance diagram for MainWindow:

Private Slots

void menu_actionEnglishGb_triggered ()
 

Private Member Functions

void defineOSspec ()
 Defines OS specific stuff.
 
void readConfigs ()
 Reads the configurations file and apply the resulting configuration.
 
void writeConfigs ()
 Writes the current configuration on file.
 
const std::string list2string (const std::vector< std::string > &list, const bool user_agent=false) const
 Converts a list of items to a string. More...
 
const std::vector< std::string > string2list (const std::string &string, const bool user_agent=false) const
 Retrieves a list of items from the given string. More...
 
void updateUiLanguage ()
 Translates the UI to the selected language.
 
const std::string geometryToString () const
 Converts the window's geometry to string. More...
 
void setGeometryFromString (const std::string &geometry)
 Retrieves the window geometry from the given string. More...
 
void detectIconsTheme ()
 Auto-detects the icon-set to use depending on the current window theme.
 
void updateUiIcons ()
 Updates the icons on the window.
 
void updateUiTheme ()
 Updates the window theme.
 
void updateUiFonts ()
 Updates the fonts on the window.
 
const std::string resolvePath (const std::string &path) const
 Resolves the given path and returns the canonical path.
 
const std::string parentPath (const std::string &path) const
 Returns the parent folder of the given path.
 
void makeInitialChecks ()
 Makes the initial integrity checks.
 
const bool checkDataDB ()
 Checks the integrity of the logs data collection database.
 
void backupDatabase () const
 Backs-up the logs data collection database.
 
void setDbWorkingState (const bool working)
 Called when a member begins/ends performing operations on the database.
 
void refreshStatsDates ()
 Queries the available dates from the db and apply to the tabs. More...
 

Detailed Description

MainWindow.

The parent window

Member Function Documentation

◆ geometryToString()

const std::string MainWindow::geometryToString ( ) const
private

Converts the window's geometry to string.

See also
writeConfigs()

◆ list2string()

const std::string MainWindow::list2string ( const std::vector< std::string > &  list,
const bool  user_agent = false 
) const
private

Converts a list of items to a string.

Parameters
listThe list to stringify
user_agentsWhether to apply the special rule to parse user-agents lists or not
Returns
The resulting string
See also
writeConfigs()

◆ menu_actionEnglishGb_triggered

void MainWindow::menu_actionEnglishGb_triggered ( )
privateslot

MENU //// //////////

◆ refreshStatsDates()

void MainWindow::refreshStatsDates ( )
private

Queries the available dates from the db and apply to the tabs.

See also
Crapview::refreshDates()

◆ setGeometryFromString()

void MainWindow::setGeometryFromString ( const std::string &  geometry)
private

Retrieves the window geometry from the given string.

See also
readConfigs()

◆ string2list()

const std::vector< std::string > MainWindow::string2list ( const std::string &  string,
const bool  user_agent = false 
) const
private

Retrieves a list of items from the given string.

Parameters
listThe list to stringify
user_agentsWhether to apply the special rule to parse user-agents lists or not
Returns
The resulting list
See also
readConfigs()

The documentation for this class was generated from the following files:
  • logdoctor/mainwindow.h
  • logdoctor/mainwindow.cpp

Generated by doxygen 1.9.5 </html>