mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Fixed data base info retrieving through DBHelper, value(QString)
should never be used because it is really slow. All items sorting should be done at db level or using std::sort.
This commit is contained in:
28
custom_widgets/yacreader_social_dialog.h
Normal file
28
custom_widgets/yacreader_social_dialog.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef YACREADER_SOCIAL_DIALOG_H
|
||||
#define YACREADER_SOCIAL_DIALOG_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QPixmap;
|
||||
class QTextEdit;
|
||||
class ComicDB;
|
||||
|
||||
class YACReaderSocialDialog : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderSocialDialog(QWidget *parent = 0);
|
||||
QSize sizeHint() const;
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void setComic(ComicDB & comic,QString & basePath);
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *);
|
||||
|
||||
private:
|
||||
QPixmap cover;
|
||||
QTextEdit * plainText;
|
||||
};
|
||||
|
||||
#endif // YACREADER_SOCIAL_DIALOG_H
|
Reference in New Issue
Block a user