LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::CategorySelectorWindow Class Reference

A CategorySelector in a window of its own, kept within the screen. More...

#include "categoryselectorwindow.h"

Inheritance diagram for LC::Util::CategorySelectorWindow:
Collaboration diagram for LC::Util::CategorySelectorWindow:

Public Types

enum class  Buttons {
  Close ,
  AcceptReject
}

Public Member Functions

 CategorySelectorWindow (Buttons, QWidget *parent=nullptr)
CategorySelector & Selector ()

Protected Member Functions

void moveEvent (QMoveEvent *) override

Detailed Description

A CategorySelector in a window of its own, kept within the screen.

The variants differ only in the buttons: Buttons::Close dismisses the window, Buttons::AcceptReject gives OK and Cancel for exec(). The window is titled "Tags selector" until setWindowTitle() says otherwise.

Definition at line 24 of file categoryselectorwindow.h.

Member Enumeration Documentation

◆ Buttons

Enumerator
Close 
AcceptReject 

Definition at line 30 of file categoryselectorwindow.h.

Constructor & Destructor Documentation

◆ CategorySelectorWindow()

LC::Util::CategorySelectorWindow::CategorySelectorWindow ( Buttons buttons,
QWidget * parent = nullptr )
explicit

Definition at line 18 of file categoryselectorwindow.cpp.

References AcceptReject, and Close.

Member Function Documentation

◆ moveEvent()

void LC::Util::CategorySelectorWindow::moveEvent ( QMoveEvent * e)
overrideprotected

Definition at line 55 of file categoryselectorwindow.cpp.

◆ Selector()

CategorySelector & LC::Util::CategorySelectorWindow::Selector ( )

Definition at line 50 of file categoryselectorwindow.cpp.


The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19424.g027e980fd1-build/leechcraft-0.6.70-19424-g027e980fd1/src/util/tags/categoryselectorwindow.h
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19424.g027e980fd1-build/leechcraft-0.6.70-19424-g027e980fd1/src/util/tags/categoryselectorwindow.cpp