CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
MainWindow Class Reference

#include <mainwindow.h>

Inheritance diagram for MainWindow:
Collaboration diagram for MainWindow:

Public Types

enum class  Styles { darkStyle , lightStyle }
 

Public Slots

void handleDock (QWidget *component)
 
void handleWidgetDeletion (QWidget *widget)
 
void handleWidgetShowing (QWidget *widget, bool docked)
 
bool createProjectConfig (const QString &name)
 
bool closeProjectConfig ()
 
void switchStyle ()
 
void setStyle (Styles style)
 

Public Member Functions

 MainWindow (QWidget *parent=nullptr)
 
 ~MainWindow ()
 

Member Enumeration Documentation

◆ Styles

enum class MainWindow::Styles
strong
Enumerator
darkStyle 
lightStyle 

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( QWidget *  parent = nullptr)
explicit

◆ ~MainWindow()

MainWindow::~MainWindow ( )

Member Function Documentation

◆ closeProjectConfig

bool MainWindow::closeProjectConfig ( )
slot

◆ createProjectConfig

bool MainWindow::createProjectConfig ( const QString &  name)
slot

◆ handleDock

void MainWindow::handleDock ( QWidget *  component)
slot

◆ handleWidgetDeletion

void MainWindow::handleWidgetDeletion ( QWidget *  widget)
slot

◆ handleWidgetShowing

void MainWindow::handleWidgetShowing ( QWidget *  widget,
bool  docked 
)
slot

◆ setStyle

void MainWindow::setStyle ( Styles  style)
slot

◆ switchStyle

void MainWindow::switchStyle ( )
slot

The documentation for this class was generated from the following files: