mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-16 07:09:58 +00:00
implement script feature to the widget
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
|
||||
|
||||
class CustomLabel;
|
||||
class ExtScript;
|
||||
class QGraphicsGridLayout;
|
||||
class QGraphicsScene;
|
||||
class QNetworkReply;
|
||||
@ -77,9 +78,7 @@ private slots:
|
||||
void reinit();
|
||||
void replyRecieved(QNetworkReply *reply);
|
||||
// configuration interface
|
||||
void addNewCustomCommand(QTableWidgetItem *item);
|
||||
void addNewPkgCommand(QTableWidgetItem *item);
|
||||
void contextMenuCustomCommand(const QPoint pos);
|
||||
void contextMenuPkgCommand(const QPoint pos);
|
||||
void editFanItem(QListWidgetItem *item);
|
||||
void editHddItem(QListWidgetItem *item);
|
||||
@ -101,6 +100,7 @@ private:
|
||||
void createActions();
|
||||
QStringList findKeys();
|
||||
QStringList getKeys();
|
||||
QList<ExtScript *> initScripts();
|
||||
// ui
|
||||
QGraphicsGridLayout *mainLayout = nullptr;
|
||||
CustomLabel *textLabel = nullptr;
|
||||
|
Reference in New Issue
Block a user