mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 11:03:54 -07:00
Redesigning deck editor to work with docks
Moved setting files & Added code for a future portable build
This commit is contained in:
parent
ba90d84a13
commit
e9e75961f4
11 changed files with 485 additions and 123 deletions
|
|
@ -8,6 +8,7 @@ class CardInfo;
|
|||
class CardInfoPicture;
|
||||
class CardInfoText;
|
||||
class QVBoxLayout;
|
||||
class QSplitter;
|
||||
|
||||
class CardFrame : public QTabWidget {
|
||||
Q_OBJECT
|
||||
|
|
@ -19,11 +20,11 @@ private:
|
|||
bool cardTextOnly;
|
||||
QWidget *tab1, *tab2, *tab3;
|
||||
QVBoxLayout *tab1Layout, *tab2Layout, *tab3Layout;
|
||||
|
||||
QSplitter *splitter;
|
||||
public:
|
||||
enum ViewMode { ImageOnlyView, TextOnlyView, ImageAndTextView };
|
||||
|
||||
CardFrame(int width, int height, const QString &cardName = QString(),
|
||||
CardFrame(const QString &cardName = QString(),
|
||||
QWidget *parent = 0);
|
||||
void retranslateUi();
|
||||
public slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue