[DiscordArchive] <@!197724887387734016> also is your class a qobject ?
[DiscordArchive] <@!197724887387734016> also is your class a qobject ?
Archived author: Adspartan • Posted: 2019-06-05T15:10:49.284000+00:00
Original source
<@!197724887387734016> also is your class a qobject ?
Archived author: Skarn • Posted: 2019-06-05T15:10:59.302000+00:00
Original source
yeah
Archived author: Skarn • Posted: 2019-06-05T15:11:03.175000+00:00
Original source
subclassed from widget
Archived author: Adspartan • Posted: 2019-06-05T15:11:28.293000+00:00
Original source
```
struct tileset_chooser : public widget
{
Q_OBJECT
```
Archived author: Skarn • Posted: 2019-06-05T15:11:33.497000+00:00
Original source
https://hastebin.com/emilubarof.cpp
Archived author: Adspartan • Posted: 2019-06-05T15:11:34.928000+00:00
Original source
I'm talking about this ^
Archived author: Skarn • Posted: 2019-06-05T15:11:39.935000+00:00
Original source
yes
Archived author: Skarn • Posted: 2019-06-05T15:11:41.718000+00:00
Original source
same
Archived author: Adspartan • Posted: 2019-06-05T15:12:00.343000+00:00
Original source
you have to add it to the files to moc in the makefile
Archived author: Skarn • Posted: 2019-06-05T15:12:16.678000+00:00
Original source
```
// This file is part of Noggit3, licensed under GNU General Public License (version 3).
#pragma once
#include <noggit/ui/widget.hpp>
class QListWidget;
class QGridLayout;
namespace noggit
{
namespace ui
{
class texture_palette_small : public widget
{
Q_OBJECT
public:
texture_palette_small();
QListWidget* _texture_list;
void addTexture();
private:
QGridLayout* layout;
};
}
}
```