KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Public Types | Public Slots | Public Member Functions | List of all members
MainWindow Class Reference

#include <mainwindow.h>

Inheritance diagram for MainWindow:
Inheritance graph
[legend]
Collaboration diagram for MainWindow:
Collaboration graph
[legend]

Public Types

enum  InputMode { PresetsInputMode }
 

Public Slots

void createNew ()
 
void setInputMode (MainWindow::InputMode mode)
 
void setStateMachine (KDSME::StateMachine *stateMachine)
 

Public Member Functions

 MainWindow (QWidget *parent=nullptr, Qt::WindowFlags f={})
 
 ~MainWindow ()
 
void loadPresets (const QString &presetsDir)
 
QString selectedFile () const
 When in PresetsInputMode, return the currently selected file name.
 

Detailed Description

Definition at line 37 of file mainwindow.h.

Member Enumeration Documentation

◆ InputMode

Enumerator
PresetsInputMode 

Definition at line 42 of file mainwindow.h.

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = {} 
)
explicit

Definition at line 53 of file mainwindow.cpp.

References setStateMachine().

◆ ~MainWindow()

MainWindow::~MainWindow ( )

Member Function Documentation

◆ createNew

void MainWindow::createNew ( )
slot

Definition at line 166 of file mainwindow.cpp.

References setStateMachine().

◆ loadPresets()

void MainWindow::loadPresets ( const QString &  presetsDir)

Definition at line 82 of file mainwindow.cpp.

Referenced by main().

◆ selectedFile()

QString MainWindow::selectedFile ( ) const

When in PresetsInputMode, return the currently selected file name.

Definition at line 172 of file mainwindow.cpp.

Referenced by setInputMode().

◆ setInputMode

void MainWindow::setInputMode ( MainWindow::InputMode  mode)
slot

Definition at line 159 of file mainwindow.cpp.

References PresetsInputMode, and selectedFile().

◆ setStateMachine

void MainWindow::setStateMachine ( KDSME::StateMachine stateMachine)
slot

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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8